diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/demo/dnd/styledbutton.h | 10 | ||||
-rw-r--r-- | examples/sql/overview/custom1/main.h | 2 | ||||
-rw-r--r-- | examples/sql/overview/table3/main.h | 2 | ||||
-rw-r--r-- | examples/sql/overview/table4/main.h | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/examples/demo/dnd/styledbutton.h b/examples/demo/dnd/styledbutton.h index 2cd6c0ae6..80fae5c10 100644 --- a/examples/demo/dnd/styledbutton.h +++ b/examples/demo/dnd/styledbutton.h @@ -44,12 +44,12 @@ class StyledButton : public TQButton { TQ_OBJECT - Q_PROPERTY( TQColor color READ color WRITE setColor ) - Q_PROPERTY( TQPixmap pixmap READ pixmap WRITE setPixmap ) - Q_PROPERTY( EditorType editor READ editor WRITE setEditor ) - Q_PROPERTY( bool scale READ scale WRITE setScale ) + TQ_PROPERTY( TQColor color READ color WRITE setColor ) + TQ_PROPERTY( TQPixmap pixmap READ pixmap WRITE setPixmap ) + 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 }; diff --git a/examples/sql/overview/custom1/main.h b/examples/sql/overview/custom1/main.h index 7ee9d5ddc..6ba30e28c 100644 --- a/examples/sql/overview/custom1/main.h +++ b/examples/sql/overview/custom1/main.h @@ -22,7 +22,7 @@ class CustomEdit : public TQLineEdit { TQ_OBJECT - Q_PROPERTY( TQString upperLine READ upperLine WRITE setUpperLine ) + TQ_PROPERTY( TQString upperLine READ upperLine WRITE setUpperLine ) public: CustomEdit( TQWidget *parent=0, const char *name=0 ); TQString upperLine() const; diff --git a/examples/sql/overview/table3/main.h b/examples/sql/overview/table3/main.h index 8720dbb6f..4b10d7e17 100644 --- a/examples/sql/overview/table3/main.h +++ b/examples/sql/overview/table3/main.h @@ -19,7 +19,7 @@ class StatusPicker : public TQComboBox { TQ_OBJECT - Q_PROPERTY( int statusid READ statusId WRITE setStatusId ) + TQ_PROPERTY( int statusid READ statusId WRITE setStatusId ) public: StatusPicker( TQWidget *parent=0, const char *name=0 ); int statusId() const; diff --git a/examples/sql/overview/table4/main.h b/examples/sql/overview/table4/main.h index 184d69777..394d34738 100644 --- a/examples/sql/overview/table4/main.h +++ b/examples/sql/overview/table4/main.h @@ -21,7 +21,7 @@ class StatusPicker : public TQComboBox { TQ_OBJECT - Q_PROPERTY( int statusid READ statusId WRITE setStatusId ) + TQ_PROPERTY( int statusid READ statusId WRITE setStatusId ) public: StatusPicker( TQWidget *parent=0, const char *name=0 ); int statusId() const; |