diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-10-20 20:30:14 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-10-20 20:30:14 -0500 |
commit | fe43761567120b0bda4e0aed56b7c1e56bdd93c5 (patch) | |
tree | fb23cd5905748c6e495f65a689cdd446fa3e4cae /kparts | |
parent | 481457e5859adea2b83aba47b6d5d724b4c7bf24 (diff) | |
download | tdelibs-fe43761567120b0bda4e0aed56b7c1e56bdd93c5.tar.gz tdelibs-fe43761567120b0bda4e0aed56b7c1e56bdd93c5.zip |
Update TQt3 property/enum macros
Diffstat (limited to 'kparts')
-rw-r--r-- | kparts/browserextension.h | 2 | ||||
-rw-r--r-- | kparts/browserinterface.h | 2 | ||||
-rw-r--r-- | kparts/partmanager.h | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/kparts/browserextension.h b/kparts/browserextension.h index 17bf9d65e..bc5e9cc92 100644 --- a/kparts/browserextension.h +++ b/kparts/browserextension.h @@ -308,7 +308,7 @@ class BrowserExtensionPrivate; class KPARTS_EXPORT BrowserExtension : public TQObject { Q_OBJECT - Q_PROPERTY( bool urlDropHandling READ isURLDropHandlingEnabled WRITE setURLDropHandlingEnabled ) + TQ_PROPERTY( bool urlDropHandling READ isURLDropHandlingEnabled WRITE setURLDropHandlingEnabled ) public: /** * Constructor diff --git a/kparts/browserinterface.h b/kparts/browserinterface.h index 302f474d7..82521376f 100644 --- a/kparts/browserinterface.h +++ b/kparts/browserinterface.h @@ -26,7 +26,7 @@ namespace KParts * * Qt properties: * <code> - * Q_PROPERTY( uint historyLength READ historyLength ); + * TQ_PROPERTY( uint historyLength READ historyLength ); * </code> * * Callable methods: diff --git a/kparts/partmanager.h b/kparts/partmanager.h index ba5c726cc..33c13d3ed 100644 --- a/kparts/partmanager.h +++ b/kparts/partmanager.h @@ -50,10 +50,10 @@ class PartManagerPrivate; class KPARTS_EXPORT PartManager : public TQObject { Q_OBJECT - Q_ENUMS( SelectionPolicy ) - Q_PROPERTY( SelectionPolicy selectionPolicy READ selectionPolicy WRITE setSelectionPolicy ) - Q_PROPERTY( bool allowNestedParts READ allowNestedParts WRITE setAllowNestedParts ) - Q_PROPERTY( bool ignoreScrollBars READ ignoreScrollBars WRITE setIgnoreScrollBars ) + TQ_ENUMS( SelectionPolicy ) + TQ_PROPERTY( SelectionPolicy selectionPolicy READ selectionPolicy WRITE setSelectionPolicy ) + TQ_PROPERTY( bool allowNestedParts READ allowNestedParts WRITE setAllowNestedParts ) + TQ_PROPERTY( bool ignoreScrollBars READ ignoreScrollBars WRITE setIgnoreScrollBars ) public: /// Selection policy. The default policy of a PartManager is Direct. enum SelectionPolicy { Direct, TriState }; |