summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/smpppdcs/smpppdcsplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/plugins/smpppdcs/smpppdcsplugin.cpp')
-rw-r--r--kopete/plugins/smpppdcs/smpppdcsplugin.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kopete/plugins/smpppdcs/smpppdcsplugin.cpp b/kopete/plugins/smpppdcs/smpppdcsplugin.cpp
index 2ed8455c..f17f2ca9 100644
--- a/kopete/plugins/smpppdcs/smpppdcsplugin.cpp
+++ b/kopete/plugins/smpppdcs/smpppdcsplugin.cpp
@@ -19,7 +19,7 @@
#include "onlineinquiry.h"
#include "smpppdcsplugin.h"
-#include <qtimer.h>
+#include <tqtimer.h>
#include <kdebug.h>
#include <kgenericfactory.h>
@@ -37,7 +37,7 @@
typedef KGenericFactory<SMPPPDCSPlugin> SMPPPDCSPluginFactory;
K_EXPORT_COMPONENT_FACTORY(kopete_smpppdcs, SMPPPDCSPluginFactory("kopete_smpppdcs"))
-SMPPPDCSPlugin::SMPPPDCSPlugin(QObject *parent, const char * name, const QStringList& /* args */)
+SMPPPDCSPlugin::SMPPPDCSPlugin(TQObject *parent, const char * name, const TQStringList& /* args */)
: DCOPObject("SMPPPDCSIface"), Kopete::Plugin(SMPPPDCSPluginFactory::instance(), parent, name),
m_detectorSMPPPD(NULL), m_detectorNetstat(NULL), m_detectorNetworkStatus(NULL), m_timer(NULL),
m_onlineInquiry(NULL) {
@@ -56,13 +56,13 @@ m_onlineInquiry(NULL) {
// we wait for the allPluginsLoaded signal, to connect
// as early as possible after startup, but not before
// all accounts are ready
- connect(Kopete::PluginManager::self(), SIGNAL(allPluginsLoaded()),
- this, SLOT(allPluginsLoaded()));
+ connect(Kopete::PluginManager::self(), TQT_SIGNAL(allPluginsLoaded()),
+ this, TQT_SLOT(allPluginsLoaded()));
// if kopete was already running and the plugin
// was loaded later, we check once after 15 secs
// if all other plugins have been loaded
- QTimer::singleShot(15000, this, SLOT(allPluginsLoaded()));
+ TQTimer::singleShot(15000, this, TQT_SLOT(allPluginsLoaded()));
}
SMPPPDCSPlugin::~SMPPPDCSPlugin() {
@@ -79,8 +79,8 @@ SMPPPDCSPlugin::~SMPPPDCSPlugin() {
void SMPPPDCSPlugin::allPluginsLoaded() {
if(Kopete::PluginManager::self()->isAllPluginsLoaded()) {
- m_timer = new QTimer();
- connect(m_timer, SIGNAL(timeout()), this, SLOT(slotCheckStatus()));
+ m_timer = new TQTimer();
+ connect(m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotCheckStatus()));
if(SMPPPDCSConfig::self()->useSmpppd()) {
m_timer->start(30000);
@@ -137,10 +137,10 @@ void SMPPPDCSPlugin::setConnectedStatus( bool connected ) {
void SMPPPDCSPlugin::connectAllowed() {
- QStringList list = SMPPPDCSConfig::self()->ignoredAccounts();
+ TQStringList list = SMPPPDCSConfig::self()->ignoredAccounts();
Kopete::AccountManager * m = Kopete::AccountManager::self();
- for(QPtrListIterator<Kopete::Account> it(m->accounts())
+ for(TQPtrListIterator<Kopete::Account> it(m->accounts())
;
it.current();
++it) {
@@ -162,10 +162,10 @@ void SMPPPDCSPlugin::connectAllowed() {
void SMPPPDCSPlugin::disconnectAllowed() {
- QStringList list = SMPPPDCSConfig::self()->ignoredAccounts();
+ TQStringList list = SMPPPDCSConfig::self()->ignoredAccounts();
Kopete::AccountManager * m = Kopete::AccountManager::self();
- for(QPtrListIterator<Kopete::Account> it(m->accounts())
+ for(TQPtrListIterator<Kopete::Account> it(m->accounts())
;
it.current();
++it) {
@@ -184,7 +184,7 @@ void SMPPPDCSPlugin::disconnectAllowed() {
}
}
-QString SMPPPDCSPlugin::detectionMethod() const {
+TQString SMPPPDCSPlugin::detectionMethod() const {
if(SMPPPDCSConfig::self()->useSmpppd()) {
return "smpppd";
} else {
@@ -193,11 +193,11 @@ QString SMPPPDCSPlugin::detectionMethod() const {
}
/*!
- \fn SMPPPDCSPlugin::smpppdServerChanged(const QString& server)
+ \fn SMPPPDCSPlugin::smpppdServerChanged(const TQString& server)
*/
-void SMPPPDCSPlugin::smpppdServerChanged(const QString& server) {
+void SMPPPDCSPlugin::smpppdServerChanged(const TQString& server) {
- QString oldServer = SMPPPDCSConfig::self()->server().utf8();
+ TQString oldServer = SMPPPDCSConfig::self()->server().utf8();
if(oldServer != server) {
kdDebug(14312) << k_funcinfo << "Detected a server change" << endl;