summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/smpppdcs/smpppdcsprefsimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/plugins/smpppdcs/smpppdcsprefsimpl.cpp')
-rw-r--r--kopete/plugins/smpppdcs/smpppdcsprefsimpl.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kopete/plugins/smpppdcs/smpppdcsprefsimpl.cpp b/kopete/plugins/smpppdcs/smpppdcsprefsimpl.cpp
index 5a834c97..4dbedc54 100644
--- a/kopete/plugins/smpppdcs/smpppdcsprefsimpl.cpp
+++ b/kopete/plugins/smpppdcs/smpppdcsprefsimpl.cpp
@@ -17,7 +17,7 @@
#include <arpa/inet.h>
#include <netdb.h>
-#include <qradiobutton.h>
+#include <tqradiobutton.h>
#include <kstandarddirs.h>
#include <kapplication.h>
@@ -35,7 +35,7 @@
#include "smpppdcsprefsimpl.h"
#include "smpppdsearcher.h"
-SMPPPDCSPrefs::SMPPPDCSPrefs(QWidget* parent, const char* name, WFlags fl)
+SMPPPDCSPrefs::SMPPPDCSPrefs(TQWidget* parent, const char* name, WFlags fl)
: SMPPPDCSPrefsBase(parent, name, fl), m_plugin(NULL), m_scanProgressDlg(NULL), m_curSearcher(NULL) {
// search for our main-plugin instance
@@ -45,17 +45,17 @@ SMPPPDCSPrefs::SMPPPDCSPrefs(QWidget* parent, const char* name, WFlags fl)
}
// signals and slots connections
- connect(useNetstat, SIGNAL(toggled(bool)), this, SLOT(disableSMPPPDSettings()));
- connect(useSmpppd, SIGNAL(toggled(bool)), this, SLOT(enableSMPPPDSettings()));
- connect(autoCSTest, SIGNAL(clicked()), this, SLOT(determineCSType()));
+ connect(useNetstat, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(disableSMPPPDSettings()));
+ connect(useSmpppd, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(enableSMPPPDSettings()));
+ connect(autoCSTest, TQT_SIGNAL(clicked()), this, TQT_SLOT(determineCSType()));
if(m_plugin) {
- connect((QObject *)SMPPPDLocation->server, SIGNAL(textChanged(const QString&)),
- m_plugin, SLOT(smpppdServerChanged(const QString&)));
+ connect((TQObject *)SMPPPDLocation->server, TQT_SIGNAL(textChanged(const TQString&)),
+ m_plugin, TQT_SLOT(smpppdServerChanged(const TQString&)));
}
// if netstat is NOT available, disable the option and set to SMPPPD
- if(KStandardDirs::findExe("netstat") == QString::null) {
+ if(KStandardDirs::findExe("netstat") == TQString::null) {
autoCSTest->setEnabled(FALSE);
useNetstat->setEnabled(FALSE);
useNetstat->setChecked(FALSE);
@@ -79,11 +79,11 @@ void SMPPPDCSPrefs::determineCSType() {
SMPPPDSearcher searcher;
m_curSearcher = &searcher;
- connect(&searcher, SIGNAL(smpppdFound(const QString&)), this, SLOT(smpppdFound(const QString&)));
- connect(&searcher, SIGNAL(smpppdNotFound()), this, SLOT(smpppdNotFound()));
- connect(&searcher, SIGNAL(scanStarted(uint)), this, SLOT(scanStarted(uint)));
- connect(&searcher, SIGNAL(scanProgress(uint)), this, SLOT(scanProgress(uint)));
- connect(&searcher, SIGNAL(scanFinished()), this, SLOT(scanFinished()));
+ connect(&searcher, TQT_SIGNAL(smpppdFound(const TQString&)), this, TQT_SLOT(smpppdFound(const TQString&)));
+ connect(&searcher, TQT_SIGNAL(smpppdNotFound()), this, TQT_SLOT(smpppdNotFound()));
+ connect(&searcher, TQT_SIGNAL(scanStarted(uint)), this, TQT_SLOT(scanStarted(uint)));
+ connect(&searcher, TQT_SIGNAL(scanProgress(uint)), this, TQT_SLOT(scanProgress(uint)));
+ connect(&searcher, TQT_SIGNAL(scanFinished()), this, TQT_SLOT(scanFinished()));
searcher.searchNetwork();
m_curSearcher = NULL;
@@ -99,7 +99,7 @@ void SMPPPDCSPrefs::scanStarted(uint total) {
m_scanProgressDlg->setAllowCancel(TRUE);
m_scanProgressDlg->setMinimumDuration(2000);
- connect(m_scanProgressDlg, SIGNAL(cancelClicked()), this, SLOT(cancelScanning()));
+ connect(m_scanProgressDlg, TQT_SIGNAL(cancelClicked()), this, TQT_SLOT(cancelScanning()));
}
m_scanProgressDlg->progressBar()->setTotalSteps(total);
m_scanProgressDlg->progressBar()->setProgress(0);
@@ -117,10 +117,10 @@ void SMPPPDCSPrefs::cancelScanning() {
m_curSearcher->cancelSearch();
}
-void SMPPPDCSPrefs::smpppdFound(const QString& host) {
+void SMPPPDCSPrefs::smpppdFound(const TQString& host) {
kdDebug(14312) << k_funcinfo << endl;
- QString myHost = host;
+ TQString myHost = host;
// try to get the domain name
struct in_addr addr;