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