diff options
Diffstat (limited to 'kopete/plugins/smpppdcs/detectornetworkstatus.cpp')
-rw-r--r-- | kopete/plugins/smpppdcs/detectornetworkstatus.cpp | 44 |
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; } } |