luffy27
4th November 2006, 06:34
i want to define bunch of connections. If i wrote like this, can it work?
for(int i = 0; i<10; i++)
connect( pb[i],SIGNAL(clicked ( ) ),this,SLOT ( pbpushed ( ) ) ) ;
for(int i = 0; i<10; i++)
connect( pb[i],SIGNAL(clicked ( ) ),this,SLOT ( pbpushed ( ) ) ) ;