summaryrefslogtreecommitdiffstats
path: root/networkstatus/network.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /networkstatus/network.h
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'networkstatus/network.h')
-rw-r--r--networkstatus/network.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/networkstatus/network.h b/networkstatus/network.h
index dcd2cd339..819c4d80d 100644
--- a/networkstatus/network.h
+++ b/networkstatus/network.h
@@ -37,30 +37,30 @@ typedef TQValueList< NetworkUsageStruct > NetworkUsageList;
class Network
{
public:
- Network( const TQString name, NetworkStatus::Properties properties );
+ Network( const TQString name, NetworktqStatus::Properties properties );
Network( const Network & other );
- NetworkStatus::EnumStatus reachabilityFor( const TQString & host );
+ NetworktqStatus::EnumtqStatus reachabilityFor( const TQString & host );
void registerUsage( const TQCString appId, const TQString host );
void unregisterUsage( const TQCString appId, const TQString host );
- void setStatus( NetworkStatus::EnumStatus status );
+ void setStatus( NetworktqStatus::EnumtqStatus status );
void removeAllUsage();
- NetworkStatus::EnumStatus status() { return m_status; }
+ NetworktqStatus::EnumtqStatus status() { return m_status; }
TQString name() { return m_name; }
bool internet() { return m_internet; }
- TQStringList netmasks() { return m_netmasks; }
+ TQStringList nettqmasks() { return m_nettqmasks; }
TQCString service() { return m_service; }
- NetworkStatus::EnumOnDemandPolicy onDemandPolicy() { return m_onDemandPolicy; }
+ NetworktqStatus::EnumOnDemandPolicy onDemandPolicy() { return m_onDemandPolicy; }
NetworkUsageList usage() { return m_usage; }
private:
- NetworkStatus::EnumStatus m_status;
+ NetworktqStatus::EnumtqStatus m_status;
TQString m_name;
bool m_internet;
- TQStringList m_netmasks;
+ TQStringList m_nettqmasks;
TQCString m_service;
- NetworkStatus::EnumOnDemandPolicy m_onDemandPolicy;
+ NetworktqStatus::EnumOnDemandPolicy m_onDemandPolicy;
NetworkUsageList m_usage;
};