From 968af1d235ac30d737991b269156bee5dc99d318 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 30 Jun 2011 19:37:06 +0000 Subject: 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 --- src/knutprintupsvar.h | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'src/knutprintupsvar.h') 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 -#include -#include -#include +#include +#include +#include -#include +#include -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 dataList; + TQValueVector 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: -- cgit v1.2.1