summaryrefslogtreecommitdiffstats
path: root/src/knutprintupsvar.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/knutprintupsvar.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/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: