From b7aacaab229a91de36ed761481e0a93672764cfe Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 17 Feb 2012 16:07:37 -0600 Subject: Remove spurious TQ_OBJECT instances --- tdeui/kactionclasses.h | 28 ++++++++++++++-------------- tdeui/kdockwidget.h | 18 +++++++++--------- tdeui/keditlistbox.h | 2 +- tdeui/klistview.h | 2 +- tdeui/knuminput.h | 10 +++++----- tdeui/kpopupmenu.h | 2 +- tdeui/ksharedpixmap.h | 2 +- tdeui/ktoolbar.h | 4 ++-- tdeui/ktoolbarbutton.h | 2 +- tdeui/qxembed.h | 2 +- 10 files changed, 36 insertions(+), 36 deletions(-) (limited to 'tdeui') diff --git a/tdeui/kactionclasses.h b/tdeui/kactionclasses.h index 235a39058..a51701287 100644 --- a/tdeui/kactionclasses.h +++ b/tdeui/kactionclasses.h @@ -68,7 +68,7 @@ class KMainWindow; class TDEUI_EXPORT KToggleAction : public KAction { Q_OBJECT - TQ_OBJECT + Q_PROPERTY( bool checked READ isChecked WRITE setChecked ) Q_PROPERTY( TQString exclusiveGroup READ exclusiveGroup WRITE setExclusiveGroup ) public: @@ -231,7 +231,7 @@ private: class TDEUI_EXPORT KRadioAction : public KToggleAction { Q_OBJECT - TQ_OBJECT + public: /** * Constructs a radio action with text and potential keyboard @@ -331,7 +331,7 @@ private: class TDEUI_EXPORT KSelectAction : public KAction { Q_OBJECT - TQ_OBJECT + Q_PROPERTY( int currentItem READ currentItem WRITE setCurrentItem ) Q_PROPERTY( TQStringList items READ items WRITE setItems ) Q_PROPERTY( bool editable READ isEditable WRITE setEditable ) @@ -584,7 +584,7 @@ private: class TDEUI_EXPORT_DEPRECATED KListAction : public KSelectAction { Q_OBJECT - TQ_OBJECT + public: /** * Constructs a list action with text and potential keyboard @@ -700,7 +700,7 @@ private: class TDEUI_EXPORT KRecentFilesAction : public KListAction // TODO public KSelectAction { Q_OBJECT - TQ_OBJECT + Q_PROPERTY( uint maxItems READ maxItems WRITE setMaxItems ) public: /** @@ -910,7 +910,7 @@ private: class TDEUI_EXPORT KFontAction : public KSelectAction { Q_OBJECT - TQ_OBJECT + Q_PROPERTY( TQString font READ font WRITE setFont ) public: KFontAction( const TQString& text, const KShortcut& cut = KShortcut(), TQObject* parent = 0, @@ -961,7 +961,7 @@ private: class TDEUI_EXPORT KFontSizeAction : public KSelectAction { Q_OBJECT - TQ_OBJECT + Q_PROPERTY( int fontSize READ fontSize WRITE setFontSize ) public: KFontSizeAction( const TQString& text, const KShortcut& cut = KShortcut(), TQObject* parent = 0, @@ -1020,7 +1020,7 @@ private: class TDEUI_EXPORT KActionMenu : public KAction { Q_OBJECT - TQ_OBJECT + Q_PROPERTY( bool delayed READ delayed WRITE setDelayed ) Q_PROPERTY( bool stickyMenu READ stickyMenu WRITE setStickyMenu ) @@ -1094,7 +1094,7 @@ private: class TDEUI_EXPORT KToolBarPopupAction : public KAction { Q_OBJECT - TQ_OBJECT + Q_PROPERTY( bool delayed READ delayed WRITE setDelayed ) Q_PROPERTY( bool stickyMenu READ stickyMenu WRITE setStickyMenu ) @@ -1217,7 +1217,7 @@ private: class TDEUI_EXPORT KToggleToolBarAction : public KToggleAction { Q_OBJECT - TQ_OBJECT + public: /** * Create a KToggleToolbarAction that manages the toolbar @@ -1264,7 +1264,7 @@ private: class TDEUI_EXPORT KToggleFullScreenAction : public KToggleAction { Q_OBJECT - TQ_OBJECT + public: /** * Create a KToggleFullScreenAction @@ -1309,7 +1309,7 @@ private: class TDEUI_EXPORT KWidgetAction : public KAction { Q_OBJECT - TQ_OBJECT + public: /** * Create an action that will embed widget into a toolbar @@ -1354,7 +1354,7 @@ private: class TDEUI_EXPORT KActionSeparator : public KAction { Q_OBJECT - TQ_OBJECT + public: KActionSeparator( TQObject* parent = 0, const char* name = 0 ); virtual ~KActionSeparator(); @@ -1381,7 +1381,7 @@ private: class TDEUI_EXPORT KPasteTextAction: public KAction { Q_OBJECT - TQ_OBJECT + public: /** * Create a KPasteTextAction, with a text, an icon, an accelerator, diff --git a/tdeui/kdockwidget.h b/tdeui/kdockwidget.h index b2b740ca6..4f54e5f13 100644 --- a/tdeui/kdockwidget.h +++ b/tdeui/kdockwidget.h @@ -103,7 +103,7 @@ namespace KMDI class TDEUI_EXPORT KDockWidgetAbstractHeader : public TQFrame { Q_OBJECT - TQ_OBJECT + public: /** @@ -153,7 +153,7 @@ private: class TDEUI_EXPORT KDockWidgetAbstractHeaderDrag : public TQFrame { Q_OBJECT - TQ_OBJECT + public: /** @@ -199,7 +199,7 @@ private: class TDEUI_EXPORT KDockWidgetHeaderDrag : public KDockWidgetAbstractHeaderDrag { Q_OBJECT - TQ_OBJECT + public: /** @@ -241,7 +241,7 @@ private: class TDEUI_EXPORT KDockWidgetHeader : public KDockWidgetAbstractHeader { Q_OBJECT - TQ_OBJECT + public: /** @@ -367,7 +367,7 @@ private: class TDEUI_EXPORT KDockTabGroup : public TQTabWidget { Q_OBJECT - TQ_OBJECT + public: /** * Constructs this. It just calls the method of the base class. @@ -428,7 +428,7 @@ private: class TDEUI_EXPORT KDockWidget: public TQWidget { Q_OBJECT - TQ_OBJECT + friend class KDockManager; friend class KDockSplitter; friend class KDockMainWindow; @@ -915,7 +915,7 @@ private: class TDEUI_EXPORT KDockManager: public TQObject { Q_OBJECT - TQ_OBJECT + friend class KDockWidget; friend class KDockMainWindow; @@ -1314,7 +1314,7 @@ private: class TDEUI_EXPORT KDockMainWindow : public KMainWindow { Q_OBJECT - TQ_OBJECT + friend class KDockManager; @@ -1485,7 +1485,7 @@ private: class TDEUI_EXPORT KDockArea : public TQWidget { Q_OBJECT - TQ_OBJECT + friend class KDockManager; diff --git a/tdeui/keditlistbox.h b/tdeui/keditlistbox.h index b7b988a7b..2bb8de6b8 100644 --- a/tdeui/keditlistbox.h +++ b/tdeui/keditlistbox.h @@ -44,7 +44,7 @@ class KEditListBoxPrivate; class TDEUI_EXPORT KEditListBox : public TQGroupBox { Q_OBJECT - TQ_OBJECT + TQ_SETS( Button ) TQ_PROPERTY( Button buttons READ buttonsProp WRITE setButtonsProp ) diff --git a/tdeui/klistview.h b/tdeui/klistview.h index c8bb837cd..4b888ffc3 100644 --- a/tdeui/klistview.h +++ b/tdeui/klistview.h @@ -55,7 +55,7 @@ class TDEUI_EXPORT KListView : public TQListView friend class KListViewItem; Q_OBJECT - TQ_OBJECT + Q_ENUMS( SelectionModeExt ) Q_PROPERTY( bool fullWidth READ fullWidth WRITE setFullWidth ) Q_PROPERTY( bool itemsMovable READ itemsMovable WRITE setItemsMovable ) diff --git a/tdeui/knuminput.h b/tdeui/knuminput.h index 5f0127cda..1cff20520 100644 --- a/tdeui/knuminput.h +++ b/tdeui/knuminput.h @@ -49,7 +49,7 @@ class KIntSpinBox; class TDEUI_EXPORT KNumInput : public TQWidget { Q_OBJECT - TQ_OBJECT + Q_PROPERTY( TQString label READ label WRITE setLabel ) public: /** @@ -188,7 +188,7 @@ private: class TDEUI_EXPORT KIntNumInput : public KNumInput { Q_OBJECT - TQ_OBJECT + Q_PROPERTY( int value READ value WRITE setValue ) Q_PROPERTY( int minValue READ minValue WRITE setMinValue ) Q_PROPERTY( int maxValue READ maxValue WRITE setMaxValue ) @@ -434,7 +434,7 @@ class KDoubleLine; class TDEUI_EXPORT KDoubleNumInput : public KNumInput { Q_OBJECT - TQ_OBJECT + Q_PROPERTY( double value READ value WRITE setValue ) Q_PROPERTY( double minValue READ minValue WRITE setMinValue ) Q_PROPERTY( double maxValue READ maxValue WRITE setMaxValue ) @@ -707,7 +707,7 @@ private: class TDEUI_EXPORT KIntSpinBox : public TQSpinBox { Q_OBJECT - TQ_OBJECT + Q_PROPERTY( int base READ base WRITE setBase ) public: @@ -837,7 +837,7 @@ private: class TDEUI_EXPORT KDoubleSpinBox : public TQSpinBox { Q_OBJECT - TQ_OBJECT + Q_PROPERTY( bool acceptLocalizedNumbers READ acceptLocalizedNumbers WRITE setAcceptLocalizedNumbers ) Q_OVERRIDE( double maxValue READ maxValue WRITE setMaxValue ) Q_OVERRIDE( double minValue READ minValue WRITE setMinValue ) diff --git a/tdeui/kpopupmenu.h b/tdeui/kpopupmenu.h index dfee4537b..5c29fd2f9 100644 --- a/tdeui/kpopupmenu.h +++ b/tdeui/kpopupmenu.h @@ -122,7 +122,7 @@ private: */ class TDEUI_EXPORT KPopupMenu : public TQPopupMenu { Q_OBJECT - TQ_OBJECT + public: /** * Constructs a KPopupMenu. diff --git a/tdeui/ksharedpixmap.h b/tdeui/ksharedpixmap.h index 07431678a..3295b38d1 100644 --- a/tdeui/ksharedpixmap.h +++ b/tdeui/ksharedpixmap.h @@ -58,7 +58,7 @@ class TDEUI_EXPORT KSharedPixmap: public KPixmap { Q_OBJECT - TQ_OBJECT + public: diff --git a/tdeui/ktoolbar.h b/tdeui/ktoolbar.h index 947fd3bab..1ef30a3cc 100644 --- a/tdeui/ktoolbar.h +++ b/tdeui/ktoolbar.h @@ -58,7 +58,7 @@ class KToolBarPrivate; class TDEUI_EXPORT KToolBarSeparator : public TQFrame { Q_OBJECT - TQ_OBJECT + public: KToolBarSeparator( Orientation, bool l, TQToolBar *parent, const char* name=0 ); @@ -104,7 +104,7 @@ private: class TDEUI_EXPORT KToolBar : public TQToolBar { Q_OBJECT - TQ_OBJECT + Q_ENUMS( IconText BarPosition ) Q_PROPERTY( IconText iconText READ iconText WRITE setIconText ) Q_PROPERTY( BarPosition barPos READ barPos WRITE setBarPos ) diff --git a/tdeui/ktoolbarbutton.h b/tdeui/ktoolbarbutton.h index e1da25ae8..340761bd0 100644 --- a/tdeui/ktoolbarbutton.h +++ b/tdeui/ktoolbarbutton.h @@ -44,7 +44,7 @@ class TQPainter; class TDEUI_EXPORT KToolBarButton : public TQToolButton { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/tdeui/qxembed.h b/tdeui/qxembed.h index c780e829c..423a69a80 100644 --- a/tdeui/qxembed.h +++ b/tdeui/qxembed.h @@ -62,7 +62,7 @@ class QXEmbedData; class TDEUI_EXPORT QXEmbed : public TQWidget { Q_OBJECT - TQ_OBJECT + public: -- cgit v1.2.1