summaryrefslogtreecommitdiffstats
path: root/networkstatus/network.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /networkstatus/network.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-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.h')
-rw-r--r--networkstatus/network.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/networkstatus/network.h b/networkstatus/network.h
index c5162f10d..dcd2cd339 100644
--- a/networkstatus/network.h
+++ b/networkstatus/network.h
@@ -22,44 +22,44 @@
#ifndef NETWORKSTATUS_NETWORK_H
#define NETWORKSTATUS_NETWORK_H
-#include <qstringlist.h>
+#include <tqstringlist.h>
#include <ksharedptr.h>
#include "networkstatuscommon.h"
struct NetworkUsageStruct
{
- QCString appId;
- QString host;
+ TQCString appId;
+ TQString host;
};
-typedef QValueList< NetworkUsageStruct > NetworkUsageList;
+typedef TQValueList< NetworkUsageStruct > NetworkUsageList;
class Network
{
public:
- Network( const QString name, NetworkStatus::Properties properties );
+ Network( const TQString name, NetworkStatus::Properties properties );
Network( const Network & other );
- NetworkStatus::EnumStatus reachabilityFor( const QString & host );
- void registerUsage( const QCString appId, const QString host );
- void unregisterUsage( const QCString appId, const QString host );
+ NetworkStatus::EnumStatus 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 removeAllUsage();
NetworkStatus::EnumStatus status() { return m_status; }
- QString name() { return m_name; }
+ TQString name() { return m_name; }
bool internet() { return m_internet; }
- QStringList netmasks() { return m_netmasks; }
- QCString service() { return m_service; }
+ TQStringList netmasks() { return m_netmasks; }
+ TQCString service() { return m_service; }
NetworkStatus::EnumOnDemandPolicy onDemandPolicy() { return m_onDemandPolicy; }
NetworkUsageList usage() { return m_usage; }
private:
NetworkStatus::EnumStatus m_status;
- QString m_name;
+ TQString m_name;
bool m_internet;
- QStringList m_netmasks;
- QCString m_service;
+ TQStringList m_netmasks;
+ TQCString m_service;
NetworkStatus::EnumOnDemandPolicy m_onDemandPolicy;
NetworkUsageList m_usage;
};