summaryrefslogtreecommitdiffstats
path: root/lib/compatibility/kmdi/qextmdi/kdockwidget_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compatibility/kmdi/qextmdi/kdockwidget_private.h')
-rw-r--r--lib/compatibility/kmdi/qextmdi/kdockwidget_private.h25
1 files changed, 14 insertions, 11 deletions
diff --git a/lib/compatibility/kmdi/qextmdi/kdockwidget_private.h b/lib/compatibility/kmdi/qextmdi/kdockwidget_private.h
index 327471ed..4f9c119f 100644
--- a/lib/compatibility/kmdi/qextmdi/kdockwidget_private.h
+++ b/lib/compatibility/kmdi/qextmdi/kdockwidget_private.h
@@ -17,7 +17,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
@@ -40,11 +40,12 @@ class KDockContainer;
*
* @author Max Judin.
*/
-class KDEUI_EXPORT KDockSplitter : public QWidget
+class KDEUI_EXPORT KDockSplitter : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KDockSplitter(TQWidget *parent= 0, const char *name= 0, Orientation orient= Vertical, int pos= 50, bool highResolution=false);
+ KDockSplitter(TQWidget *tqparent= 0, const char *name= 0, Qt::Orientation orient=Qt::Vertical, int pos= 50, bool highResolution=false);
virtual ~KDockSplitter(){};
void activate(TQWidget *c0, TQWidget *c1 = 0L);
@@ -84,7 +85,7 @@ public:
void setForcedFixedHeight(KDockWidget *dw,int h);
void restoreFromForcedFixedSize(KDockWidget *dw);
- Orientation orientation(){return m_orientation;}
+ Qt::Orientation orientation(){return m_orientation;}
protected:
friend class KDockContainer;
@@ -98,7 +99,7 @@ protected slots:
private:
void setupMinMaxSize();
TQWidget *child0, *child1;
- Orientation m_orientation;
+ Qt::Orientation m_orientation;
bool initialised;
TQFrame* divider;
int xpos, savedXPos;
@@ -114,11 +115,12 @@ private:
*
* @author Max Judin.
*/
-class KDEUI_EXPORT KDockButton_Private : public QPushButton
+class KDEUI_EXPORT KDockButton_Private : public TQPushButton
{
Q_OBJECT
+ TQ_OBJECT
public:
- KDockButton_Private( TQWidget *parent=0, const char *name=0 );
+ KDockButton_Private( TQWidget *tqparent=0, const char *name=0 );
~KDockButton_Private();
protected:
@@ -139,9 +141,10 @@ private:
/**
* additional KDockWidget stuff (private)
*/
-class KDEUI_EXPORT KDockWidgetPrivate : public QObject
+class KDEUI_EXPORT KDockWidgetPrivate : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
KDockWidgetPrivate();
~KDockWidgetPrivate();
@@ -180,11 +183,11 @@ public:
};
class KDEUI_EXPORT KDockWidgetHeaderPrivate
- : public QObject
+ : public TQObject
{
public:
- KDockWidgetHeaderPrivate( TQObject* parent )
- : TQObject( parent )
+ KDockWidgetHeaderPrivate( TQObject* tqparent )
+ : TQObject( tqparent )
{
forceCloseButtonHidden=false;
toDesktopButton = 0;