summaryrefslogtreecommitdiffstats
path: root/src/knutupsdata.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 19:37:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 19:37:06 +0000
commit968af1d235ac30d737991b269156bee5dc99d318 (patch)
tree19b118fa5380087e10cb728be545760791ce0676 /src/knutupsdata.h
parentaea4882f3b37f17c5b56bc77667e683c52254c30 (diff)
downloadknutclient-968af1d235ac30d737991b269156bee5dc99d318.tar.gz
knutclient-968af1d235ac30d737991b269156bee5dc99d318.zip
TQt4 port knutclient
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knutclient@1238881 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/knutupsdata.h')
-rw-r--r--src/knutupsdata.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/knutupsdata.h b/src/knutupsdata.h
index e258227..258028e 100644
--- a/src/knutupsdata.h
+++ b/src/knutupsdata.h
@@ -21,10 +21,10 @@
#include "knutconst.h"
#include "knutanalog.h"
-#include <qstring.h>
-#include <qvaluelist.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
-class QString;
+class TQString;
/**
*@author Daniel Prynych
@@ -48,13 +48,13 @@ public:
struct upsRecordDef { //include information about one UPS
- QString name; // name
- QString upsName; // name of UPSky <> mojeups
- QString upsAddress; // address of UPS <> muj.pc.cz
+ TQString name; // name
+ TQString upsName; // name of UPSky <> mojeups
+ TQString upsAddress; // address of UPS <> muj.pc.cz
long delay; // time between read date from UPS
unsigned short port; // port for connecting server
- QString userName;
- QString password;
+ TQString userName;
+ TQString password;
bool savePassword; //save password into configuration
int upsVarCode[knc::NumberOfVars];
};
@@ -118,7 +118,7 @@ struct upsRecordDef { //include information about one UPS
* @param index Udava poradove cislo zaznamu.
* @since 0.3
**/
- QString getName (const int index);
+ TQString getName (const int index);
/**
* Deletes record;
@@ -147,14 +147,14 @@ struct upsRecordDef { //include information about one UPS
* @param name Je jmeno zaznamu.
* @since 0.3
**/
- upsRecordDef* findName (const QString name);
+ upsRecordDef* findName (const TQString name);
private:
int m_countUpsRecords;
- QValueList<upsRecordDef> m_listRecords;
+ TQValueList<upsRecordDef> m_listRecords;
};