summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/layout.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:51:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:51:21 -0600
commitb6ba5d642f3fc7d320e3d6f4650eb259a3a52b04 (patch)
tree76f49820693d443128d3720322ff1605e9bcd558 /kdevdesigner/designer/layout.h
parent247f828db1b8dcdc9346c1568d81cfa00db99c9e (diff)
downloadtdevelop-b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04.tar.gz
tdevelop-b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kdevdesigner/designer/layout.h')
-rw-r--r--kdevdesigner/designer/layout.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/kdevdesigner/designer/layout.h b/kdevdesigner/designer/layout.h
index d71368ab..c42fb373 100644
--- a/kdevdesigner/designer/layout.h
+++ b/kdevdesigner/designer/layout.h
@@ -31,7 +31,7 @@
#include <tqmap.h>
#include <tqguardedptr.h>
#include <tqobject.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqmap.h>
#include <tqwidgetlist.h>
@@ -51,7 +51,7 @@ public:
virtual void undoLayout();
virtual void breakLayout();
virtual bool prepareLayout( bool &needMove, bool &needReparent );
- virtual void finishLayout( bool needMove, TQLayout *tqlayout );
+ virtual void finishLayout( bool needMove, TQLayout *layout );
protected:
TQWidgetList widgets;
@@ -125,8 +125,8 @@ class Spacer : public TQWidget
TQ_PROPERTY( Qt::Orientation orientation READ orientation WRITE setOrientation )
Q_ENUMS( SizeType )
TQ_PROPERTY( SizeType sizeType READ sizeType WRITE setSizeType )
- TQ_PROPERTY( TQSize tqsizeHint READ tqsizeHint WRITE setSizeHint DESIGNABLE true STORED true )
- TQ_OVERRIDE( TQRect tqgeometry DESIGNABLE false )
+ TQ_PROPERTY( TQSize sizeHint READ sizeHint WRITE setSizeHint DESIGNABLE true STORED true )
+ TQ_OVERRIDE( TQRect geometry DESIGNABLE false )
private:
enum { HSize = 6, HMask = 0x3f, VMask = HMask << HSize,
@@ -142,11 +142,11 @@ public:
Spacer( TQWidget *parent, const char *name );
- TQSize tqminimumSize() const;
- TQSize tqsizeHint() const;
+ TQSize minimumSize() const;
+ TQSize sizeHint() const;
void setSizeType( SizeType t );
SizeType sizeType() const;
- int tqalignment() const;
+ int alignment() const;
Qt::Orientation orientation() const;
void setOrientation( Qt::Orientation o );
void setInteraciveMode( bool b ) { interactive = b; };