summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/layout.h')
-rw-r--r--kdevdesigner/designer/layout.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdevdesigner/designer/layout.h b/kdevdesigner/designer/layout.h
index de302e08..d1ea776e 100644
--- a/kdevdesigner/designer/layout.h
+++ b/kdevdesigner/designer/layout.h
@@ -122,7 +122,7 @@ class Spacer : public TQWidget
TQ_OVERRIDE( TQCString name )
- TQ_PROPERTY( Qt::Orientation orientation READ orientation WRITE setOrientation )
+ TQ_PROPERTY( Orientation orientation READ orientation WRITE setOrientation )
TQ_ENUMS( SizeType )
TQ_PROPERTY( SizeType sizeType READ sizeType WRITE setSizeType )
TQ_PROPERTY( TQSize sizeHint READ sizeHint WRITE setSizeHint DESIGNABLE true STORED true )
@@ -147,8 +147,8 @@ public:
void setSizeType( SizeType t );
SizeType sizeType() const;
int alignment() const;
- Qt::Orientation orientation() const;
- void setOrientation( Qt::Orientation o );
+ Orientation orientation() const;
+ void setOrientation( Orientation o );
void setInteraciveMode( bool b ) { interactive = b; };
void setSizeHint( const TQSize &s );
@@ -156,7 +156,7 @@ protected:
void paintEvent( TQPaintEvent *e );
void resizeEvent( TQResizeEvent* e );
void updateMask();
- Qt::Orientation orient;
+ Orientation orient;
bool interactive;
TQSize sh;
};