Advertisement
Guest User

Untitled

a guest
Feb 7th, 2016
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. for(int i = 0; i < max; i++){
  2. QObject::connect(button[i], &QPushButton::clicked, this, MainWindow::function);
  3. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement