diff options
Diffstat (limited to 'kopete/plugins/nowlistening/nowlisteningplugin.cpp')
-rw-r--r-- | kopete/plugins/nowlistening/nowlisteningplugin.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kopete/plugins/nowlistening/nowlisteningplugin.cpp b/kopete/plugins/nowlistening/nowlisteningplugin.cpp index 5e00790a..0a0457c2 100644 --- a/kopete/plugins/nowlistening/nowlisteningplugin.cpp +++ b/kopete/plugins/nowlistening/nowlisteningplugin.cpp @@ -92,15 +92,15 @@ NowListeningPlugin::NowListeningPlugin( TQObject *parent, const char* name, cons kdDebug(14307) << k_funcinfo << endl; // Connection for the "/media" command (always needed) - connect( Kopete::ChatSessionManager::self(), TQT_SIGNAL( - chatSessionCreated( Kopete::ChatSession * )) , TQT_SLOT( slotNewKMM( + connect( Kopete::ChatSessionManager::self(), TQ_SIGNAL( + chatSessionCreated( Kopete::ChatSession * )) , TQ_SLOT( slotNewKMM( Kopete::ChatSession * ) ) ); // If autoadvertising is on... connect(Kopete::ChatSessionManager::self(), - TQT_SIGNAL(aboutToSend(Kopete::Message&)), + TQ_SIGNAL(aboutToSend(Kopete::Message&)), this, - TQT_SLOT(slotOutgoingMessage(Kopete::Message&))); + TQ_SLOT(slotOutgoingMessage(Kopete::Message&))); TQValueList<Kopete::ChatSession*> sessions = Kopete::ChatSessionManager::self()->sessions(); for (TQValueListIterator<Kopete::ChatSession*> it= sessions.begin(); it!=sessions.end() ; ++it) @@ -131,16 +131,16 @@ NowListeningPlugin::NowListeningPlugin( TQObject *parent, const char* name, cons Kopete::CommandHandler::commandHandler()->registerCommand( this, "media", - TQT_SLOT( slotMediaCommand( const TQString &, Kopete::ChatSession * ) ), + TQ_SLOT( slotMediaCommand( const TQString &, Kopete::ChatSession * ) ), i18n("USAGE: /media - Displays information on current song"), 0 ); - connect ( this , TQT_SIGNAL( settingsChanged() ) , this , TQT_SLOT( slotSettingsChanged() ) ); + connect ( this , TQ_SIGNAL( settingsChanged() ) , this , TQ_SLOT( slotSettingsChanged() ) ); // Advert the accounts with the current listened track. d->advertTimer = new TQTimer(this); - connect(d->advertTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotAdvertCurrentMusic() ) ); + connect(d->advertTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotAdvertCurrentMusic() ) ); d->advertTimer->start(5000); // Update every 5 seconds } @@ -523,27 +523,27 @@ void NowListeningPlugin::slotSettingsChanged() updateCurrentMediaPlayer(); disconnect(Kopete::ChatSessionManager::self(), - TQT_SIGNAL(aboutToSend(Kopete::Message&)), + TQ_SIGNAL(aboutToSend(Kopete::Message&)), this, - TQT_SLOT(slotOutgoingMessage(Kopete::Message&))); + TQ_SLOT(slotOutgoingMessage(Kopete::Message&))); d->advertTimer->stop(); - disconnect(d->advertTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotAdvertCurrentMusic())); + disconnect(d->advertTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotAdvertCurrentMusic())); if( NowListeningConfig::self()->chatAdvertising() ) { kdDebug(14307) << k_funcinfo << "Now using chat window advertising." << endl; connect(Kopete::ChatSessionManager::self(), - TQT_SIGNAL(aboutToSend(Kopete::Message&)), + TQ_SIGNAL(aboutToSend(Kopete::Message&)), this, - TQT_SLOT(slotOutgoingMessage(Kopete::Message&))); + TQ_SLOT(slotOutgoingMessage(Kopete::Message&))); } else if( NowListeningConfig::self()->statusAdvertising() || NowListeningConfig::self()->appendStatusAdvertising() ) { kdDebug(14307) << k_funcinfo << "Now using status message advertising." << endl; - connect(d->advertTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotAdvertCurrentMusic())); + connect(d->advertTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotAdvertCurrentMusic())); d->advertTimer->start(5000); } } |