summaryrefslogtreecommitdiffstats
path: root/networkstatus/network.h
diff options
context:
space:
mode:
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;
};