title: How QT signals with parameters works
body: <p>can someone tell me how exactly signals with parameters work? I mean... if i have declared signal f.e.:</p>
  <pre><code>void sign1(int)
  </code></pre>
  <p>how should i specify what integer i want to send with that signal? Also, can i declare signal with multiple arguments? Like:</p>
  <pre><code>void sign2(int, int)
  </code></pre>
  <p>And again... i want to send with sign2 two out of four variables that i have. Is that possible, and how it should be done? To specify my question below is a little more detailed example:</p>
  <pre><code>class Board
  {
    signals: 
      void clicked(int, int);
    private:
      int x1{4}; int x2{4}; int x3{5}; int x4{8};
  }
  </code></pre>
  <p>and there is board.ui file with pushbutton. After pushbutton is clicked i want to send to the slot for example x1 and x3. Example:</p>
  <pre><code>connect(ui-&gt;button, SIGNAL(clicked(int, int)), obj2, slot2); 
  </code></pre>
  <p>I hope that it's somehow clear. I will really appreciate your help.</p>