diff options
Diffstat (limited to 'knetload/knetproc.h')
-rw-r--r-- | knetload/knetproc.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/knetload/knetproc.h b/knetload/knetproc.h index ea5ec8b..4ca8a95 100644 --- a/knetload/knetproc.h +++ b/knetload/knetproc.h @@ -14,8 +14,8 @@ #ifndef __KNETPROC_H #define __KNETPROC_H -#include <qglobal.h> -#include <qstring.h> +#include <tqglobal.h> +#include <tqstring.h> /** * A class used to read raw network throughput details from the system. @@ -46,12 +46,12 @@ public: * * An initial set of total traffic readings will be taken. */ - void setDevice(const QString &interface); + void setDevice(const TQString &interface); /** * Returns the network device currently being monitored. */ - QString getDevice() const; + TQString getDevice() const; /** * Takes a fresh set of throughput readings. The values returned by @@ -86,7 +86,7 @@ private: /** * Device and results of readings. */ - QString device; + TQString device; /**< The interface name of the device to monitor. */ float currIn, currOut; /**< Total traffic in bytes from the last reading. */ @@ -122,7 +122,7 @@ private: // ========== Linux specific (end) ========== }; -inline QString KNetProc::getDevice() const { +inline TQString KNetProc::getDevice() const { return device; } |