title: Connect signals to slots with constant values
body: <p>To connect signals to slots, as far as I know, the parameters of the signal need to match the parameters of the slot.  So for example:</p>
  
  <pre><code>connect(dockWidget-&gt;titleBarWidget(), SIGNAL(closeButtonClicked()), ui-&gt;sideControls, SLOT(closeDockWidget()));
  </code></pre>
  
  <p>But what if I want to have a signal call a slot that has a different amount of parameters, but always pass a constant value into the slot.  For example, using the above piece of code:</p>
  
  <pre><code>connect(dockWidget-&gt;titleBarWidget(), SIGNAL(closeButtonClicked()), ui-&gt;sideControls, SLOT(setDockWidget(false)));
  </code></pre>
  
  <p>Or in other words, whenever the button is pressed, it calls the <code>setDockWidget()</code> function with the false parameter.  Is this possible?</p>