Qt-interest Archive, April 2008
RE: Connection Optimization
Message 1 in thread
Great, I optimazed it.
thanks> From: aep@xxxxxxxxxxxxxxx> To: qt-interest@xxxxxxxxxxxxx> Subject: Re: Connection Optimization> Date: Sun, 30 Mar 2008 12:25:46 +0200> > On Sunday 30 March 2008 12:11:13 David Rodríguez wrote:> > So I need to manage around 96 x 96 possible connections. So with my lack of> > knowledge about Qt development, that meant for me that I have to write 96 x> > 96 lines like:> > sounds like a job for QSignalMapper> > > connect(myObject_list->at(index_sender),SIGNAL(signal()),myObject_list->at(> >index_receiver),SLOT(slot())); }> >> > but this is not working, do you think i'm on the correct way or anybody has> > other idea.> build your app with CONFIG+=debug. you'll see debug output on stderr. If > you're on windows use DebugView to see it.> > > Other doubt would be a problem if instead of Widgets the objects in the> > list are Threads.> propably. > > -- > best regards/Mit freundlichen Grüßen> Arvid Ephraim Picciani> > --> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.> List archive and information: http://lists.trolltech.com/qt-interest/>
_________________________________________________________________
MSN Noticias
http://noticias.msn.es/comunidad.aspx