diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 18:16:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 18:16:06 +0000 |
commit | 02a6c8f36311eb6225066df35adf8d00f9cd942b (patch) | |
tree | ceb91c373877f7a69209e184c81b53dc6f9402d7 /src/knemod/global.h | |
parent | 09e6e27fe85b2efb28072f1c81f6581fa6837d92 (diff) | |
download | knemo-02a6c8f36311eb6225066df35adf8d00f9cd942b.tar.gz knemo-02a6c8f36311eb6225066df35adf8d00f9cd942b.zip |
TQt4 port knemo
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knemo@1238869 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/knemod/global.h')
-rw-r--r-- | src/knemod/global.h | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/src/knemod/global.h b/src/knemod/global.h index d00a54e..e2af79d 100644 --- a/src/knemod/global.h +++ b/src/knemod/global.h @@ -20,9 +20,9 @@ #ifndef GLOBAL_H #define GLOBAL_H -#include <qpair.h> -#include <qcolor.h> -#include <qstring.h> +#include <tqpair.h> +#include <tqcolor.h> +#include <tqstring.h> /** * This file contains data structures and enums used in the knemo daemon. @@ -36,7 +36,7 @@ struct GeneralData int toolTipContent; int pollInterval; int saveInterval; - QString statisticsDir; + TQString statisticsDir; }; struct InterfaceData @@ -68,28 +68,28 @@ struct InterfaceData unsigned long prevTxBytes; unsigned long incomingBytes; unsigned long outgoingBytes; - QString ipAddress; - QString subnetMask; - QString hwAddress; - QString ptpAddress; - QString broadcastAddress; - QString defaultGateway; - QString rxString; - QString txString; - Q_UINT64 rxBytes; - Q_UINT64 txBytes; + TQString ipAddress; + TQString subnetMask; + TQString hwAddress; + TQString ptpAddress; + TQString broadcastAddress; + TQString defaultGateway; + TQString rxString; + TQString txString; + TQ_UINT64 rxBytes; + TQ_UINT64 txBytes; }; struct WirelessData { - QString essid; - QString mode; - QString frequency; - QString channel; - QString bitRate; - QString linkQuality; - QString accessPoint; - QString nickName; + TQString essid; + TQString mode; + TQString frequency; + TQString channel; + TQString bitRate; + TQString linkQuality; + TQString accessPoint; + TQString nickName; bool encryption; }; @@ -109,11 +109,11 @@ struct PlotterSettings bool horizontalLines; bool automaticDetection; bool verticalLinesScroll; - QColor colorVLines; - QColor colorHLines; - QColor colorIncoming; - QColor colorOutgoing; - QColor colorBackground; + TQColor colorVLines; + TQColor colorHLines; + TQColor colorIncoming; + TQColor colorOutgoing; + TQColor colorBackground; }; struct StatisticEntry @@ -121,10 +121,10 @@ struct StatisticEntry int day; int month; int year; - Q_UINT64 rxBytes; - Q_UINT64 txBytes; + TQ_UINT64 rxBytes; + TQ_UINT64 txBytes; }; -extern QPair<QString, int> ToolTips[]; +extern TQPair<TQString, int> ToolTips[]; #endif // GLOBAL_H |