summaryrefslogtreecommitdiffstats
path: root/src/knutprintupsvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/knutprintupsvar.h')
-rwxr-xr-xsrc/knutprintupsvar.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/src/knutprintupsvar.h b/src/knutprintupsvar.h
index bded7ac..72c0eac 100755
--- a/src/knutprintupsvar.h
+++ b/src/knutprintupsvar.h
@@ -30,17 +30,17 @@
#include <klistview.h>
-#include <qvariant.h>
-#include <qlayout.h>
-#include <qvaluelist.h>
+#include <tqvariant.h>
+#include <tqlayout.h>
+#include <tqvaluelist.h>
-#include <qvaluevector.h>
+#include <tqvaluevector.h>
-class QLabel;
-class QPixmap;
-class QFramel;
-class QString;
+class TQLabel;
+class TQPixmap;
+class TQFramel;
+class TQString;
/**
*@author Daniel Prynych
@@ -57,6 +57,7 @@ class QString;
class KNutPrintUpsVar : public KDialogBase {
Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -70,7 +71,7 @@ public:
*
* since 0.3.1
**/
- KNutPrintUpsVar(KNutNet* const upsNet, const bool useDescription, QWidget* parent = 0, const char* name = 0, const bool modal = true);
+ KNutPrintUpsVar(KNutNet* const upsNet, const bool useDescription, TQWidget* tqparent = 0, const char* name = 0, const bool modal = true);
/**
* @since 0.1
@@ -101,18 +102,18 @@ protected:
KPushButton* reloadButton;
struct dataVar {
- QString myName;
+ TQString myName;
KListViewItem* myValue;
};
- QValueVector<dataVar> dataList;
+ TQValueVector<dataVar> dataList;
KListViewItem* ROVarsList;
KListViewItem* RWVarsList;
KListViewItem* ICommList;
- QFrame *page;
+ TQFrame *page;
KListView* table;
- QPixmap dirPixmap;
+ TQPixmap dirPixmap;
bool upsConnectOk;
@@ -132,7 +133,7 @@ protected:
*
* @since 0.2.1
**/
- KListViewItem* addListItem (KListViewItem* table, QString varName, QString value);
+ KListViewItem* addListItem (KListViewItem* table, TQString varName, TQString value);
/**
* @internal
@@ -143,7 +144,7 @@ protected:
*
* @since 0.2
**/
- KListViewItem* existListItem (KListViewItem* listItem, QString name);
+ KListViewItem* existListItem (KListViewItem* listItem, TQString name);
protected slots: