summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/statistics/statisticsplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/plugins/statistics/statisticsplugin.cpp')
-rw-r--r--kopete/plugins/statistics/statisticsplugin.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/kopete/plugins/statistics/statisticsplugin.cpp b/kopete/plugins/statistics/statisticsplugin.cpp
index c5eb2b5c..04aeee06 100644
--- a/kopete/plugins/statistics/statisticsplugin.cpp
+++ b/kopete/plugins/statistics/statisticsplugin.cpp
@@ -53,27 +53,27 @@ StatisticsPlugin::StatisticsPlugin( TQObject *parent, const char *name, const TQ
{
TDEAction *viewMetaContactStatistics = new TDEAction( i18n("View &Statistics" ),
- TQString::fromLatin1( "text-x-log" ), 0, this, TQT_SLOT(slotViewStatistics()),
+ TQString::fromLatin1( "text-x-log" ), 0, this, TQ_SLOT(slotViewStatistics()),
actionCollection(), "viewMetaContactStatistics" );
viewMetaContactStatistics->setEnabled(Kopete::ContactList::self()->selectedMetaContacts().count() == 1);
- connect(Kopete::ChatSessionManager::self(),TQT_SIGNAL(chatSessionCreated(Kopete::ChatSession*)),
- this, TQT_SLOT(slotViewCreated(Kopete::ChatSession*)));
- connect(Kopete::ChatSessionManager::self(),TQT_SIGNAL(aboutToReceive(Kopete::Message&)),
- this, TQT_SLOT(slotAboutToReceive(Kopete::Message&)));
+ connect(Kopete::ChatSessionManager::self(),TQ_SIGNAL(chatSessionCreated(Kopete::ChatSession*)),
+ this, TQ_SLOT(slotViewCreated(Kopete::ChatSession*)));
+ connect(Kopete::ChatSessionManager::self(),TQ_SIGNAL(aboutToReceive(Kopete::Message&)),
+ this, TQ_SLOT(slotAboutToReceive(Kopete::Message&)));
- connect(Kopete::ContactList::self(), TQT_SIGNAL(metaContactSelected(bool)),
- viewMetaContactStatistics, TQT_SLOT(setEnabled(bool)));
- connect(Kopete::ContactList::self(), TQT_SIGNAL(metaContactAdded(Kopete::MetaContact*)),
- this, TQT_SLOT(slotMetaContactAdded(Kopete::MetaContact*)));
- connect(Kopete::ContactList::self(), TQT_SIGNAL(metaContactRemoved(Kopete::MetaContact*)),
- this, TQT_SLOT(slotMetaContactRemoved(Kopete::MetaContact*)));
+ connect(Kopete::ContactList::self(), TQ_SIGNAL(metaContactSelected(bool)),
+ viewMetaContactStatistics, TQ_SLOT(setEnabled(bool)));
+ connect(Kopete::ContactList::self(), TQ_SIGNAL(metaContactAdded(Kopete::MetaContact*)),
+ this, TQ_SLOT(slotMetaContactAdded(Kopete::MetaContact*)));
+ connect(Kopete::ContactList::self(), TQ_SIGNAL(metaContactRemoved(Kopete::MetaContact*)),
+ this, TQ_SLOT(slotMetaContactRemoved(Kopete::MetaContact*)));
setXMLFile("statisticsui.rc");
/* Initialization reads the database, so it could be a bit time-consuming
due to disk access. This should overcome the problem and makes it non-blocking. */
- TQTimer::singleShot(0, this, TQT_SLOT(slotInitialize()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotInitialize()));
}
void StatisticsPlugin::slotInitialize()
@@ -107,7 +107,7 @@ void StatisticsPlugin::slotAboutToReceive(Kopete::Message& m)
void StatisticsPlugin::slotViewCreated(Kopete::ChatSession* session)
{
- connect(session, TQT_SIGNAL(closing(Kopete::ChatSession*)), this, TQT_SLOT(slotViewClosed(Kopete::ChatSession*)));
+ connect(session, TQ_SIGNAL(closing(Kopete::ChatSession*)), this, TQ_SLOT(slotViewClosed(Kopete::ChatSession*)));
}
void StatisticsPlugin::slotViewClosed(Kopete::ChatSession* session)
@@ -154,12 +154,12 @@ void StatisticsPlugin::slotMetaContactAdded(Kopete::MetaContact *mc)
this->slotContactAdded(contact);
}
- connect(mc, TQT_SIGNAL(onlineStatusChanged( Kopete::MetaContact *, Kopete::OnlineStatus::StatusType)), this,
- TQT_SLOT(slotOnlineStatusChanged(Kopete::MetaContact*, Kopete::OnlineStatus::StatusType)));
- connect(mc, TQT_SIGNAL(contactAdded( Kopete::Contact *)), this,
- TQT_SLOT(slotContactAdded( Kopete::Contact *)));
- connect(mc, TQT_SIGNAL(contactRemoved( Kopete::Contact *)), this,
- TQT_SLOT(slotContactRemoved( Kopete::Contact *)));
+ connect(mc, TQ_SIGNAL(onlineStatusChanged( Kopete::MetaContact *, Kopete::OnlineStatus::StatusType)), this,
+ TQ_SLOT(slotOnlineStatusChanged(Kopete::MetaContact*, Kopete::OnlineStatus::StatusType)));
+ connect(mc, TQ_SIGNAL(contactAdded( Kopete::Contact *)), this,
+ TQ_SLOT(slotContactAdded( Kopete::Contact *)));
+ connect(mc, TQ_SIGNAL(contactRemoved( Kopete::Contact *)), this,
+ TQ_SLOT(slotContactRemoved( Kopete::Contact *)));
}
void StatisticsPlugin::slotMetaContactRemoved(Kopete::MetaContact *mc)