diff options
Diffstat (limited to 'kopete/protocols/yahoo/yahooaccount.cpp')
-rw-r--r-- | kopete/protocols/yahoo/yahooaccount.cpp | 408 |
1 files changed, 204 insertions, 204 deletions
diff --git a/kopete/protocols/yahoo/yahooaccount.cpp b/kopete/protocols/yahoo/yahooaccount.cpp index f5c2e26b..28d73f06 100644 --- a/kopete/protocols/yahoo/yahooaccount.cpp +++ b/kopete/protocols/yahoo/yahooaccount.cpp @@ -83,21 +83,21 @@ YahooAccount::YahooAccount(YahooProtocol *parent, const TQString& accountId, con // FIXME //m_openInboxAction = new TDEAction( TDEIcon("mail-folder-inbox"), i18n( "Open Inbo&x..." ), this ); //, "m_openInboxAction" ); - //TQObject::connect(m_openInboxAction, TQT_SIGNAL( triggered(bool) ), this, TQT_SLOT( slotOpenInbox() ) ); + //TQObject::connect(m_openInboxAction, TQ_SIGNAL( triggered(bool) ), this, TQ_SLOT( slotOpenInbox() ) ); //m_openYABAction = new TDEAction( TDEIcon("x-office-address-book"), i18n( "Open &Address book..." ), this ); //, "m_openYABAction" ); - //TQObject::connect(m_openYABAction, TQT_SIGNAL( triggered(bool) ), this, TQT_SLOT( slotOpenYAB() ) ); + //TQObject::connect(m_openYABAction, TQ_SIGNAL( triggered(bool) ), this, TQ_SLOT( slotOpenYAB() ) ); //m_editOwnYABEntry = new TDEAction( TDEIcon("document-properties"), i18n( "&Edit my contact details..."), this ); //, "m_editOwnYABEntry" ); - //TQObject::connect(m_editOwnYABEntry, TQT_SIGNAL( triggered(bool) ), this, TQT_SLOT( slotEditOwnYABEntry() ) ); + //TQObject::connect(m_editOwnYABEntry, TQ_SIGNAL( triggered(bool) ), this, TQ_SLOT( slotEditOwnYABEntry() ) ); //m_joinChatAction = new TDEAction( TDEIcon("im-chat-room-join"), i18n( "&Join chat room..."), this ); //, "m_joinChatAction" ); - //TQObject::connect(m_joinChatAction, TQT_SIGNAL( triggered(bool) ), this, TQT_SLOT( slotJoinChatRoom() ) ); + //TQObject::connect(m_joinChatAction, TQ_SIGNAL( triggered(bool) ), this, TQ_SLOT( slotJoinChatRoom() ) ); - m_openInboxAction = new TDEAction( i18n( "Open Inbo&x..." ), "mail_generic", 0, this, TQT_SLOT( slotOpenInbox() ), this, "m_openInboxAction" ); - m_openYABAction = new TDEAction( i18n( "Open &Addressbook..." ), "contents", 0, this, TQT_SLOT( slotOpenYAB() ), this, "m_openYABAction" ); - m_editOwnYABEntry = new TDEAction( i18n( "&Edit my contact details..."), "contents", 0, this, TQT_SLOT( slotEditOwnYABEntry() ), this, "m_editOwnYABEntry" ); - m_joinChatAction = new TDEAction( i18n( "&Join chat room..."), "contents", 0, this, TQT_SLOT( slotJoinChatRoom() ), this, "m_joinChatAction"); + m_openInboxAction = new TDEAction( i18n( "Open Inbo&x..." ), "mail_generic", 0, this, TQ_SLOT( slotOpenInbox() ), this, "m_openInboxAction" ); + m_openYABAction = new TDEAction( i18n( "Open &Addressbook..." ), "contents", 0, this, TQ_SLOT( slotOpenYAB() ), this, "m_openYABAction" ); + m_editOwnYABEntry = new TDEAction( i18n( "&Edit my contact details..."), "contents", 0, this, TQ_SLOT( slotEditOwnYABEntry() ), this, "m_editOwnYABEntry" ); + m_joinChatAction = new TDEAction( i18n( "&Join chat room..."), "contents", 0, this, TQ_SLOT( slotJoinChatRoom() ), this, "m_joinChatAction"); YahooContact* _myself=new YahooContact( this, accountId.lower(), accountId, Kopete::ContactList::self()->myself() ); setMyself( _myself ); @@ -229,290 +229,290 @@ void YahooAccount::initConnectionSignals( enum SignalConnectionType sct ) if ( sct == MakeConnections ) { - TQObject::connect(m_session, TQT_SIGNAL(loggedIn( int, const TQString &)), - this, TQT_SLOT(slotLoginResponse(int, const TQString &)) ); + TQObject::connect(m_session, TQ_SIGNAL(loggedIn( int, const TQString &)), + this, TQ_SLOT(slotLoginResponse(int, const TQString &)) ); - TQObject::connect(m_session, TQT_SIGNAL(disconnected()), - this, TQT_SLOT(slotDisconnected()) ); + TQObject::connect(m_session, TQ_SIGNAL(disconnected()), + this, TQ_SLOT(slotDisconnected()) ); - TQObject::connect(m_session, TQT_SIGNAL(loginFailed()), - this, TQT_SLOT(slotLoginFailed()) ); + TQObject::connect(m_session, TQ_SIGNAL(loginFailed()), + this, TQ_SLOT(slotLoginFailed()) ); - TQObject::connect(m_session, TQT_SIGNAL(error(int)), - this, TQT_SLOT(slotError(int))); + TQObject::connect(m_session, TQ_SIGNAL(error(int)), + this, TQ_SLOT(slotError(int))); - TQObject::connect(m_session, TQT_SIGNAL(gotBuddy(const TQString &, const TQString &, const TQString &)), - this, TQT_SLOT(slotGotBuddy(const TQString &, const TQString &, const TQString &))); + TQObject::connect(m_session, TQ_SIGNAL(gotBuddy(const TQString &, const TQString &, const TQString &)), + this, TQ_SLOT(slotGotBuddy(const TQString &, const TQString &, const TQString &))); - TQObject::connect(m_session, TQT_SIGNAL(buddyAddResult(const TQString &, const TQString &, bool)), - this, TQT_SLOT(slotBuddyAddResult(const TQString &, const TQString &, bool))); + TQObject::connect(m_session, TQ_SIGNAL(buddyAddResult(const TQString &, const TQString &, bool)), + this, TQ_SLOT(slotBuddyAddResult(const TQString &, const TQString &, bool))); - TQObject::connect(m_session, TQT_SIGNAL(buddyRemoveResult(const TQString &, const TQString &, bool)), - this, TQT_SLOT(slotBuddyRemoveResult(const TQString &, const TQString &, bool))); + TQObject::connect(m_session, TQ_SIGNAL(buddyRemoveResult(const TQString &, const TQString &, bool)), + this, TQ_SLOT(slotBuddyRemoveResult(const TQString &, const TQString &, bool))); - TQObject::connect(m_session, TQT_SIGNAL(buddyChangeGroupResult(const TQString &, const TQString &, bool)), - this, TQT_SLOT(slotBuddyChangeGroupResult(const TQString &, const TQString &, bool))); + TQObject::connect(m_session, TQ_SIGNAL(buddyChangeGroupResult(const TQString &, const TQString &, bool)), + this, TQ_SLOT(slotBuddyChangeGroupResult(const TQString &, const TQString &, bool))); - TQObject::connect(m_session, TQT_SIGNAL(authorizationAccepted( const TQString & )), - this, TQT_SLOT(slotAuthorizationAccepted( const TQString & )) ); + TQObject::connect(m_session, TQ_SIGNAL(authorizationAccepted( const TQString & )), + this, TQ_SLOT(slotAuthorizationAccepted( const TQString & )) ); - TQObject::connect(m_session, TQT_SIGNAL(authorizationRejected( const TQString &, const TQString & )), - this, TQT_SLOT(slotAuthorizationRejected( const TQString &, const TQString & )) ); + TQObject::connect(m_session, TQ_SIGNAL(authorizationRejected( const TQString &, const TQString & )), + this, TQ_SLOT(slotAuthorizationRejected( const TQString &, const TQString & )) ); - TQObject::connect(m_session, TQT_SIGNAL(gotAuthorizationRequest( const TQString &, const TQString &, const TQString & )), - this, TQT_SLOT(slotgotAuthorizationRequest( const TQString &, const TQString &, const TQString & )) ); + TQObject::connect(m_session, TQ_SIGNAL(gotAuthorizationRequest( const TQString &, const TQString &, const TQString & )), + this, TQ_SLOT(slotgotAuthorizationRequest( const TQString &, const TQString &, const TQString & )) ); - TQObject::connect(m_session, TQT_SIGNAL(statusChanged(const TQString&,int,const TQString&,int,int,int)), - this, TQT_SLOT(slotStatusChanged(const TQString&,int,const TQString&,int,int,int))); + TQObject::connect(m_session, TQ_SIGNAL(statusChanged(const TQString&,int,const TQString&,int,int,int)), + this, TQ_SLOT(slotStatusChanged(const TQString&,int,const TQString&,int,int,int))); - TQObject::connect(m_session, TQT_SIGNAL(stealthStatusChanged(const TQString &, Yahoo::StealthStatus)), - this, TQT_SLOT(slotStealthStatusChanged( const TQString &, Yahoo::StealthStatus)) ); + TQObject::connect(m_session, TQ_SIGNAL(stealthStatusChanged(const TQString &, Yahoo::StealthStatus)), + this, TQ_SLOT(slotStealthStatusChanged( const TQString &, Yahoo::StealthStatus)) ); - TQObject::connect(m_session, TQT_SIGNAL(gotIm(const TQString&, const TQString&, long, int)), - this, TQT_SLOT(slotGotIm(const TQString &, const TQString&, long, int))); + TQObject::connect(m_session, TQ_SIGNAL(gotIm(const TQString&, const TQString&, long, int)), + this, TQ_SLOT(slotGotIm(const TQString &, const TQString&, long, int))); - TQObject::connect(m_session, TQT_SIGNAL(gotBuzz(const TQString&, long)), - this, TQT_SLOT(slotGotBuzz(const TQString &, long))); + TQObject::connect(m_session, TQ_SIGNAL(gotBuzz(const TQString&, long)), + this, TQ_SLOT(slotGotBuzz(const TQString &, long))); - TQObject::connect(m_session, TQT_SIGNAL( gotConferenceInvite( const TQString&, const TQString&, + TQObject::connect(m_session, TQ_SIGNAL( gotConferenceInvite( const TQString&, const TQString&, const TQString&, const TQStringList&) ), this, - TQT_SLOT( slotGotConfInvite( const TQString&, const TQString&, + TQ_SLOT( slotGotConfInvite( const TQString&, const TQString&, const TQString&, const TQStringList& ) ) ); - TQObject::connect(m_session, TQT_SIGNAL(confUserDeclined(const TQString&, const TQString &, const TQString &)), + TQObject::connect(m_session, TQ_SIGNAL(confUserDeclined(const TQString&, const TQString &, const TQString &)), this, - TQT_SLOT(slotConfUserDecline( const TQString &, const TQString &, const TQString &)) ); + TQ_SLOT(slotConfUserDecline( const TQString &, const TQString &, const TQString &)) ); - TQObject::connect(m_session , TQT_SIGNAL(confUserJoined( const TQString &, const TQString &)), this, - TQT_SLOT(slotConfUserJoin( const TQString &, const TQString &)) ); + TQObject::connect(m_session , TQ_SIGNAL(confUserJoined( const TQString &, const TQString &)), this, + TQ_SLOT(slotConfUserJoin( const TQString &, const TQString &)) ); - TQObject::connect(m_session , TQT_SIGNAL(confUserLeft( const TQString &, const TQString &)), this, - TQT_SLOT(slotConfUserLeave( const TQString &, const TQString &)) ); + TQObject::connect(m_session , TQ_SIGNAL(confUserLeft( const TQString &, const TQString &)), this, + TQ_SLOT(slotConfUserLeave( const TQString &, const TQString &)) ); - TQObject::connect(m_session , TQT_SIGNAL(gotConferenceMessage( const TQString &, const TQString &, const TQString &)), this, - TQT_SLOT(slotConfMessage( const TQString &, const TQString &, const TQString &)) ); + TQObject::connect(m_session , TQ_SIGNAL(gotConferenceMessage( const TQString &, const TQString &, const TQString &)), this, + TQ_SLOT(slotConfMessage( const TQString &, const TQString &, const TQString &)) ); TQObject::connect(m_session, - TQT_SIGNAL(incomingFileTransfer(const TQString &, const TQString &, long, const TQString &, const TQString &, unsigned long, const TQPixmap &)), + TQ_SIGNAL(incomingFileTransfer(const TQString &, const TQString &, long, const TQString &, const TQString &, unsigned long, const TQPixmap &)), this, - TQT_SLOT(slotGotFile(const TQString&, const TQString&, long, const TQString&, const TQString&, unsigned long, const TQPixmap &))); + TQ_SLOT(slotGotFile(const TQString&, const TQString&, long, const TQString&, const TQString&, unsigned long, const TQPixmap &))); - TQObject::connect(m_session, TQT_SIGNAL(fileTransferComplete(unsigned int)), this, - TQT_SLOT(slotFileTransferComplete(unsigned int)) ); + TQObject::connect(m_session, TQ_SIGNAL(fileTransferComplete(unsigned int)), this, + TQ_SLOT(slotFileTransferComplete(unsigned int)) ); - TQObject::connect(m_session, TQT_SIGNAL(fileTransferBytesProcessed(unsigned int,unsigned int)), this, - TQT_SLOT(slotFileTransferBytesProcessed(unsigned int,unsigned int)) ); + TQObject::connect(m_session, TQ_SIGNAL(fileTransferBytesProcessed(unsigned int,unsigned int)), this, + TQ_SLOT(slotFileTransferBytesProcessed(unsigned int,unsigned int)) ); - TQObject::connect(m_session, TQT_SIGNAL(fileTransferError(unsigned int,int,const TQString &)), this, - TQT_SLOT(slotFileTransferError(unsigned int,int,const TQString &)) ); + TQObject::connect(m_session, TQ_SIGNAL(fileTransferError(unsigned int,int,const TQString &)), this, + TQ_SLOT(slotFileTransferError(unsigned int,int,const TQString &)) ); - TQObject::connect(m_session, TQT_SIGNAL(typingNotify(const TQString &, int)), this , - TQT_SLOT(slotTypingNotify(const TQString &, int))); + TQObject::connect(m_session, TQ_SIGNAL(typingNotify(const TQString &, int)), this , + TQ_SLOT(slotTypingNotify(const TQString &, int))); -// TQObject::connect(m_session, TQT_SIGNAL(gameNotify(const TQString &, int)), this, -// TQT_SLOT(slotGameNotify( const TQString &, int))); +// TQObject::connect(m_session, TQ_SIGNAL(gameNotify(const TQString &, int)), this, +// TQ_SLOT(slotGameNotify( const TQString &, int))); - TQObject::connect(m_session, TQT_SIGNAL(mailNotify(const TQString&, const TQString&, int)), this, - TQT_SLOT(slotMailNotify(const TQString &, const TQString&, int))); + TQObject::connect(m_session, TQ_SIGNAL(mailNotify(const TQString&, const TQString&, int)), this, + TQ_SLOT(slotMailNotify(const TQString &, const TQString&, int))); - TQObject::connect(m_session, TQT_SIGNAL(systemMessage(const TQString&)), this, - TQT_SLOT(slotSystemMessage(const TQString &))); + TQObject::connect(m_session, TQ_SIGNAL(systemMessage(const TQString&)), this, + TQ_SLOT(slotSystemMessage(const TQString &))); -// TQObject::connect(m_session, TQT_SIGNAL(gotIdentities(const TQStringList &)), this, -// TQT_SLOT(slotGotIdentities( const TQStringList&))); +// TQObject::connect(m_session, TQ_SIGNAL(gotIdentities(const TQStringList &)), this, +// TQ_SLOT(slotGotIdentities( const TQStringList&))); - TQObject::connect(m_session, TQT_SIGNAL(gotWebcamInvite(const TQString&)), this, TQT_SLOT(slotGotWebcamInvite(const TQString&))); + TQObject::connect(m_session, TQ_SIGNAL(gotWebcamInvite(const TQString&)), this, TQ_SLOT(slotGotWebcamInvite(const TQString&))); - TQObject::connect(m_session, TQT_SIGNAL(webcamNotAvailable(const TQString&)), this, TQT_SLOT(slotWebcamNotAvailable(const TQString&))); + TQObject::connect(m_session, TQ_SIGNAL(webcamNotAvailable(const TQString&)), this, TQ_SLOT(slotWebcamNotAvailable(const TQString&))); - TQObject::connect(m_session, TQT_SIGNAL(webcamImageReceived(const TQString&, const TQPixmap& )), this, TQT_SLOT(slotGotWebcamImage(const TQString&, const TQPixmap& ))); + TQObject::connect(m_session, TQ_SIGNAL(webcamImageReceived(const TQString&, const TQPixmap& )), this, TQ_SLOT(slotGotWebcamImage(const TQString&, const TQPixmap& ))); - TQObject::connect(m_session, TQT_SIGNAL(webcamClosed(const TQString&, int )), this, TQT_SLOT(slotWebcamClosed(const TQString&, int ))); + TQObject::connect(m_session, TQ_SIGNAL(webcamClosed(const TQString&, int )), this, TQ_SLOT(slotWebcamClosed(const TQString&, int ))); - TQObject::connect(m_session, TQT_SIGNAL(webcamPaused(const TQString&)), this, TQT_SLOT(slotWebcamPaused(const TQString&))); + TQObject::connect(m_session, TQ_SIGNAL(webcamPaused(const TQString&)), this, TQ_SLOT(slotWebcamPaused(const TQString&))); - TQObject::connect(m_session, TQT_SIGNAL(webcamReadyForTransmission()), this, TQT_SLOT(slotWebcamReadyForTransmission())); + TQObject::connect(m_session, TQ_SIGNAL(webcamReadyForTransmission()), this, TQ_SLOT(slotWebcamReadyForTransmission())); - TQObject::connect(m_session, TQT_SIGNAL(webcamStopTransmission()), this, TQT_SLOT(slotWebcamStopTransmission())); + TQObject::connect(m_session, TQ_SIGNAL(webcamStopTransmission()), this, TQ_SLOT(slotWebcamStopTransmission())); - TQObject::connect(m_session, TQT_SIGNAL(webcamViewerJoined(const TQString&)), this, TQT_SLOT(slotWebcamViewerJoined(const TQString&))); + TQObject::connect(m_session, TQ_SIGNAL(webcamViewerJoined(const TQString&)), this, TQ_SLOT(slotWebcamViewerJoined(const TQString&))); - TQObject::connect(m_session, TQT_SIGNAL(webcamViewerLeft(const TQString&)), this, TQT_SLOT(slotWebcamViewerLeft(const TQString&))); + TQObject::connect(m_session, TQ_SIGNAL(webcamViewerLeft(const TQString&)), this, TQ_SLOT(slotWebcamViewerLeft(const TQString&))); - TQObject::connect(m_session, TQT_SIGNAL(webcamViewerRequest(const TQString&)), this, TQT_SLOT(slotWebcamViewerRequest( const TQString&))); + TQObject::connect(m_session, TQ_SIGNAL(webcamViewerRequest(const TQString&)), this, TQ_SLOT(slotWebcamViewerRequest( const TQString&))); - TQObject::connect(m_session, TQT_SIGNAL(pictureStatusNotify( const TQString&, int )), TQT_SLOT(slotPictureStatusNotify( const TQString&, int))); + TQObject::connect(m_session, TQ_SIGNAL(pictureStatusNotify( const TQString&, int )), TQ_SLOT(slotPictureStatusNotify( const TQString&, int))); - TQObject::connect(m_session, TQT_SIGNAL(pictureDownloaded(const TQString&, const TQByteArray &, int)), this, TQT_SLOT(slotGotBuddyIcon(const TQString&, const TQByteArray &, int)) ); + TQObject::connect(m_session, TQ_SIGNAL(pictureDownloaded(const TQString&, const TQByteArray &, int)), this, TQ_SLOT(slotGotBuddyIcon(const TQString&, const TQByteArray &, int)) ); - TQObject::connect(m_session, TQT_SIGNAL(pictureInfoNotify(const TQString&, KURL, int)), this, TQT_SLOT(slotGotBuddyIconInfo(const TQString&, KURL, int ))); + TQObject::connect(m_session, TQ_SIGNAL(pictureInfoNotify(const TQString&, KURL, int)), this, TQ_SLOT(slotGotBuddyIconInfo(const TQString&, KURL, int ))); - TQObject::connect(m_session, TQT_SIGNAL(pictureChecksumNotify(const TQString&, int)), this, TQT_SLOT(slotGotBuddyIconChecksum(const TQString&, int ))); + TQObject::connect(m_session, TQ_SIGNAL(pictureChecksumNotify(const TQString&, int)), this, TQ_SLOT(slotGotBuddyIconChecksum(const TQString&, int ))); - TQObject::connect(m_session, TQT_SIGNAL(pictureRequest(const TQString&)), this, TQT_SLOT(slotGotBuddyIconRequest(const TQString&)) ); + TQObject::connect(m_session, TQ_SIGNAL(pictureRequest(const TQString&)), this, TQ_SLOT(slotGotBuddyIconRequest(const TQString&)) ); - TQObject::connect(m_session, TQT_SIGNAL(pictureUploaded( const TQString &, int)), this, TQT_SLOT(slotBuddyIconChanged(const TQString&, int))); + TQObject::connect(m_session, TQ_SIGNAL(pictureUploaded( const TQString &, int)), this, TQ_SLOT(slotBuddyIconChanged(const TQString&, int))); - TQObject::connect(m_session, TQT_SIGNAL(gotYABEntry( YABEntry * )), this, TQT_SLOT(slotGotYABEntry( YABEntry * ))); + TQObject::connect(m_session, TQ_SIGNAL(gotYABEntry( YABEntry * )), this, TQ_SLOT(slotGotYABEntry( YABEntry * ))); - TQObject::connect(m_session, TQT_SIGNAL(modifyYABEntryError( YABEntry *, const TQString & )), this, TQT_SLOT(slotModifyYABEntryError( YABEntry *, const TQString & ))); + TQObject::connect(m_session, TQ_SIGNAL(modifyYABEntryError( YABEntry *, const TQString & )), this, TQ_SLOT(slotModifyYABEntryError( YABEntry *, const TQString & ))); - TQObject::connect(m_session, TQT_SIGNAL(gotYABRevision( long, bool )), this, TQT_SLOT(slotGotYABRevision( long , bool )) ); + TQObject::connect(m_session, TQ_SIGNAL(gotYABRevision( long, bool )), this, TQ_SLOT(slotGotYABRevision( long , bool )) ); - TQObject::connect(m_session, TQT_SIGNAL(chatRoomJoined(int,int,TQString,TQString)), this, TQT_SLOT(slotChatJoined(int,int,TQString,TQString))); + TQObject::connect(m_session, TQ_SIGNAL(chatRoomJoined(int,int,TQString,TQString)), this, TQ_SLOT(slotChatJoined(int,int,TQString,TQString))); - TQObject::connect(m_session, TQT_SIGNAL(chatBuddyHasJoined(TQString,TQString,bool)), this, TQT_SLOT(slotChatBuddyHasJoined(TQString,TQString,bool))); + TQObject::connect(m_session, TQ_SIGNAL(chatBuddyHasJoined(TQString,TQString,bool)), this, TQ_SLOT(slotChatBuddyHasJoined(TQString,TQString,bool))); - TQObject::connect(m_session, TQT_SIGNAL(chatBuddyHasLeft(TQString,TQString)), this, TQT_SLOT(slotChatBuddyHasLeft(TQString,TQString))); + TQObject::connect(m_session, TQ_SIGNAL(chatBuddyHasLeft(TQString,TQString)), this, TQ_SLOT(slotChatBuddyHasLeft(TQString,TQString))); - TQObject::connect(m_session, TQT_SIGNAL(chatMessageReceived(TQString,TQString,TQString)), this, TQT_SLOT(slotChatMessageReceived(TQString,TQString,TQString))); + TQObject::connect(m_session, TQ_SIGNAL(chatMessageReceived(TQString,TQString,TQString)), this, TQ_SLOT(slotChatMessageReceived(TQString,TQString,TQString))); } if ( sct == DeleteConnections ) { - TQObject::disconnect(m_session, TQT_SIGNAL(loggedIn(int, const TQString &)), - this, TQT_SLOT(slotLoginResponse(int, const TQString &)) ); + TQObject::disconnect(m_session, TQ_SIGNAL(loggedIn(int, const TQString &)), + this, TQ_SLOT(slotLoginResponse(int, const TQString &)) ); - TQObject::disconnect(m_session, TQT_SIGNAL(disconnected()), - this, TQT_SLOT(slotDisconnected()) ); + TQObject::disconnect(m_session, TQ_SIGNAL(disconnected()), + this, TQ_SLOT(slotDisconnected()) ); - TQObject::disconnect(m_session, TQT_SIGNAL(loginFailed()), - this, TQT_SLOT(slotLoginFailed()) ); + TQObject::disconnect(m_session, TQ_SIGNAL(loginFailed()), + this, TQ_SLOT(slotLoginFailed()) ); - TQObject::disconnect(m_session, TQT_SIGNAL(error(int)), - this, TQT_SLOT(slotError(int))); + TQObject::disconnect(m_session, TQ_SIGNAL(error(int)), + this, TQ_SLOT(slotError(int))); - TQObject::disconnect(m_session, TQT_SIGNAL(gotBuddy(const TQString &, const TQString &, const TQString &)), - this, TQT_SLOT(slotGotBuddy(const TQString &, const TQString &, const TQString &))); + TQObject::disconnect(m_session, TQ_SIGNAL(gotBuddy(const TQString &, const TQString &, const TQString &)), + this, TQ_SLOT(slotGotBuddy(const TQString &, const TQString &, const TQString &))); - TQObject::disconnect(m_session, TQT_SIGNAL(buddyAddResult(const TQString &, const TQString &, bool)), - this, TQT_SLOT(slotBuddyAddResult(const TQString &, const TQString &, bool))); + TQObject::disconnect(m_session, TQ_SIGNAL(buddyAddResult(const TQString &, const TQString &, bool)), + this, TQ_SLOT(slotBuddyAddResult(const TQString &, const TQString &, bool))); - TQObject::disconnect(m_session, TQT_SIGNAL(buddyRemoveResult(const TQString &, const TQString &, bool)), - this, TQT_SLOT(slotBuddyRemoveResult(const TQString &, const TQString &, bool))); + TQObject::disconnect(m_session, TQ_SIGNAL(buddyRemoveResult(const TQString &, const TQString &, bool)), + this, TQ_SLOT(slotBuddyRemoveResult(const TQString &, const TQString &, bool))); - TQObject::disconnect(m_session, TQT_SIGNAL(buddyChangeGroupResult(const TQString &, const TQString &, bool)), - this, TQT_SLOT(slotBuddyChangeGroupResult(const TQString &, const TQString &, bool))); + TQObject::disconnect(m_session, TQ_SIGNAL(buddyChangeGroupResult(const TQString &, const TQString &, bool)), + this, TQ_SLOT(slotBuddyChangeGroupResult(const TQString &, const TQString &, bool))); - TQObject::disconnect(m_session, TQT_SIGNAL(authorizationAccepted( const TQString &)), - this, TQT_SLOT(slotAuthorizationAccepted( const TQString &)) ); + TQObject::disconnect(m_session, TQ_SIGNAL(authorizationAccepted( const TQString &)), + this, TQ_SLOT(slotAuthorizationAccepted( const TQString &)) ); - TQObject::disconnect(m_session, TQT_SIGNAL(authorizationRejected( const TQString &, const TQString &)), - this, TQT_SLOT(slotAuthorizationRejected( const TQString &, const TQString & )) ); + TQObject::disconnect(m_session, TQ_SIGNAL(authorizationRejected( const TQString &, const TQString &)), + this, TQ_SLOT(slotAuthorizationRejected( const TQString &, const TQString & )) ); - TQObject::disconnect(m_session, TQT_SIGNAL(gotAuthorizationRequest( const TQString &, const TQString &, const TQString & )), - this, TQT_SLOT(slotgotAuthorizationRequest( const TQString &, const TQString &, const TQString & )) ); + TQObject::disconnect(m_session, TQ_SIGNAL(gotAuthorizationRequest( const TQString &, const TQString &, const TQString & )), + this, TQ_SLOT(slotgotAuthorizationRequest( const TQString &, const TQString &, const TQString & )) ); - TQObject::disconnect(m_session, TQT_SIGNAL(statusChanged(const TQString&,int,const TQString&,int,int,int)), - this, TQT_SLOT(slotStatusChanged(const TQString&,int,const TQString&,int,int,int))); + TQObject::disconnect(m_session, TQ_SIGNAL(statusChanged(const TQString&,int,const TQString&,int,int,int)), + this, TQ_SLOT(slotStatusChanged(const TQString&,int,const TQString&,int,int,int))); - TQObject::disconnect(m_session, TQT_SIGNAL(stealthStatusChanged(const TQString &, Yahoo::StealthStatus)), - this, TQT_SLOT(slotStealthStatusChanged( const TQString &, Yahoo::StealthStatus)) ); + TQObject::disconnect(m_session, TQ_SIGNAL(stealthStatusChanged(const TQString &, Yahoo::StealthStatus)), + this, TQ_SLOT(slotStealthStatusChanged( const TQString &, Yahoo::StealthStatus)) ); - TQObject::disconnect(m_session, TQT_SIGNAL(gotIm(const TQString&, const TQString&, long, int)), - this, TQT_SLOT(slotGotIm(const TQString &, const TQString&, long, int))); + TQObject::disconnect(m_session, TQ_SIGNAL(gotIm(const TQString&, const TQString&, long, int)), + this, TQ_SLOT(slotGotIm(const TQString &, const TQString&, long, int))); - TQObject::disconnect(m_session, TQT_SIGNAL(gotBuzz(const TQString&, long)), - this, TQT_SLOT(slotGotBuzz(const TQString &, long))); + TQObject::disconnect(m_session, TQ_SIGNAL(gotBuzz(const TQString&, long)), + this, TQ_SLOT(slotGotBuzz(const TQString &, long))); TQObject::disconnect(m_session, - TQT_SIGNAL( gotConferenceInvite( const TQString&, const TQString&, + TQ_SIGNAL( gotConferenceInvite( const TQString&, const TQString&, const TQString&, const TQStringList&) ), this, - TQT_SLOT( slotGotConfInvite( const TQString&, const TQString&, + TQ_SLOT( slotGotConfInvite( const TQString&, const TQString&, const TQString&, const TQStringList&) ) ); TQObject::disconnect(m_session, - TQT_SIGNAL(confUserDeclined(const TQString&, const TQString &, const TQString &)), + TQ_SIGNAL(confUserDeclined(const TQString&, const TQString &, const TQString &)), this, - TQT_SLOT(slotConfUserDecline( const TQString &, const TQString &, const TQString& ) ) ); + TQ_SLOT(slotConfUserDecline( const TQString &, const TQString &, const TQString& ) ) ); - TQObject::disconnect(m_session , TQT_SIGNAL(confUserJoined( const TQString &, const TQString &)), - this, TQT_SLOT(slotConfUserJoin( const TQString &, const TQString &)) ); + TQObject::disconnect(m_session , TQ_SIGNAL(confUserJoined( const TQString &, const TQString &)), + this, TQ_SLOT(slotConfUserJoin( const TQString &, const TQString &)) ); - TQObject::disconnect(m_session , TQT_SIGNAL(confUserLeft( const TQString &, const TQString &)), - this, TQT_SLOT(slotConfUserLeave( const TQString &, const TQString &)) ); + TQObject::disconnect(m_session , TQ_SIGNAL(confUserLeft( const TQString &, const TQString &)), + this, TQ_SLOT(slotConfUserLeave( const TQString &, const TQString &)) ); - TQObject::disconnect(m_session , TQT_SIGNAL(gotConferenceMessage( const TQString &, const TQString &, const TQString &)), this, - TQT_SLOT(slotConfMessage( const TQString &, const TQString &, const TQString &)) ); + TQObject::disconnect(m_session , TQ_SIGNAL(gotConferenceMessage( const TQString &, const TQString &, const TQString &)), this, + TQ_SLOT(slotConfMessage( const TQString &, const TQString &, const TQString &)) ); TQObject::disconnect(m_session, - TQT_SIGNAL(incomingFileTransfer(const TQString &, const TQString &, + TQ_SIGNAL(incomingFileTransfer(const TQString &, const TQString &, long, const TQString &, const TQString &, unsigned long, const TQPixmap &)), this, - TQT_SLOT(slotGotFile(const TQString&, const TQString&, + TQ_SLOT(slotGotFile(const TQString&, const TQString&, long, const TQString&, const TQString&, unsigned long, const TQPixmap &))); - TQObject::disconnect(m_session, TQT_SIGNAL(fileTransferComplete(unsigned int)), this, - TQT_SLOT(slotFileTransferComplete(unsigned int)) ); + TQObject::disconnect(m_session, TQ_SIGNAL(fileTransferComplete(unsigned int)), this, + TQ_SLOT(slotFileTransferComplete(unsigned int)) ); - TQObject::disconnect(m_session, TQT_SIGNAL(fileTransferBytesProcessed(unsigned int,unsigned int)), this, - TQT_SLOT(slotFileTransferBytesProcessed(unsigned int,unsigned int)) ); + TQObject::disconnect(m_session, TQ_SIGNAL(fileTransferBytesProcessed(unsigned int,unsigned int)), this, + TQ_SLOT(slotFileTransferBytesProcessed(unsigned int,unsigned int)) ); - TQObject::disconnect(m_session, TQT_SIGNAL(fileTransferError(unsigned int,int,const TQString &)), this, - TQT_SLOT(slotFileTransferError(unsigned int,int,const TQString &)) ); + TQObject::disconnect(m_session, TQ_SIGNAL(fileTransferError(unsigned int,int,const TQString &)), this, + TQ_SLOT(slotFileTransferError(unsigned int,int,const TQString &)) ); - TQObject::disconnect(m_session, TQT_SIGNAL(typingNotify(const TQString &, int)), this , - TQT_SLOT(slotTypingNotify(const TQString &, int))); + TQObject::disconnect(m_session, TQ_SIGNAL(typingNotify(const TQString &, int)), this , + TQ_SLOT(slotTypingNotify(const TQString &, int))); -// TQObject::disconnect(m_session, TQT_SIGNAL(gameNotify(const TQString &, int)), this, -// TQT_SLOT(slotGameNotify( const TQString &, int))); +// TQObject::disconnect(m_session, TQ_SIGNAL(gameNotify(const TQString &, int)), this, +// TQ_SLOT(slotGameNotify( const TQString &, int))); - TQObject::disconnect(m_session, TQT_SIGNAL(mailNotify(const TQString&, const TQString&, int)), this, - TQT_SLOT(slotMailNotify(const TQString &, const TQString&, int))); + TQObject::disconnect(m_session, TQ_SIGNAL(mailNotify(const TQString&, const TQString&, int)), this, + TQ_SLOT(slotMailNotify(const TQString &, const TQString&, int))); - TQObject::disconnect(m_session, TQT_SIGNAL(systemMessage(const TQString&)), this, - TQT_SLOT(slotSystemMessage(const TQString &))); + TQObject::disconnect(m_session, TQ_SIGNAL(systemMessage(const TQString&)), this, + TQ_SLOT(slotSystemMessage(const TQString &))); -// TQObject::disconnect(m_session, TQT_SIGNAL(gotIdentities(const TQStringList &)), this, -// TQT_SLOT(slotGotIdentities( const TQStringList&))); +// TQObject::disconnect(m_session, TQ_SIGNAL(gotIdentities(const TQStringList &)), this, +// TQ_SLOT(slotGotIdentities( const TQStringList&))); - TQObject::disconnect(m_session, TQT_SIGNAL(gotWebcamInvite(const TQString&)), this, TQT_SLOT(slotGotWebcamInvite(const TQString&))); + TQObject::disconnect(m_session, TQ_SIGNAL(gotWebcamInvite(const TQString&)), this, TQ_SLOT(slotGotWebcamInvite(const TQString&))); - TQObject::disconnect(m_session, TQT_SIGNAL(webcamNotAvailable(const TQString&)), this, TQT_SLOT(slotWebcamNotAvailable(const TQString&))); + TQObject::disconnect(m_session, TQ_SIGNAL(webcamNotAvailable(const TQString&)), this, TQ_SLOT(slotWebcamNotAvailable(const TQString&))); - TQObject::disconnect(m_session, TQT_SIGNAL(webcamImageReceived(const TQString&, const TQPixmap& )), this, TQT_SLOT(slotGotWebcamImage(const TQString&, const TQPixmap& ))); + TQObject::disconnect(m_session, TQ_SIGNAL(webcamImageReceived(const TQString&, const TQPixmap& )), this, TQ_SLOT(slotGotWebcamImage(const TQString&, const TQPixmap& ))); - TQObject::disconnect(m_session, TQT_SIGNAL(webcamClosed(const TQString&, int )), this, TQT_SLOT(slotWebcamClosed(const TQString&, int ))); + TQObject::disconnect(m_session, TQ_SIGNAL(webcamClosed(const TQString&, int )), this, TQ_SLOT(slotWebcamClosed(const TQString&, int ))); - TQObject::disconnect(m_session, TQT_SIGNAL(webcamPaused(const TQString&)), this, TQT_SLOT(slotWebcamPaused(const TQString&))); + TQObject::disconnect(m_session, TQ_SIGNAL(webcamPaused(const TQString&)), this, TQ_SLOT(slotWebcamPaused(const TQString&))); - TQObject::disconnect(m_session, TQT_SIGNAL(webcamReadyForTransmission()), this, TQT_SLOT(slotWebcamReadyForTransmission())); + TQObject::disconnect(m_session, TQ_SIGNAL(webcamReadyForTransmission()), this, TQ_SLOT(slotWebcamReadyForTransmission())); - TQObject::disconnect(m_session, TQT_SIGNAL(webcamStopTransmission()), this, TQT_SLOT(slotWebcamStopTransmission())); + TQObject::disconnect(m_session, TQ_SIGNAL(webcamStopTransmission()), this, TQ_SLOT(slotWebcamStopTransmission())); - TQObject::disconnect(m_session, TQT_SIGNAL(webcamViewerJoined(const TQString&)), this, TQT_SLOT(slotWebcamViewerJoined(const TQString&))); + TQObject::disconnect(m_session, TQ_SIGNAL(webcamViewerJoined(const TQString&)), this, TQ_SLOT(slotWebcamViewerJoined(const TQString&))); - TQObject::disconnect(m_session, TQT_SIGNAL(webcamViewerLeft(const TQString&)), this, TQT_SLOT(slotWebcamViewerLeft(const TQString&))); + TQObject::disconnect(m_session, TQ_SIGNAL(webcamViewerLeft(const TQString&)), this, TQ_SLOT(slotWebcamViewerLeft(const TQString&))); - TQObject::disconnect(m_session, TQT_SIGNAL(webcamViewerRequest(const TQString&)), this, TQT_SLOT(slotWebcamViewerRequest( const TQString&))); + TQObject::disconnect(m_session, TQ_SIGNAL(webcamViewerRequest(const TQString&)), this, TQ_SLOT(slotWebcamViewerRequest( const TQString&))); - TQObject::disconnect(m_session, TQT_SIGNAL(pictureDownloaded(const TQString&, const TQByteArray &, int )), this, TQT_SLOT(slotGotBuddyIcon(const TQString&, const TQByteArray &,int ))); + TQObject::disconnect(m_session, TQ_SIGNAL(pictureDownloaded(const TQString&, const TQByteArray &, int )), this, TQ_SLOT(slotGotBuddyIcon(const TQString&, const TQByteArray &,int ))); - TQObject::disconnect(m_session, TQT_SIGNAL(pictureInfoNotify(const TQString&, KURL, int)), this, TQT_SLOT(slotGotBuddyIconInfo(const TQString&, KURL, int ))); + TQObject::disconnect(m_session, TQ_SIGNAL(pictureInfoNotify(const TQString&, KURL, int)), this, TQ_SLOT(slotGotBuddyIconInfo(const TQString&, KURL, int ))); - TQObject::disconnect(m_session, TQT_SIGNAL(pictureRequest(const TQString&)), this, TQT_SLOT(slotGotBuddyIconRequest(const TQString&)) ); + TQObject::disconnect(m_session, TQ_SIGNAL(pictureRequest(const TQString&)), this, TQ_SLOT(slotGotBuddyIconRequest(const TQString&)) ); - TQObject::disconnect(m_session, TQT_SIGNAL(pictureUploaded( const TQString &, int )), this, TQT_SLOT(slotBuddyIconChanged(const TQString&, int))); + TQObject::disconnect(m_session, TQ_SIGNAL(pictureUploaded( const TQString &, int )), this, TQ_SLOT(slotBuddyIconChanged(const TQString&, int))); - TQObject::disconnect(m_session, TQT_SIGNAL(pictureStatusNotify( const TQString&, int )), this, TQT_SLOT(slotPictureStatusNotify( const TQString&, int))); + TQObject::disconnect(m_session, TQ_SIGNAL(pictureStatusNotify( const TQString&, int )), this, TQ_SLOT(slotPictureStatusNotify( const TQString&, int))); - TQObject::disconnect(m_session, TQT_SIGNAL(pictureChecksumNotify(const TQString&, int)), this, TQT_SLOT(slotGotBuddyIconChecksum(const TQString&, int ))); + TQObject::disconnect(m_session, TQ_SIGNAL(pictureChecksumNotify(const TQString&, int)), this, TQ_SLOT(slotGotBuddyIconChecksum(const TQString&, int ))); - TQObject::disconnect(m_session, TQT_SIGNAL(gotYABEntry( YABEntry * )), this, TQT_SLOT(slotGotYABEntry( YABEntry * ))); + TQObject::disconnect(m_session, TQ_SIGNAL(gotYABEntry( YABEntry * )), this, TQ_SLOT(slotGotYABEntry( YABEntry * ))); - TQObject::disconnect(m_session, TQT_SIGNAL(modifyYABEntryError( YABEntry *, const TQString & )), this, TQT_SLOT(slotModifyYABEntryError( YABEntry *, const TQString & ))); + TQObject::disconnect(m_session, TQ_SIGNAL(modifyYABEntryError( YABEntry *, const TQString & )), this, TQ_SLOT(slotModifyYABEntryError( YABEntry *, const TQString & ))); - TQObject::disconnect(m_session, TQT_SIGNAL(gotYABRevision( long, bool )), this, TQT_SLOT(slotGotYABRevision( long , bool )) ); + TQObject::disconnect(m_session, TQ_SIGNAL(gotYABRevision( long, bool )), this, TQ_SLOT(slotGotYABRevision( long , bool )) ); - TQObject::disconnect(m_session, TQT_SIGNAL(chatRoomJoined(int,int,const TQString&,const TQString&)), this, TQT_SLOT(slotChatJoined(int,int,const TQString&,const TQString&))); + TQObject::disconnect(m_session, TQ_SIGNAL(chatRoomJoined(int,int,const TQString&,const TQString&)), this, TQ_SLOT(slotChatJoined(int,int,const TQString&,const TQString&))); - TQObject::disconnect(m_session, TQT_SIGNAL(chatBuddyHasJoined(const TQString&,const TQString&,bool)), this, TQT_SLOT(slotChatBuddyHasJoined(const TQString&,const TQString&,bool))); + TQObject::disconnect(m_session, TQ_SIGNAL(chatBuddyHasJoined(const TQString&,const TQString&,bool)), this, TQ_SLOT(slotChatBuddyHasJoined(const TQString&,const TQString&,bool))); - TQObject::disconnect(m_session, TQT_SIGNAL(chatBuddyHasLeft(const TQString&,const TQString&)), this, TQT_SLOT(slotChatBuddyHasLeft(const TQString&,const TQString&))); + TQObject::disconnect(m_session, TQ_SIGNAL(chatBuddyHasLeft(const TQString&,const TQString&)), this, TQ_SLOT(slotChatBuddyHasLeft(const TQString&,const TQString&))); - TQObject::disconnect(m_session, TQT_SIGNAL(chatMessageReceived(const TQString&,const TQString&,const TQString&)), this, TQT_SLOT(slotChatMessageReceived(const TQString&,const TQString&,const TQString&))); + TQObject::disconnect(m_session, TQ_SIGNAL(chatMessageReceived(const TQString&,const TQString&,const TQString&)), this, TQ_SLOT(slotChatMessageReceived(const TQString&,const TQString&,const TQString&))); } } @@ -698,7 +698,7 @@ void YahooAccount::sendFile( YahooContact *to, const KURL &url ) url.fileName(), file.size(), to->userId(), Kopete::FileTransferInfo::Outgoing ); m_session->sendFile( transfer->info().transferId(), to->userId(), TQString(), url ); - TQObject::connect( transfer, TQT_SIGNAL(result( TDEIO::Job * )), this, TQT_SLOT(slotFileTransferResult( TDEIO::Job * )) ); + TQObject::connect( transfer, TQ_SIGNAL(result( TDEIO::Job * )), this, TQ_SLOT(slotFileTransferResult( TDEIO::Job * )) ); m_fileTransfers.insert( transfer->info().transferId(), transfer ); } @@ -921,8 +921,8 @@ void YahooAccount::slotgotAuthorizationRequest( const TQString &user, const TQSt // actions |= Kopete::AddedInfoEvent::AddAction; //Kopete::AddedInfoEvent* event = new Kopete::AddedInfoEvent( user, this ); - //TQObject::connect( event, TQT_SIGNAL(actionActivated(uint)), - // this, TQT_SLOT(slotAddedInfoEventActionActivated(uint)) ); + //TQObject::connect( event, TQ_SIGNAL(actionActivated(uint)), + // this, TQ_SLOT(slotAddedInfoEventActionActivated(uint)) ); //event->showActions( actions ); //event->sendEvent(); @@ -933,8 +933,8 @@ void YahooAccount::slotgotAuthorizationRequest( const TQString &user, const TQSt Kopete::UI::ContactAddedNotifyDialog *dialog= new Kopete::UI::ContactAddedNotifyDialog( user,TQString(),this, hideFlags ); - TQObject::connect(dialog,TQT_SIGNAL(applyClicked(const TQString&)), - this,TQT_SLOT(slotContactAddedNotifyDialogClosed(const TQString& ))); + TQObject::connect(dialog,TQ_SIGNAL(applyClicked(const TQString&)), + this,TQ_SLOT(slotContactAddedNotifyDialogClosed(const TQString& ))); dialog->show(); } @@ -1237,7 +1237,7 @@ void YahooAccount::slotGotConfInvite( const TQString & who, const TQString & roo YahooConferenceChatSession *session = new YahooConferenceChatSession( room, protocol(), myself(), others ); m_conferences[room] = session; - TQObject::connect( session, TQT_SIGNAL(leavingConference( YahooConferenceChatSession * ) ), this, TQT_SLOT( slotConfLeave( YahooConferenceChatSession * ) ) ); + TQObject::connect( session, TQ_SIGNAL(leavingConference( YahooConferenceChatSession * ) ), this, TQ_SLOT( slotConfLeave( YahooConferenceChatSession * ) ) ); for ( TQStringList::ConstIterator it = myMembers.constBegin(); it != myMembers.constEnd(); ++it ) { @@ -1287,8 +1287,8 @@ void YahooAccount::prepareConference( const TQString &who ) } YahooInviteListImpl *dlg = new YahooInviteListImpl( Kopete::UI::Global::mainWidget() ); - TQObject::connect( dlg, TQT_SIGNAL( readyToInvite( const TQString &, const TQStringList &, const TQStringList &, const TQString & ) ), - this, TQT_SLOT( slotInviteConference( const TQString &, const TQStringList &, const TQStringList &, const TQString & ) ) ); + TQObject::connect( dlg, TQ_SIGNAL( readyToInvite( const TQString &, const TQStringList &, const TQStringList &, const TQString & ) ), + this, TQ_SLOT( slotInviteConference( const TQString &, const TQStringList &, const TQStringList &, const TQString & ) ) ); dlg->setRoom( room ); dlg->fillFriendList( buddies ); dlg->addInvitees( TQStringList( who ) ); @@ -1305,7 +1305,7 @@ kdDebug(YAHOO_GEN_DEBUG) << "Inviting " << members << " to the conference " << r YahooConferenceChatSession *session = new YahooConferenceChatSession( room, protocol(), myself(), others ); m_conferences[room] = session; - TQObject::connect( session, TQT_SIGNAL(leavingConference( YahooConferenceChatSession * ) ), this, TQT_SLOT( slotConfLeave( YahooConferenceChatSession * ) ) ); + TQObject::connect( session, TQ_SIGNAL(leavingConference( YahooConferenceChatSession * ) ), this, TQ_SLOT( slotConfLeave( YahooConferenceChatSession * ) ) ); session->joined( static_cast< YahooContact *>(myself()) ); session->view( true )->raise( false ); @@ -1478,7 +1478,7 @@ void YahooAccount::slotGotYABEntry( YABEntry *entry ) dlg->setData( *entry ); dlg->setAccountConnected( isConnected() ); dlg->show(); - TQObject::connect( dlg, TQT_SIGNAL(saveYABEntry( YABEntry & )), this, TQT_SLOT(slotSaveYABEntry( YABEntry & ))); + TQObject::connect( dlg, TQ_SIGNAL(saveYABEntry( YABEntry & )), this, TQ_SLOT(slotSaveYABEntry( YABEntry & ))); delete entry; } } @@ -1511,10 +1511,10 @@ void YahooAccount::slotGotFile( const TQString & who, const TQString & url , l if( m_pendingFileTransfers.empty() ) { - TQObject::connect( Kopete::TransferManager::transferManager(), TQT_SIGNAL( accepted( Kopete::Transfer *, const TQString& ) ), - this, TQT_SLOT( slotReceiveFileAccepted( Kopete::Transfer *, const TQString& ) ) ); - TQObject::connect( Kopete::TransferManager::transferManager(), TQT_SIGNAL( refused(const Kopete::FileTransferInfo& ) ), - this, TQT_SLOT( slotReceiveFileRefused( const Kopete::FileTransferInfo& ) ) ); + TQObject::connect( Kopete::TransferManager::transferManager(), TQ_SIGNAL( accepted( Kopete::Transfer *, const TQString& ) ), + this, TQ_SLOT( slotReceiveFileAccepted( Kopete::Transfer *, const TQString& ) ) ); + TQObject::connect( Kopete::TransferManager::transferManager(), TQ_SIGNAL( refused(const Kopete::FileTransferInfo& ) ), + this, TQ_SLOT( slotReceiveFileRefused( const Kopete::FileTransferInfo& ) ) ); } m_pendingFileTransfers.append( url ); } @@ -1541,14 +1541,14 @@ void YahooAccount::slotReceiveFileAccepted(Kopete::Transfer *transfer, const TQS m_session->receiveFile( transfer->info().transferId(), transfer->info().contact()->contactId(), transfer->info().internalId(), fileName ); m_fileTransfers.insert( transfer->info().transferId(), transfer ); - TQObject::connect( transfer, TQT_SIGNAL(result( TDEIO::Job * )), this, TQT_SLOT(slotFileTransferResult( TDEIO::Job * )) ); + TQObject::connect( transfer, TQ_SIGNAL(result( TDEIO::Job * )), this, TQ_SLOT(slotFileTransferResult( TDEIO::Job * )) ); if( m_pendingFileTransfers.empty() ) { - TQObject::disconnect( Kopete::TransferManager::transferManager(), TQT_SIGNAL( accepted( Kopete::Transfer *, const TQString& ) ), - this, TQT_SLOT( slotReceiveFileAccepted( Kopete::Transfer *, const TQString& ) ) ); - TQObject::disconnect( Kopete::TransferManager::transferManager(), TQT_SIGNAL( refused(const Kopete::FileTransferInfo& ) ), - this, TQT_SLOT( slotReceiveFileRefused( const Kopete::FileTransferInfo& ) ) ); + TQObject::disconnect( Kopete::TransferManager::transferManager(), TQ_SIGNAL( accepted( Kopete::Transfer *, const TQString& ) ), + this, TQ_SLOT( slotReceiveFileAccepted( Kopete::Transfer *, const TQString& ) ) ); + TQObject::disconnect( Kopete::TransferManager::transferManager(), TQ_SIGNAL( refused(const Kopete::FileTransferInfo& ) ), + this, TQ_SLOT( slotReceiveFileRefused( const Kopete::FileTransferInfo& ) ) ); } } @@ -1562,10 +1562,10 @@ void YahooAccount::slotReceiveFileRefused( const Kopete::FileTransferInfo& info if( m_pendingFileTransfers.empty() ) { - TQObject::disconnect( Kopete::TransferManager::transferManager(), TQT_SIGNAL( accepted( Kopete::Transfer *, const TQString& ) ), - this, TQT_SLOT( slotReceiveFileAccepted( Kopete::Transfer *, const TQString& ) ) ); - TQObject::disconnect( Kopete::TransferManager::transferManager(), TQT_SIGNAL( refused(const Kopete::FileTransferInfo& ) ), - this, TQT_SLOT( slotReceiveFileRefused( const Kopete::FileTransferInfo& ) ) ); + TQObject::disconnect( Kopete::TransferManager::transferManager(), TQ_SIGNAL( accepted( Kopete::Transfer *, const TQString& ) ), + this, TQ_SLOT( slotReceiveFileAccepted( Kopete::Transfer *, const TQString& ) ) ); + TQObject::disconnect( Kopete::TransferManager::transferManager(), TQ_SIGNAL( refused(const Kopete::FileTransferInfo& ) ), + this, TQ_SLOT( slotReceiveFileRefused( const Kopete::FileTransferInfo& ) ) ); } } @@ -1644,7 +1644,7 @@ void YahooAccount::slotMailNotify( const TQString& from, const TQString& subjec { TQObject::connect(KNotification::event( TQString::fromLatin1("yahoo_mail"), i18n( "You have one unread message in your Yahoo inbox.", "You have %n unread messages in your Yahoo inbox.", cnt ), TQPixmap() , 0 ), - TQT_SIGNAL(activated(unsigned int ) ) , this, TQT_SLOT( slotOpenInbox() ) ); + TQ_SIGNAL(activated(unsigned int ) ) , this, TQ_SLOT( slotOpenInbox() ) ); m_currentMailCount = cnt; } @@ -1652,7 +1652,7 @@ void YahooAccount::slotMailNotify( const TQString& from, const TQString& subjec { kdDebug(YAHOO_GEN_DEBUG) << "attempting to trigger event" << endl; TQObject::connect(KNotification::event( TQString::fromLatin1("yahoo_mail"), i18n( "You have a message from %1 in your Yahoo inbox. <br><br>Subject: %2").arg( from ).arg( subject ), - TQPixmap() , 0 ), TQT_SIGNAL(activated(unsigned int ) ) , this, TQT_SLOT( slotOpenInbox() ) ); + TQPixmap() , 0 ), TQ_SIGNAL(activated(unsigned int ) ) , this, TQ_SLOT( slotOpenInbox() ) ); m_currentMailCount = cnt; } @@ -1859,7 +1859,7 @@ void YahooAccount::slotWebcamReadyForTransmission() if( !m_webcam ) { m_webcam = new YahooWebcam( this ); - TQObject::connect( m_webcam, TQT_SIGNAL(webcamClosing()), this, TQT_SLOT(slotOutgoingWebcamClosing()) ); + TQObject::connect( m_webcam, TQ_SIGNAL(webcamClosing()), this, TQ_SLOT(slotOutgoingWebcamClosing()) ); } m_webcam->startTransmission(); @@ -1988,12 +1988,12 @@ void YahooAccount::slotJoinChatRoom() /* YahooChatSelectorDialog *chatDialog = new YahooChatSelectorDialog( Kopete::UI::Global::mainWidget() ); - TQObject::connect( m_session, TQT_SIGNAL(gotYahooChatCategories( const TQDomDocument & )), chatDialog, - TQT_SLOT(slotSetChatCategories( const TQDomDocument & )) ); - TQObject::connect( m_session, TQT_SIGNAL(gotYahooChatRooms( const Yahoo::ChatCategory &, const TQDomDocument & )), - chatDialog, TQT_SLOT(slotSetChatRooms( const Yahoo::ChatCategory &, const TQDomDocument & )) ); - TQObject::connect( chatDialog, TQT_SIGNAL(chatCategorySelected( const Yahoo::ChatCategory & )), - this, TQT_SLOT(slotChatCategorySelected( const Yahoo::ChatCategory & ) ) ); + TQObject::connect( m_session, TQ_SIGNAL(gotYahooChatCategories( const TQDomDocument & )), chatDialog, + TQ_SLOT(slotSetChatCategories( const TQDomDocument & )) ); + TQObject::connect( m_session, TQ_SIGNAL(gotYahooChatRooms( const Yahoo::ChatCategory &, const TQDomDocument & )), + chatDialog, TQ_SLOT(slotSetChatRooms( const Yahoo::ChatCategory &, const TQDomDocument & )) ); + TQObject::connect( chatDialog, TQ_SIGNAL(chatCategorySelected( const Yahoo::ChatCategory & )), + this, TQ_SLOT(slotChatCategorySelected( const Yahoo::ChatCategory & ) ) ); m_session->getYahooChatCategories(); if( chatDialog->exec() == TQDialog::Accepted ) @@ -2028,8 +2028,8 @@ void YahooAccount::slotChatJoined( int roomId, int categoryId, const TQString &c if( !m_chatChatSession ) { m_chatChatSession = new YahooChatChatSession( protocol(), myself(), others ); - TQObject::connect( m_chatChatSession, TQT_SIGNAL(closing(Kopete::ChatSession *)), this, - TQT_SLOT(slotLeavChat()) ); + TQObject::connect( m_chatChatSession, TQ_SIGNAL(closing(Kopete::ChatSession *)), this, + TQ_SLOT(slotLeavChat()) ); } m_chatChatSession->removeAllContacts(); m_chatChatSession->setHandle( handle ); |