From 87a016680e3677da3993f333561e79eb0cead7d5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 29 Jun 2011 16:05:55 +0000 Subject: TQt4 port ktechlab This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/gui/itemeditor.h | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'src/gui/itemeditor.h') diff --git a/src/gui/itemeditor.h b/src/gui/itemeditor.h index 8c21e49..38ed260 100644 --- a/src/gui/itemeditor.h +++ b/src/gui/itemeditor.h @@ -11,8 +11,8 @@ #ifndef ITEMEDITOR_H #define ITEMEDITOR_H -#include -#include +#include +#include class ItemEditor; @@ -24,8 +24,8 @@ class ICNDocument; class ItemGroup; class OrientationWidget; class PropertiesListView; -class QPushButton; -class QLabel; +class TQPushButton; +class TQLabel; namespace KateMDI { class ToolView; } @@ -33,13 +33,14 @@ namespace KateMDI { class ToolView; } @author Daniel Clarke @author David Saxton */ -class ItemEditor : public QWidget +class ItemEditor : public TQWidget { Q_OBJECT + TQ_OBJECT public: - static ItemEditor * self( KateMDI::ToolView * parent = 0l ); + static ItemEditor * self( KateMDI::ToolView * tqparent = 0l ); ~ItemEditor(); - static QString toolViewIdentifier() { return "ItemEditor"; } + static TQString toolViewIdentifier() { return "ItemEditor"; } public slots: /** @@ -70,11 +71,11 @@ class ItemEditor : public QWidget void mergeProperties(); private: - ItemEditor( KateMDI::ToolView * parent ); + ItemEditor( KateMDI::ToolView * tqparent ); - QLabel *m_nameLbl; - QPushButton *m_defaultsBtn; - QPushButton *m_mergeBtn; + TQLabel *m_nameLbl; + TQPushButton *m_defaultsBtn; + TQPushButton *m_mergeBtn; OrientationWidget *m_orientationWidget; }; -- cgit v1.2.1