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 /kio | |
parent | 481457e5859adea2b83aba47b6d5d724b4c7bf24 (diff) | |
download | tdelibs-fe43761567120b0bda4e0aed56b7c1e56bdd93c5.tar.gz tdelibs-fe43761567120b0bda4e0aed56b7c1e56bdd93c5.zip |
Update TQt3 property/enum macros
Diffstat (limited to 'kio')
-rw-r--r-- | kio/bookmarks/kbookmarkmenu_p.h | 14 | ||||
-rw-r--r-- | kio/kfile/kicondialog.h | 6 | ||||
-rw-r--r-- | kio/kfile/kurlcombobox.h | 4 | ||||
-rw-r--r-- | kio/kfile/kurlrequester.h | 8 | ||||
-rw-r--r-- | kio/kio/kdirlister.h | 12 |
5 files changed, 22 insertions, 22 deletions
diff --git a/kio/bookmarks/kbookmarkmenu_p.h b/kio/bookmarks/kbookmarkmenu_p.h index 4ea245b1a..cb88607fe 100644 --- a/kio/bookmarks/kbookmarkmenu_p.h +++ b/kio/bookmarks/kbookmarkmenu_p.h @@ -54,8 +54,8 @@ class KPopupMenu; class KImportedBookmarksActionMenu : public KActionMenu { Q_OBJECT - Q_PROPERTY( TQString type READ type WRITE setType ) - Q_PROPERTY( TQString location READ location WRITE setLocation ) + TQ_PROPERTY( TQString type READ type WRITE setType ) + TQ_PROPERTY( TQString location READ location WRITE setLocation ) public: const TQString type() const { return m_type; } void setType(const TQString &type) { m_type = type; } @@ -75,9 +75,9 @@ public: class KBookmarkActionMenu : public KActionMenu { Q_OBJECT - Q_PROPERTY( TQString url READ url WRITE setUrl ) - Q_PROPERTY( TQString address READ address WRITE setAddress ) - Q_PROPERTY( bool readOnly READ readOnly WRITE setReadOnly ) + TQ_PROPERTY( TQString url READ url WRITE setUrl ) + TQ_PROPERTY( TQString address READ address WRITE setAddress ) + TQ_PROPERTY( bool readOnly READ readOnly WRITE setReadOnly ) public: const TQString url() const { return m_url; } void setUrl(const TQString &url) { m_url = url; } @@ -100,8 +100,8 @@ public: class KBookmarkAction : public KAction { Q_OBJECT - Q_PROPERTY( TQString url READ url WRITE setUrl ) - Q_PROPERTY( TQString address READ address WRITE setAddress ) + TQ_PROPERTY( TQString url READ url WRITE setUrl ) + TQ_PROPERTY( TQString address READ address WRITE setAddress ) public: const TQString url() const { return m_url; } void setUrl(const TQString &url) { m_url = url; } diff --git a/kio/kfile/kicondialog.h b/kio/kfile/kicondialog.h index e15b76884..e533f6800 100644 --- a/kio/kfile/kicondialog.h +++ b/kio/kfile/kicondialog.h @@ -257,9 +257,9 @@ private: class KIO_EXPORT KIconButton: public TQPushButton { Q_OBJECT - Q_PROPERTY( TQString icon READ icon WRITE setIcon RESET resetIcon ) - Q_PROPERTY( int iconSize READ iconSize WRITE setIconSize) - Q_PROPERTY( bool strictIconSize READ strictIconSize WRITE setStrictIconSize ) + TQ_PROPERTY( TQString icon READ icon WRITE setIcon RESET resetIcon ) + TQ_PROPERTY( int iconSize READ iconSize WRITE setIconSize) + TQ_PROPERTY( bool strictIconSize READ strictIconSize WRITE setStrictIconSize ) public: /** diff --git a/kio/kfile/kurlcombobox.h b/kio/kfile/kurlcombobox.h index d65cd91f5..0a9451075 100644 --- a/kio/kfile/kurlcombobox.h +++ b/kio/kfile/kurlcombobox.h @@ -41,8 +41,8 @@ class KIO_EXPORT KURLComboBox : public KComboBox { Q_OBJECT - Q_PROPERTY(TQStringList urls READ urls WRITE setURLs DESIGNABLE true) - Q_PROPERTY(int maxItems READ maxItems WRITE setMaxItems DESIGNABLE true) + TQ_PROPERTY(TQStringList urls READ urls WRITE setURLs DESIGNABLE true) + TQ_PROPERTY(int maxItems READ maxItems WRITE setMaxItems DESIGNABLE true) public: /** diff --git a/kio/kfile/kurlrequester.h b/kio/kfile/kurlrequester.h index fa40d0656..f5402788a 100644 --- a/kio/kfile/kurlrequester.h +++ b/kio/kfile/kurlrequester.h @@ -56,10 +56,10 @@ class TQTimer; class KIO_EXPORT KURLRequester : public TQHBox { Q_OBJECT - Q_PROPERTY( TQString url READ url WRITE setURL ) - Q_PROPERTY( bool showLocalProtocol READ showLocalProtocol WRITE setShowLocalProtocol ) - Q_PROPERTY( TQString filter READ filter WRITE setFilter ) - Q_PROPERTY( uint mode READ mode WRITE setMode ) + TQ_PROPERTY( TQString url READ url WRITE setURL ) + TQ_PROPERTY( bool showLocalProtocol READ showLocalProtocol WRITE setShowLocalProtocol ) + TQ_PROPERTY( TQString filter READ filter WRITE setFilter ) + TQ_PROPERTY( uint mode READ mode WRITE setMode ) public: /** diff --git a/kio/kio/kdirlister.h b/kio/kio/kdirlister.h index d088cc281..cd657f47a 100644 --- a/kio/kio/kdirlister.h +++ b/kio/kio/kdirlister.h @@ -59,12 +59,12 @@ class KIO_EXPORT KDirLister : public TQObject friend class KDirListerCache; Q_OBJECT - Q_PROPERTY( bool autoUpdate READ autoUpdate WRITE setAutoUpdate ) - Q_PROPERTY( bool showingDotFiles READ showingDotFiles WRITE setShowingDotFiles ) - Q_PROPERTY( bool dirOnlyMode READ dirOnlyMode WRITE setDirOnlyMode ) - Q_PROPERTY( bool autoErrorHandlingEnabled READ autoErrorHandlingEnabled ) - Q_PROPERTY( TQString nameFilter READ nameFilter WRITE setNameFilter ) - Q_PROPERTY( TQStringList mimeFilter READ mimeFilters WRITE setMimeFilter RESET clearMimeFilter ) + TQ_PROPERTY( bool autoUpdate READ autoUpdate WRITE setAutoUpdate ) + TQ_PROPERTY( bool showingDotFiles READ showingDotFiles WRITE setShowingDotFiles ) + TQ_PROPERTY( bool dirOnlyMode READ dirOnlyMode WRITE setDirOnlyMode ) + TQ_PROPERTY( bool autoErrorHandlingEnabled READ autoErrorHandlingEnabled ) + TQ_PROPERTY( TQString nameFilter READ nameFilter WRITE setNameFilter ) + TQ_PROPERTY( TQStringList mimeFilter READ mimeFilters WRITE setMimeFilter RESET clearMimeFilter ) public: /** |