summaryrefslogtreecommitdiffstats
path: root/src/gui/orientationwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
commit87a016680e3677da3993f333561e79eb0cead7d5 (patch)
treecbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/gui/orientationwidget.h
parent6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff)
downloadktechlab-87a016680e3677da3993f333561e79eb0cead7d5.tar.gz
ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.zip
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
Diffstat (limited to 'src/gui/orientationwidget.h')
-rw-r--r--src/gui/orientationwidget.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/gui/orientationwidget.h b/src/gui/orientationwidget.h
index 6a6b6ce..84d2071 100644
--- a/src/gui/orientationwidget.h
+++ b/src/gui/orientationwidget.h
@@ -11,22 +11,23 @@
#ifndef ORIENTATIONWIDGET_H
#define ORIENTATIONWIDGET_H
-#include <qguardedptr.h>
-#include <qwidget.h>
+#include <tqguardedptr.h>
+#include <tqwidget.h>
class CNItem;
class CNItemGroup;
class FlowPart;
-class QPushButton;
+class TQPushButton;
/**
@author David Saxton
*/
-class OrientationWidget : public QWidget
+class OrientationWidget : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- OrientationWidget( QWidget *parent = 0l, const char *name = 0l );
+ OrientationWidget( TQWidget *tqparent = 0l, const char *name = 0l );
~OrientationWidget();
public slots:
@@ -49,8 +50,8 @@ protected:
void initFromComponent( Component *component );
void initFromFlowPart( FlowPart *flowPart );
- QPushButton *m_toolBtn[2][4];
- QGuardedPtr<FlowPart> p_activeFlowPart;
+ TQPushButton *m_toolBtn[2][4];
+ TQGuardedPtr<FlowPart> p_activeFlowPart;
};
#endif