summaryrefslogtreecommitdiffstats
path: root/lib/compatibility/kmdi/qextmdi/kdockwidget_private.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
commite985f7e545f4739493965aad69bbecb136dc9346 (patch)
tree54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /lib/compatibility/kmdi/qextmdi/kdockwidget_private.h
parentf7670c198945adc3b95ad69a959fe5f8ae55b493 (diff)
downloadtdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz
tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;