void QDSActionPrivate::connectToChannel() { // Connect slots to response messages if ( mResponseChannel == 0 ) { mResponseChannel = new QtopiaIpcAdaptor( responseChannel() ); QtopiaIpcAdaptor::connect( mResponseChannel, MESSAGE( heartbeat() ), this, SLOT(heartbeatSlot()), QtopiaIpcAdaptor::SenderIsChannel ); QtopiaIpcAdaptor::connect( mResponseChannel, MESSAGE( response() ), this, SLOT(responseSlot()), QtopiaIpcAdaptor::SenderIsChannel ); QtopiaIpcAdaptor::connect( mResponseChannel, MESSAGE( response( const QDSData& ) ), this, SLOT(responseSlot(QDSData)), QtopiaIpcAdaptor::SenderIsChannel ); QtopiaIpcAdaptor::connect( mResponseChannel, MESSAGE( error( const QString& ) ), this, SLOT(errorSlot(QString)), QtopiaIpcAdaptor::SenderIsChannel ); }
void RootWindow::connectSignals() { connect( _netMan->getClient(), SIGNAL( dataRecieved( QString ) ), _jParser, SLOT( responseSlot( QString ) ) ); //pull requests // profList connect( _jParser, SIGNAL( takeProfsList( IdTitleMap ) ), this, SLOT( setProfs( IdTitleMap ) ) ); connect( _jParser, SIGNAL( authSignalPars( QString, QString, int ) ), this, SLOT( authAdmin( QString, QString, int ) ) ); }