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 ( ) ) ) ;