diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:34 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:34 -0600 |
commit | 83677e35509b4dafac63b76995652bdf3b49f209 (patch) | |
tree | 591f1dc22278addb439726c42896376b17bb42bd /kopete/plugins/smpppdcs/detectornetworkstatus.cpp | |
parent | 808e453c56036211f57482ed847d54aca01bba68 (diff) | |
download | tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.tar.gz tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 808e453c56036211f57482ed847d54aca01bba68.
Diffstat (limited to 'kopete/plugins/smpppdcs/detectornetworkstatus.cpp')
-rw-r--r-- | kopete/plugins/smpppdcs/detectornetworkstatus.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kopete/plugins/smpppdcs/detectornetworkstatus.cpp b/kopete/plugins/smpppdcs/detectornetworkstatus.cpp index e2b1ae19..e8af4158 100644 --- a/kopete/plugins/smpppdcs/detectornetworkstatus.cpp +++ b/kopete/plugins/smpppdcs/detectornetworkstatus.cpp @@ -22,44 +22,44 @@ #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: + case NetworktqStatus::Offline: kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::Offline" << endl; break; - case NetworkStatus::OfflineFailed: + case NetworktqStatus::OfflineFailed: kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::OfflineFailed" << endl; break; - case NetworkStatus::OfflineDisconnected: + case NetworktqStatus::OfflineDisconnected: kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::OfflineDisconnected" << endl; break; - case NetworkStatus::ShuttingDown: + case NetworktqStatus::ShuttingDown: kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::ShuttingDown" << endl; break; - case NetworkStatus::Establishing: + case NetworktqStatus::Establishing: kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::Establishing" << endl; break; - case NetworkStatus::Online: + case NetworktqStatus::Online: kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::Online" << endl; break; - case NetworkStatus::NoNetworks: + case NetworktqStatus::NoNetworks: kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::NoNetworks" << endl; break; - case NetworkStatus::Unreachable: + case NetworktqStatus::Unreachable: kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::Unreachable" << endl; break; } |