diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-10-20 20:55:36 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-10-20 20:55:36 -0500 |
commit | 03e5e287213a5f14821cfb13dfb536d8325e6645 (patch) | |
tree | 07104bdd9dc830e31f0087fe54ed29c611b4c7c5 /kicker | |
parent | 6fb5669626c58d79beb6e9db048d2783cc2198c5 (diff) | |
download | tdebase-03e5e287213a5f14821cfb13dfb536d8325e6645.tar.gz tdebase-03e5e287213a5f14821cfb13dfb536d8325e6645.zip |
Update TQt3 property/enum macros
Diffstat (limited to 'kicker')
-rw-r--r-- | kicker/extensions/kasbar/kasbar.h | 12 | ||||
-rw-r--r-- | kicker/extensions/kasbar/kastasker.h | 6 | ||||
-rw-r--r-- | kicker/kicker/ui/k_new_mnu.h | 2 | ||||
-rw-r--r-- | kicker/taskmanager/taskmanager.h | 52 |
4 files changed, 36 insertions, 36 deletions
diff --git a/kicker/extensions/kasbar/kasbar.h b/kicker/extensions/kasbar/kasbar.h index 342da3743..d875dd00f 100644 --- a/kicker/extensions/kasbar/kasbar.h +++ b/kicker/extensions/kasbar/kasbar.h @@ -80,12 +80,12 @@ typedef TQPtrList<KasItem> KasItemList; class KDE_EXPORT KasBar : public TQWidget { Q_OBJECT - Q_PROPERTY( int maxBoxes READ maxBoxes ) - Q_PROPERTY( uint boxesPerLine READ boxesPerLine ) - Q_PROPERTY( Direction direction READ direction ) - Q_PROPERTY( Orientation orientation READ orientation ) - Q_PROPERTY( bool masked READ isMasked ) - Q_ENUMS( Direction ) + TQ_PROPERTY( int maxBoxes READ maxBoxes ) + TQ_PROPERTY( uint boxesPerLine READ boxesPerLine ) + TQ_PROPERTY( Direction direction READ direction ) + TQ_PROPERTY( Orientation orientation READ orientation ) + TQ_PROPERTY( bool masked READ isMasked ) + TQ_ENUMS( Direction ) friend class KasItem; public: diff --git a/kicker/extensions/kasbar/kastasker.h b/kicker/extensions/kasbar/kastasker.h index d3491ba98..015d9fb37 100644 --- a/kicker/extensions/kasbar/kastasker.h +++ b/kicker/extensions/kasbar/kastasker.h @@ -85,9 +85,9 @@ class KasGrouper; class KDE_EXPORT KasTasker : public KasBar { Q_OBJECT - Q_PROPERTY( bool isTopLevel READ isTopLevel ) - Q_PROPERTY( bool showClock READ showClock ) - Q_PROPERTY( bool showLoad READ showLoad ) + TQ_PROPERTY( bool isTopLevel READ isTopLevel ) + TQ_PROPERTY( bool showClock READ showClock ) + TQ_PROPERTY( bool showLoad READ showLoad ) public: /** Create a KasTasker widget. */ diff --git a/kicker/kicker/ui/k_new_mnu.h b/kicker/kicker/ui/k_new_mnu.h index ef45ef815..8a9970789 100644 --- a/kicker/kicker/ui/k_new_mnu.h +++ b/kicker/kicker/ui/k_new_mnu.h @@ -81,7 +81,7 @@ enum OverflowCategoryState { None, Filling, NotNeeded }; class KMenu : public KMenuBase { Q_OBJECT - Q_PROPERTY (bool KStyleMenuDropShadow READ useKStyleMenuDropShadow ) + TQ_PROPERTY (bool KStyleMenuDropShadow READ useKStyleMenuDropShadow ) public: KMenu(); diff --git a/kicker/taskmanager/taskmanager.h b/kicker/taskmanager/taskmanager.h index febb923e2..b78764331 100644 --- a/kicker/taskmanager/taskmanager.h +++ b/kicker/taskmanager/taskmanager.h @@ -71,28 +71,28 @@ typedef TQValueList<WId> WindowList; class KDE_EXPORT Task: public TQObject, public KShared { Q_OBJECT - Q_PROPERTY( TQString visibleIconicName READ visibleIconicName ) - Q_PROPERTY( TQString iconicName READ iconicName ) - Q_PROPERTY( TQString visibleIconicNameWithState READ visibleIconicNameWithState ) - Q_PROPERTY( TQString visibleName READ visibleName ) - Q_PROPERTY( TQString name READ name ) - Q_PROPERTY( TQString visibleNameWithState READ visibleNameWithState ) - Q_PROPERTY( TQPixmap pixmap READ pixmap ) - Q_PROPERTY( bool maximized READ isMaximized ) - Q_PROPERTY( bool minimized READ isMinimized ) + TQ_PROPERTY( TQString visibleIconicName READ visibleIconicName ) + TQ_PROPERTY( TQString iconicName READ iconicName ) + TQ_PROPERTY( TQString visibleIconicNameWithState READ visibleIconicNameWithState ) + TQ_PROPERTY( TQString visibleName READ visibleName ) + TQ_PROPERTY( TQString name READ name ) + TQ_PROPERTY( TQString visibleNameWithState READ visibleNameWithState ) + TQ_PROPERTY( TQPixmap pixmap READ pixmap ) + TQ_PROPERTY( bool maximized READ isMaximized ) + TQ_PROPERTY( bool minimized READ isMinimized ) // KDE4 deprecated - Q_PROPERTY( bool iconified READ isIconified ) - Q_PROPERTY( bool shaded READ isShaded WRITE setShaded ) - Q_PROPERTY( bool active READ isActive ) - Q_PROPERTY( bool onCurrentDesktop READ isOnCurrentDesktop ) - Q_PROPERTY( bool onAllDesktops READ isOnAllDesktops ) - Q_PROPERTY( bool alwaysOnTop READ isAlwaysOnTop WRITE setAlwaysOnTop ) - Q_PROPERTY( bool modified READ isModified ) - Q_PROPERTY( bool demandsAttention READ demandsAttention ) - Q_PROPERTY( int desktop READ desktop ) - Q_PROPERTY( double thumbnailSize READ thumbnailSize WRITE setThumbnailSize ) - Q_PROPERTY( bool hasThumbnail READ hasThumbnail ) - Q_PROPERTY( TQPixmap thumbnail READ thumbnail ) + TQ_PROPERTY( bool iconified READ isIconified ) + TQ_PROPERTY( bool shaded READ isShaded WRITE setShaded ) + TQ_PROPERTY( bool active READ isActive ) + TQ_PROPERTY( bool onCurrentDesktop READ isOnCurrentDesktop ) + TQ_PROPERTY( bool onAllDesktops READ isOnAllDesktops ) + TQ_PROPERTY( bool alwaysOnTop READ isAlwaysOnTop WRITE setAlwaysOnTop ) + TQ_PROPERTY( bool modified READ isModified ) + TQ_PROPERTY( bool demandsAttention READ demandsAttention ) + TQ_PROPERTY( int desktop READ desktop ) + TQ_PROPERTY( double thumbnailSize READ thumbnailSize WRITE setThumbnailSize ) + TQ_PROPERTY( bool hasThumbnail READ hasThumbnail ) + TQ_PROPERTY( TQPixmap thumbnail READ thumbnail ) public: typedef KSharedPtr<Task> Ptr; @@ -514,9 +514,9 @@ public: class KDE_EXPORT Startup: public TQObject, public KShared { Q_OBJECT - Q_PROPERTY( TQString text READ text ) - Q_PROPERTY( TQString bin READ bin ) - Q_PROPERTY( TQString icon READ icon ) + TQ_PROPERTY( TQString text READ text ) + TQ_PROPERTY( TQString bin READ bin ) + TQ_PROPERTY( TQString icon READ icon ) public: typedef KSharedPtr<Startup> Ptr; @@ -568,8 +568,8 @@ private: class KDE_EXPORT TaskManager : public TQObject { Q_OBJECT - Q_PROPERTY( int currentDesktop READ currentDesktop ) - Q_PROPERTY( int numberOfDesktops READ numberOfDesktops ) + TQ_PROPERTY( int currentDesktop READ currentDesktop ) + TQ_PROPERTY( int numberOfDesktops READ numberOfDesktops ) public: static TaskManager* the(); |