title: Qt issue passing arguments to slot
body: <p>I can't seem to pass an argument to a slot.  If I don't pass an argument, the function rolls through fine.  If I pass an argument (integer), I get the errors "No such name type" and  "No such slot" when I compile.</p>
  
  <p>In my header, I declare:</p>
  
  <pre><code>private slots:
  void addButton(int);
  signals:
  void clicked(int)
  </code></pre>
  
  <p>in my Main.cpp, I do:</p>
  
  <pre><code>int count;
  int count = 0;
  QPushButton* button = new QPushButton("Button");
  _layout-&gt;addWidget(button);
  connect(button, SIGNAL(clicked(count), this, SLOT(addButton(count)));
  </code></pre>
  
  <p>....</p>
  
  <pre><code>void Main::addButton(int count) {
  
  //do stuff with count
  
  }
  </code></pre>