summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmdockwidget_private.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kpovmodeler/pmdockwidget_private.h
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmdockwidget_private.h')
-rw-r--r--kpovmodeler/pmdockwidget_private.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/kpovmodeler/pmdockwidget_private.h b/kpovmodeler/pmdockwidget_private.h
index efd8cd14..a2111a90 100644
--- a/kpovmodeler/pmdockwidget_private.h
+++ b/kpovmodeler/pmdockwidget_private.h
@@ -18,7 +18,7 @@
*/
/*
- IMPORTANT Note: This file compiles also in Qt-only mode by using the NO_KDE2 precompiler definition
+ IMPORTANT Note: This file compiles also in TQt-only mode by using the NO_KDE2 precompiler definition
*/
#ifndef KDOCKWIDGET_PRIVATE_H
@@ -39,11 +39,12 @@ class TQFrame;
*
* @author Max Judin.
*/
-class PMDockSplitter : public QWidget
+class PMDockSplitter : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- PMDockSplitter(TQWidget *parent= 0, const char *name= 0, Orientation orient= Vertical, int pos= 50, bool highResolution=false);
+ PMDockSplitter(TQWidget *tqparent= 0, const char *name= 0, Qt::Orientation orient=Qt::Vertical, int pos= 50, bool highResolution=false);
virtual ~PMDockSplitter(){};
void activate(TQWidget *c0, TQWidget *c1 = 0L);
@@ -70,7 +71,7 @@ public:
bool highResolution() const;
// MODIFICATION (Zehender)
- Orientation splitterOrientation( ) const { return orientation; }
+ Qt::Orientation splitterOrientation( ) const { return orientation; }
protected:
int checkValue( int ) const;
@@ -80,7 +81,7 @@ private:
void setupMinMaxSize();
TQWidget *child0, *child1;
- Orientation orientation;
+ Qt::Orientation orientation;
bool initialised;
TQFrame* divider;
int xpos;
@@ -93,11 +94,12 @@ private:
*
* @author Max Judin.
*/
-class PMDockButton_Private : public QPushButton
+class PMDockButton_Private : public TQPushButton
{
Q_OBJECT
+ TQ_OBJECT
public:
- PMDockButton_Private( TQWidget *parent=0, const char *name=0 );
+ PMDockButton_Private( TQWidget *tqparent=0, const char *name=0 );
~PMDockButton_Private();
protected:
@@ -112,9 +114,10 @@ private:
/**
* additional PMDockWidget stuff (private)
*/
-class PMDockWidgetPrivate : public QObject
+class PMDockWidgetPrivate : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
PMDockWidgetPrivate();
~PMDockWidgetPrivate();