diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /networkstatus/network.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'networkstatus/network.cpp')
-rw-r--r-- | networkstatus/network.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/networkstatus/network.cpp b/networkstatus/network.cpp index c1aacafc4..fcb4a6f51 100644 --- a/networkstatus/network.cpp +++ b/networkstatus/network.cpp @@ -23,7 +23,7 @@ #include "network.h" -Network::Network( const QString name, NetworkStatus::Properties properties ) +Network::Network( const TQString name, NetworkStatus::Properties properties ) : m_name( name ) { kdDebug() << k_funcinfo << "constructing network '" << name << "', status: " << properties.status << endl; @@ -34,7 +34,7 @@ Network::Network( const QString name, NetworkStatus::Properties properties ) m_onDemandPolicy = properties.onDemandPolicy; } -NetworkStatus::EnumStatus Network::reachabilityFor( const QString & host ) +NetworkStatus::EnumStatus Network::reachabilityFor( const TQString & host ) { // initially assume all networks are internet // TODO: compute reachability properly @@ -53,7 +53,7 @@ NetworkStatus::EnumStatus Network::reachabilityFor( const QString & host ) } } -void Network::registerUsage( const QCString appId, const QString host ) +void Network::registerUsage( const TQCString appId, const TQString host ) { NetworkUsageStruct nus; nus.appId = appId; @@ -68,7 +68,7 @@ void Network::registerUsage( const QCString appId, const QString host ) m_usage.append( nus ); } -void Network::unregisterUsage( const QCString appId, const QString host ) +void Network::unregisterUsage( const TQCString appId, const TQString host ) { NetworkUsageList::iterator end = m_usage.end(); for ( NetworkUsageList::iterator it = m_usage.begin(); it != end; ++it ) |