summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/smpppdcs
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/plugins/smpppdcs')
-rw-r--r--kopete/plugins/smpppdcs/detectornetstat.cpp2
-rw-r--r--kopete/plugins/smpppdcs/smpppdcsplugin.cpp4
-rw-r--r--kopete/plugins/smpppdcs/smpppdcspreferences.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/kopete/plugins/smpppdcs/detectornetstat.cpp b/kopete/plugins/smpppdcs/detectornetstat.cpp
index a08f2c4f..ca800e7f 100644
--- a/kopete/plugins/smpppdcs/detectornetstat.cpp
+++ b/kopete/plugins/smpppdcs/detectornetstat.cpp
@@ -66,7 +66,7 @@ void DetectorNetstat::slotProcessStdout(KProcess *, char *buffer, int buflen) {
void DetectorNetstat::slotProcessExited(KProcess *process) {
kdDebug(14312) << k_funcinfo << m_buffer << endl;
if(process == m_process) {
- m_connector->setConnectedtqStatus(m_buffer.tqcontains("default"));
+ m_connector->setConnectedtqStatus(m_buffer.contains("default"));
m_buffer = TQString();
delete m_process;
m_process = 0L;
diff --git a/kopete/plugins/smpppdcs/smpppdcsplugin.cpp b/kopete/plugins/smpppdcs/smpppdcsplugin.cpp
index 14f133c1..01aac790 100644
--- a/kopete/plugins/smpppdcs/smpppdcsplugin.cpp
+++ b/kopete/plugins/smpppdcs/smpppdcsplugin.cpp
@@ -153,7 +153,7 @@ void SMPPPDCSPlugin::connectAllowed() {
}
#endif
- if(!list.tqcontains(it.current()->protocol()->pluginId() + "_" + it.current()->
+ if(!list.contains(it.current()->protocol()->pluginId() + "_" + it.current()->
accountId())) {
it.current()->connect();
}
@@ -178,7 +178,7 @@ void SMPPPDCSPlugin::disconnectAllowed() {
}
#endif
- if(!list.tqcontains(it.current()->protocol()->pluginId() + "_" + it.current()->accountId())) {
+ if(!list.contains(it.current()->protocol()->pluginId() + "_" + it.current()->accountId())) {
it.current()->disconnect();
}
}
diff --git a/kopete/plugins/smpppdcs/smpppdcspreferences.cpp b/kopete/plugins/smpppdcs/smpppdcspreferences.cpp
index de950965..944779f1 100644
--- a/kopete/plugins/smpppdcs/smpppdcspreferences.cpp
+++ b/kopete/plugins/smpppdcs/smpppdcspreferences.cpp
@@ -134,7 +134,7 @@ void SMPPPDCSPreferences::load()
while(it.current()) {
TQCheckListItem * cli = dynamic_cast<TQCheckListItem *>(it.current());
if(rex.search(cli->text(0)) > -1) {
- bool isOn = list.tqcontains(rex.cap(2) + "Protocol_" + rex.cap(1));
+ bool isOn = list.contains(rex.cap(2) + "Protocol_" + rex.cap(1));
// m_accountMapOld[cli->text(0)].m_on = isOn;
m_accountMapCur[cli->text(0)].m_on = isOn;
cli->setOn(isOn);