diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:49:40 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:49:40 -0600 |
commit | 808e453c56036211f57482ed847d54aca01bba68 (patch) | |
tree | 75515d5768dea10d4fbe4cd772e0a89c1c4b3aa9 /kopete/plugins/smpppdcs/detectornetworkstatus.cpp | |
parent | cd9b9ed7fd0ac8a75106148254aa58e2e5c04863 (diff) | |
download | tdenetwork-808e453c56036211f57482ed847d54aca01bba68.tar.gz tdenetwork-808e453c56036211f57482ed847d54aca01bba68.zip |
Rename a number of old tq methods that are no longer tq specific
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 e8af4158..e2b1ae19 100644 --- a/kopete/plugins/smpppdcs/detectornetworkstatus.cpp +++ b/kopete/plugins/smpppdcs/detectornetworkstatus.cpp @@ -22,44 +22,44 @@ #include "iconnector.h" #include "detectornetworkstatus.h" -DetectorNetworktqStatus::DetectorNetworktqStatus(IConnector* connector) +DetectorNetworkStatus::DetectorNetworkStatus(IConnector* connector) : Detector(connector), m_connManager(NULL) { m_connManager = ConnectionManager::self(); - connect(m_connManager, TQT_SIGNAL(statusChanged(const TQString&, NetworktqStatus::EnumtqStatus)), - this, TQT_SLOT(statusChanged(const TQString&, NetworktqStatus::EnumtqStatus))); + connect(m_connManager, TQT_SIGNAL(statusChanged(const TQString&, NetworkStatus::EnumStatus)), + this, TQT_SLOT(statusChanged(const TQString&, NetworkStatus::EnumStatus))); } -DetectorNetworktqStatus::~DetectorNetworktqStatus() {} +DetectorNetworkStatus::~DetectorNetworkStatus() {} -void DetectorNetworktqStatus::checktqStatus() const { +void DetectorNetworkStatus::checkStatus() const { // needs to do nothing } -void DetectorNetworktqStatus::statusChanged(const TQString& host, NetworktqStatus::EnumtqStatus status) { +void DetectorNetworkStatus::statusChanged(const TQString& host, NetworkStatus::EnumStatus status) { switch(status) { - case NetworktqStatus::Offline: + case NetworkStatus::Offline: kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::Offline" << endl; break; - case NetworktqStatus::OfflineFailed: + case NetworkStatus::OfflineFailed: kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::OfflineFailed" << endl; break; - case NetworktqStatus::OfflineDisconnected: + case NetworkStatus::OfflineDisconnected: kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::OfflineDisconnected" << endl; break; - case NetworktqStatus::ShuttingDown: + case NetworkStatus::ShuttingDown: kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::ShuttingDown" << endl; break; - case NetworktqStatus::Establishing: + case NetworkStatus::Establishing: kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::Establishing" << endl; break; - case NetworktqStatus::Online: + case NetworkStatus::Online: kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::Online" << endl; break; - case NetworktqStatus::NoNetworks: + case NetworkStatus::NoNetworks: kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::NoNetworks" << endl; break; - case NetworktqStatus::Unreachable: + case NetworkStatus::Unreachable: kdDebug(14312) << k_funcinfo << host << ": NetworkStatus::Unreachable" << endl; break; } |