summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmdockwidget_private.h
diff options
context:
space:
mode:
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();