From fe43761567120b0bda4e0aed56b7c1e56bdd93c5 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 20 Oct 2012 20:30:14 -0500 Subject: Update TQt3 property/enum macros --- kio/bookmarks/kbookmarkmenu_p.h | 14 +++++++------- kio/kfile/kicondialog.h | 6 +++--- kio/kfile/kurlcombobox.h | 4 ++-- kio/kfile/kurlrequester.h | 8 ++++---- kio/kio/kdirlister.h | 12 ++++++------ 5 files changed, 22 insertions(+), 22 deletions(-) (limited to 'kio') 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: /** -- cgit v1.2.1