summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/smpppdcs/detectornetworkstatus.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/plugins/smpppdcs/detectornetworkstatus.cpp
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/plugins/smpppdcs/detectornetworkstatus.cpp')
-rw-r--r--kopete/plugins/smpppdcs/detectornetworkstatus.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/kopete/plugins/smpppdcs/detectornetworkstatus.cpp b/kopete/plugins/smpppdcs/detectornetworkstatus.cpp
index e2b1ae19..a6fd2cb6 100644
--- a/kopete/plugins/smpppdcs/detectornetworkstatus.cpp
+++ b/kopete/plugins/smpppdcs/detectornetworkstatus.cpp
@@ -22,45 +22,45 @@
#include "iconnector.h"
#include "detectornetworkstatus.h"
-DetectorNetworkStatus::DetectorNetworkStatus(IConnector* connector)
+DetectorNetworktqStatus::DetectorNetworktqStatus(IConnector* connector)
: Detector(connector), m_connManager(NULL) {
m_connManager = ConnectionManager::self();
- connect(m_connManager, TQT_SIGNAL(statusChanged(const TQString&, NetworkStatus::EnumStatus)),
- this, TQT_SLOT(statusChanged(const TQString&, NetworkStatus::EnumStatus)));
+ connect(m_connManager, TQT_SIGNAL(statusChanged(const TQString&, NetworktqStatus::EnumtqStatus)),
+ this, TQT_SLOT(statusChanged(const TQString&, NetworktqStatus::EnumtqStatus)));
}
-DetectorNetworkStatus::~DetectorNetworkStatus() {}
+DetectorNetworktqStatus::~DetectorNetworktqStatus() {}
-void DetectorNetworkStatus::checkStatus() const {
+void DetectorNetworktqStatus::checktqStatus() const {
// needs to do nothing
}
-void DetectorNetworkStatus::statusChanged(const TQString& host, NetworkStatus::EnumStatus status) {
+void DetectorNetworktqStatus::statusChanged(const TQString& host, NetworktqStatus::EnumtqStatus status) {
switch(status) {
- case NetworkStatus::Offline:
- kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::Offline" << endl;
+ case NetworktqStatus::Offline:
+ kdDebug(14312) << k_funcinfo << host << ": NetworktqStatus::Offline" << endl;
break;
- case NetworkStatus::OfflineFailed:
- kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::OfflineFailed" << endl;
+ case NetworktqStatus::OfflineFailed:
+ kdDebug(14312) << k_funcinfo << host << ": NetworktqStatus::OfflineFailed" << endl;
break;
- case NetworkStatus::OfflineDisconnected:
- kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::OfflineDisconnected" << endl;
+ case NetworktqStatus::OfflineDisconnected:
+ kdDebug(14312) << k_funcinfo << host << ": NetworktqStatus::OfflineDisconnected" << endl;
break;
- case NetworkStatus::ShuttingDown:
- kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::ShuttingDown" << endl;
+ case NetworktqStatus::ShuttingDown:
+ kdDebug(14312) << k_funcinfo << host << ": NetworktqStatus::ShuttingDown" << endl;
break;
- case NetworkStatus::Establishing:
- kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::Establishing" << endl;
+ case NetworktqStatus::Establishing:
+ kdDebug(14312) << k_funcinfo << host << ": NetworktqStatus::Establishing" << endl;
break;
- case NetworkStatus::Online:
- kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::Online" << endl;
+ case NetworktqStatus::Online:
+ kdDebug(14312) << k_funcinfo << host << ": NetworktqStatus::Online" << endl;
break;
- case NetworkStatus::NoNetworks:
- kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::NoNetworks" << endl;
+ case NetworktqStatus::NoNetworks:
+ kdDebug(14312) << k_funcinfo << host << ": NetworktqStatus::NoNetworks" << endl;
break;
- case NetworkStatus::Unreachable:
- kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::Unreachable" << endl;
+ case NetworktqStatus::Unreachable:
+ kdDebug(14312) << k_funcinfo << host << ": NetworktqStatus::Unreachable" << endl;
break;
}
}