diff options
Diffstat (limited to 'examples/demo')
-rw-r--r-- | examples/demo/dnd/styledbutton.h | 10 |
1 files changed, 5 insertions, 5 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 }; |