From 47dd01bcf94d2e88c9d548a6b30c9be67f7d7d15 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 20 Oct 2012 21:40:54 -0500 Subject: Update TQt3 property/enum macros --- kommander/editor/filechooser.h | 2 +- kommander/editor/layout.h | 2 +- kommander/editor/styledbutton.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kommander/editor') diff --git a/kommander/editor/filechooser.h b/kommander/editor/filechooser.h index 56d6da60..e87ee91e 100644 --- a/kommander/editor/filechooser.h +++ b/kommander/editor/filechooser.h @@ -11,7 +11,7 @@ class FileChooser : public TQWidget Q_OBJECT - Q_ENUMS( Mode ) + TQ_ENUMS( Mode ) TQ_PROPERTY( Mode mode READ mode WRITE setMode ) TQ_PROPERTY( TQString fileName READ fileName WRITE setFileName ) diff --git a/kommander/editor/layout.h b/kommander/editor/layout.h index d0e6e737..e42759cb 100644 --- a/kommander/editor/layout.h +++ b/kommander/editor/layout.h @@ -116,7 +116,7 @@ class Spacer : public TQWidget TQ_OVERRIDE( TQCString name ) TQ_PROPERTY( Qt::Orientation orientation READ orientation WRITE setOrientation ) - Q_ENUMS( SizeType ) + TQ_ENUMS( SizeType ) TQ_PROPERTY( SizeType sizeType READ sizeType WRITE setSizeType ) TQ_PROPERTY( TQSize sizeHint READ sizeHint WRITE setSizeHint DESIGNABLE true STORED true ) TQ_OVERRIDE( TQRect geometry DESIGNABLE false ) diff --git a/kommander/editor/styledbutton.h b/kommander/editor/styledbutton.h index d0cbafe2..a090b8b5 100644 --- a/kommander/editor/styledbutton.h +++ b/kommander/editor/styledbutton.h @@ -38,7 +38,7 @@ class StyledButton : public TQButton TQ_PROPERTY( EditorType editor READ editor WRITE setEditor ) TQ_PROPERTY( bool scale READ scale WRITE setScale ) - Q_ENUMS( EditorType ) + TQ_ENUMS( EditorType ) public: enum EditorType { ColorEditor, PixmapEditor }; -- cgit v1.2.1