15 « July « 2009 « VCreate Logic Blog
 
Home
 
 

Remote Signal/Slot connections

Post: Blog — Posted by: prashanthudupa @ 5:36 pm

How easy it is to make signal/slot connections between local and remote objects ?

GCF::RemoteAppAccessPoint* rap = ....
GCF::RemoteObject* remoteObject
            = rap->getRemoteObject("ComponentName.ObjectName");

GCF::connect(remoteObject, SIGNAL(someSignal(int,char,QString,QPixmap)),
             localObjectPtr, SLOT(someSlot(int,char,QString,QPixmap)));

Isnt this sweet :-)