From 3da0c9594ec7967c35cc9851c9403f8303ec542b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 17 Feb 2012 16:09:42 -0600 Subject: Remove spurious TQ_OBJECT instances --- lib/compatibility/kmdi/qextmdi/kdockwidget.h | 18 +++++++++--------- lib/compatibility/kmdi/qextmdi/kdockwidget_private.h | 6 +++--- lib/compatibility/kmdi/qextmdi/kmdichildarea.h | 2 +- lib/compatibility/kmdi/qextmdi/kmdichildfrm.h | 4 ++-- lib/compatibility/kmdi/qextmdi/kmdichildfrmcaption.h | 2 +- lib/compatibility/kmdi/qextmdi/kmdichildview.h | 2 +- lib/compatibility/kmdi/qextmdi/kmdidockcontainer.h | 2 +- .../kmdi/qextmdi/kmdidocumentviewtabwidget.h | 2 +- lib/compatibility/kmdi/qextmdi/kmdifocuslist.h | 2 +- lib/compatibility/kmdi/qextmdi/kmdiguiclient.h | 4 ++-- lib/compatibility/kmdi/qextmdi/kmdimainfrm.h | 2 +- lib/compatibility/kmdi/qextmdi/kmditaskbar.h | 4 ++-- lib/compatibility/kmdi/qextmdi/kmditoolviewaccessor.h | 2 +- lib/compatibility/kmdi/qextmdi/kmultitabbar.h | 6 +++--- lib/compatibility/kmdi/qextmdi/kmultitabbar_p.h | 2 +- lib/compatibility/kmdi/qextmdi/ktabbar.h | 2 +- lib/compatibility/kmdi/qextmdi/ktabwidget.h | 2 +- lib/compatibility/knewstuff/downloaddialog.h | 2 +- lib/compatibility/knewstuff/engine.h | 2 +- lib/compatibility/knewstuff/knewstuffsecure.h | 2 +- lib/compatibility/knewstuff/provider.h | 2 +- lib/compatibility/knewstuff/providerdialog.h | 2 +- lib/compatibility/knewstuff/security.h | 2 +- lib/compatibility/knewstuff/uploaddialog.h | 2 +- 24 files changed, 39 insertions(+), 39 deletions(-) (limited to 'lib/compatibility') diff --git a/lib/compatibility/kmdi/qextmdi/kdockwidget.h b/lib/compatibility/kmdi/qextmdi/kdockwidget.h index c435dbfc..f861a236 100644 --- a/lib/compatibility/kmdi/qextmdi/kdockwidget.h +++ b/lib/compatibility/kmdi/qextmdi/kdockwidget.h @@ -105,7 +105,7 @@ namespace KMDI class KDockWidgetAbstractHeader : public TQFrame { Q_OBJECT - TQ_OBJECT + public: /** @@ -155,7 +155,7 @@ private: class TDEUI_EXPORT KDockWidgetAbstractHeaderDrag : public TQFrame { Q_OBJECT - TQ_OBJECT + public: /** @@ -201,7 +201,7 @@ private: class TDEUI_EXPORT KDockWidgetHeaderDrag : public KDockWidgetAbstractHeaderDrag { Q_OBJECT - TQ_OBJECT + public: /** @@ -243,7 +243,7 @@ private: class TDEUI_EXPORT KDockWidgetHeader : public KDockWidgetAbstractHeader { Q_OBJECT - TQ_OBJECT + public: /** @@ -369,7 +369,7 @@ private: class TDEUI_EXPORT KDockTabGroup : public TQTabWidget { Q_OBJECT - TQ_OBJECT + public: /** * Constructs this. It just calls the method of the base class. @@ -430,7 +430,7 @@ private: class TDEUI_EXPORT KDockWidget: public TQWidget { Q_OBJECT - TQ_OBJECT + friend class KDockManager; friend class KDockSplitter; friend class KDockMainWindow; @@ -912,7 +912,7 @@ private: class TDEUI_EXPORT KDockManager: public TQObject { Q_OBJECT - TQ_OBJECT + friend class KDockWidget; friend class KDockMainWindow; @@ -1309,7 +1309,7 @@ private: class TDEUI_EXPORT KDockMainWindow : public KMainWindow { Q_OBJECT - TQ_OBJECT + friend class KDockManager; @@ -1476,7 +1476,7 @@ private: class TDEUI_EXPORT KDockArea : public TQWidget { Q_OBJECT - TQ_OBJECT + friend class KDockManager; diff --git a/lib/compatibility/kmdi/qextmdi/kdockwidget_private.h b/lib/compatibility/kmdi/qextmdi/kdockwidget_private.h index fe7db8ef..4f93a4f2 100644 --- a/lib/compatibility/kmdi/qextmdi/kdockwidget_private.h +++ b/lib/compatibility/kmdi/qextmdi/kdockwidget_private.h @@ -43,7 +43,7 @@ class KDockContainer; class TDEUI_EXPORT KDockSplitter : public TQWidget { Q_OBJECT - TQ_OBJECT + public: KDockSplitter(TQWidget *parent= 0, const char *name= 0, Qt::Orientation orient=Qt::Vertical, int pos= 50, bool highResolution=false); virtual ~KDockSplitter(){}; @@ -118,7 +118,7 @@ private: class TDEUI_EXPORT KDockButton_Private : public TQPushButton { Q_OBJECT - TQ_OBJECT + public: KDockButton_Private( TQWidget *parent=0, const char *name=0 ); ~KDockButton_Private(); @@ -144,7 +144,7 @@ private: class TDEUI_EXPORT KDockWidgetPrivate : public TQObject { Q_OBJECT - TQ_OBJECT + public: KDockWidgetPrivate(); ~KDockWidgetPrivate(); diff --git a/lib/compatibility/kmdi/qextmdi/kmdichildarea.h b/lib/compatibility/kmdi/qextmdi/kmdichildarea.h index d9d0184e..035cdccc 100644 --- a/lib/compatibility/kmdi/qextmdi/kmdichildarea.h +++ b/lib/compatibility/kmdi/qextmdi/kmdichildarea.h @@ -55,7 +55,7 @@ class KMDI_EXPORT KMdiChildArea : public TQFrame friend class KMdiChildFrm; Q_OBJECT - TQ_OBJECT + // attributes public: diff --git a/lib/compatibility/kmdi/qextmdi/kmdichildfrm.h b/lib/compatibility/kmdi/qextmdi/kmdichildfrm.h index 8257b883..c244cd94 100644 --- a/lib/compatibility/kmdi/qextmdi/kmdichildfrm.h +++ b/lib/compatibility/kmdi/qextmdi/kmdichildfrm.h @@ -52,7 +52,7 @@ class TQToolButton; class KMDI_EXPORT KMdiWin32IconButton : public TQLabel { Q_OBJECT - TQ_OBJECT + public: KMdiWin32IconButton( TQWidget* parent, const char* name = 0 ); virtual void mousePressEvent( TQMouseEvent* ); @@ -134,7 +134,7 @@ class KMDI_EXPORT KMdiChildFrm : public TQFrame friend class KMdiChildFrmCaption; Q_OBJECT - TQ_OBJECT + // attributes public: diff --git a/lib/compatibility/kmdi/qextmdi/kmdichildfrmcaption.h b/lib/compatibility/kmdi/qextmdi/kmdichildfrmcaption.h index 3f9845d7..0b84339a 100644 --- a/lib/compatibility/kmdi/qextmdi/kmdichildfrmcaption.h +++ b/lib/compatibility/kmdi/qextmdi/kmdichildfrmcaption.h @@ -44,7 +44,7 @@ class KMdiChildFrmCaptionPrivate; class KMDI_EXPORT KMdiChildFrmCaption : public TQWidget { Q_OBJECT - TQ_OBJECT + public: /** * Constructor diff --git a/lib/compatibility/kmdi/qextmdi/kmdichildview.h b/lib/compatibility/kmdi/qextmdi/kmdichildview.h index af0c8030..2d5c9681 100644 --- a/lib/compatibility/kmdi/qextmdi/kmdichildview.h +++ b/lib/compatibility/kmdi/qextmdi/kmdichildview.h @@ -110,7 +110,7 @@ class KMDI_EXPORT KMdiChildView : public TQWidget friend class KMdiMainFrm; friend class KMdiChildFrm; Q_OBJECT - TQ_OBJECT + // attributes protected: diff --git a/lib/compatibility/kmdi/qextmdi/kmdidockcontainer.h b/lib/compatibility/kmdi/qextmdi/kmdidockcontainer.h index 22c58732..5ada8db6 100644 --- a/lib/compatibility/kmdi/qextmdi/kmdidockcontainer.h +++ b/lib/compatibility/kmdi/qextmdi/kmdidockcontainer.h @@ -37,7 +37,7 @@ class KDockButton_Private; class KMDI_EXPORT KMdiDockContainer: public TQWidget, public KDockContainer { Q_OBJECT - TQ_OBJECT + public: KMdiDockContainer( TQWidget *parent, TQWidget *win, int position, int flags ); diff --git a/lib/compatibility/kmdi/qextmdi/kmdidocumentviewtabwidget.h b/lib/compatibility/kmdi/qextmdi/kmdidocumentviewtabwidget.h index 0bde5891..3dbf9b52 100644 --- a/lib/compatibility/kmdi/qextmdi/kmdidocumentviewtabwidget.h +++ b/lib/compatibility/kmdi/qextmdi/kmdidocumentviewtabwidget.h @@ -23,7 +23,7 @@ class KMDI_EXPORT KMdiDocumentViewTabWidget: public KTabWidget { Q_OBJECT - TQ_OBJECT + public: KMdiDocumentViewTabWidget( TQWidget* parent, const char* name = 0 ); ~KMdiDocumentViewTabWidget(); diff --git a/lib/compatibility/kmdi/qextmdi/kmdifocuslist.h b/lib/compatibility/kmdi/qextmdi/kmdifocuslist.h index 8925b4e4..f3c70ad1 100644 --- a/lib/compatibility/kmdi/qextmdi/kmdifocuslist.h +++ b/lib/compatibility/kmdi/qextmdi/kmdifocuslist.h @@ -26,7 +26,7 @@ class KMDI_EXPORT KMdiFocusList: public TQObject { Q_OBJECT - TQ_OBJECT + public: KMdiFocusList( TQObject *parent ); ~KMdiFocusList(); diff --git a/lib/compatibility/kmdi/qextmdi/kmdiguiclient.h b/lib/compatibility/kmdi/qextmdi/kmdiguiclient.h index db3c84f6..6fa40b49 100644 --- a/lib/compatibility/kmdi/qextmdi/kmdiguiclient.h +++ b/lib/compatibility/kmdi/qextmdi/kmdiguiclient.h @@ -42,7 +42,7 @@ class KMDI_EXPORT KMDIGUIClient : public TQObject, public KXMLGUIClient { Q_OBJECT - TQ_OBJECT + public: KMDIGUIClient( KMdiMainFrm *mdiMainFrm, bool showMDIModeAction, const char *name = 0 ); @@ -122,7 +122,7 @@ private: class KMDI_EXPORT ToggleToolViewAction: public KToggleAction { Q_OBJECT - TQ_OBJECT + public: ToggleToolViewAction( const TQString& text, const KShortcut& cut = KShortcut(), KDockWidget *dw = 0, KMdiMainFrm *mdiMainFrm = 0, diff --git a/lib/compatibility/kmdi/qextmdi/kmdimainfrm.h b/lib/compatibility/kmdi/qextmdi/kmdimainfrm.h index ea19c899..c0786d20 100644 --- a/lib/compatibility/kmdi/qextmdi/kmdimainfrm.h +++ b/lib/compatibility/kmdi/qextmdi/kmdimainfrm.h @@ -241,7 +241,7 @@ class KMDI_EXPORT KMdiMainFrm : public KParts::DockMainWindow friend class KMdiChildView; friend class KMdiTaskBar; Q_OBJECT - TQ_OBJECT + friend class KMdiToolViewAccessor; // attributes diff --git a/lib/compatibility/kmdi/qextmdi/kmditaskbar.h b/lib/compatibility/kmdi/qextmdi/kmditaskbar.h index 3d99ea0b..003aec00 100644 --- a/lib/compatibility/kmdi/qextmdi/kmditaskbar.h +++ b/lib/compatibility/kmdi/qextmdi/kmditaskbar.h @@ -51,7 +51,7 @@ class KMdiTaskBarButtonPrivate; class KMdiTaskBarButton : public TQPushButton { Q_OBJECT - TQ_OBJECT + // methods public: /** @@ -130,7 +130,7 @@ class KMdiTaskBarPrivate; class KMDI_EXPORT KMdiTaskBar : public KToolBar { Q_OBJECT - TQ_OBJECT + public: /** * Constructor (NoFocus, minimum width = 1, an internal TQPtrList of taskbar buttons (autodelete)) diff --git a/lib/compatibility/kmdi/qextmdi/kmditoolviewaccessor.h b/lib/compatibility/kmdi/qextmdi/kmditoolviewaccessor.h index 34812b0e..b5cfdaad 100644 --- a/lib/compatibility/kmdi/qextmdi/kmditoolviewaccessor.h +++ b/lib/compatibility/kmdi/qextmdi/kmditoolviewaccessor.h @@ -38,7 +38,7 @@ class KMDIGUIClient; class KMDI_EXPORT KMdiToolViewAccessor : public TQObject { Q_OBJECT - TQ_OBJECT + friend class KMdiMainFrm; diff --git a/lib/compatibility/kmdi/qextmdi/kmultitabbar.h b/lib/compatibility/kmdi/qextmdi/kmultitabbar.h index e4a30a4b..d8ce755a 100644 --- a/lib/compatibility/kmdi/qextmdi/kmultitabbar.h +++ b/lib/compatibility/kmdi/qextmdi/kmultitabbar.h @@ -54,7 +54,7 @@ class KMultiTabBarInternal; class KUTILS_EXPORT KMultiTabBar: public TQWidget { Q_OBJECT - TQ_OBJECT + public: enum KMultiTabBarMode{Horizontal,Vertical}; enum KMultiTabBarPosition{Left, Right, Top, Bottom}; @@ -155,7 +155,7 @@ private: class KUTILS_EXPORT KMultiTabBarButton: public TQPushButton { Q_OBJECT - TQ_OBJECT + public: KMultiTabBarButton(const TQPixmap& pic,const TQString&, TQPopupMenu *popup, int id,TQWidget *parent, KMultiTabBar::KMultiTabBarPosition pos, KMultiTabBar::KMultiTabBarStyle style); @@ -208,7 +208,7 @@ protected slots: class KUTILS_EXPORT KMultiTabBarTab: public KMultiTabBarButton { Q_OBJECT - TQ_OBJECT + public: KMultiTabBarTab(const TQPixmap& pic,const TQString&,int id,TQWidget *parent, KMultiTabBar::KMultiTabBarPosition pos,KMultiTabBar::KMultiTabBarStyle style); diff --git a/lib/compatibility/kmdi/qextmdi/kmultitabbar_p.h b/lib/compatibility/kmdi/qextmdi/kmultitabbar_p.h index 90f0d922..dc8a7d8b 100644 --- a/lib/compatibility/kmdi/qextmdi/kmultitabbar_p.h +++ b/lib/compatibility/kmdi/qextmdi/kmultitabbar_p.h @@ -30,7 +30,7 @@ class KMultiTabBarInternal: public TQScrollView { Q_OBJECT - TQ_OBJECT + public: KMultiTabBarInternal(TQWidget *parent,KMultiTabBar::KMultiTabBarMode bm); int appendTab(const TQPixmap &,int=-1,const TQString& =TQString()); diff --git a/lib/compatibility/kmdi/qextmdi/ktabbar.h b/lib/compatibility/kmdi/qextmdi/ktabbar.h index 12f947c4..53e87c8b 100644 --- a/lib/compatibility/kmdi/qextmdi/ktabbar.h +++ b/lib/compatibility/kmdi/qextmdi/ktabbar.h @@ -35,7 +35,7 @@ class KTabBarPrivate; class TDEUI_EXPORT KTabBar: public TQTabBar { Q_OBJECT - TQ_OBJECT + public: KTabBar( TQWidget* parent=0, const char* name=0 ); diff --git a/lib/compatibility/kmdi/qextmdi/ktabwidget.h b/lib/compatibility/kmdi/qextmdi/ktabwidget.h index 57b0976f..5c9ba940 100644 --- a/lib/compatibility/kmdi/qextmdi/ktabwidget.h +++ b/lib/compatibility/kmdi/qextmdi/ktabwidget.h @@ -36,7 +36,7 @@ class KTabWidgetPrivate; class TDEUI_EXPORT KTabWidget : public TQTabWidget { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( bool tabReorderingEnabled READ isTabReorderingEnabled WRITE setTabReorderingEnabled ) TQ_PROPERTY( bool hoverCloseButton READ hoverCloseButton WRITE setHoverCloseButton ) TQ_PROPERTY( bool hoverCloseButtonDelayed READ hoverCloseButtonDelayed WRITE setHoverCloseButtonDelayed ) diff --git a/lib/compatibility/knewstuff/downloaddialog.h b/lib/compatibility/knewstuff/downloaddialog.h index 99fb82a9..e54371aa 100644 --- a/lib/compatibility/knewstuff/downloaddialog.h +++ b/lib/compatibility/knewstuff/downloaddialog.h @@ -57,7 +57,7 @@ class Engine; class KDE_EXPORT DownloadDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: /** Constructor. diff --git a/lib/compatibility/knewstuff/engine.h b/lib/compatibility/knewstuff/engine.h index 31be3f9f..5362351d 100644 --- a/lib/compatibility/knewstuff/engine.h +++ b/lib/compatibility/knewstuff/engine.h @@ -51,7 +51,7 @@ class ProviderDialog; class Engine : public TQObject { Q_OBJECT - TQ_OBJECT + public: /** Constructor. diff --git a/lib/compatibility/knewstuff/knewstuffsecure.h b/lib/compatibility/knewstuff/knewstuffsecure.h index 4195139c..452ea765 100644 --- a/lib/compatibility/knewstuff/knewstuffsecure.h +++ b/lib/compatibility/knewstuff/knewstuffsecure.h @@ -40,7 +40,7 @@ to the standard KNewStuff class. class KDE_EXPORT KNewStuffSecure : public TQObject, public KNewStuff { Q_OBJECT - TQ_OBJECT + public: /** Constructor. diff --git a/lib/compatibility/knewstuff/provider.h b/lib/compatibility/knewstuff/provider.h index 680cec4e..eb6669d2 100644 --- a/lib/compatibility/knewstuff/provider.h +++ b/lib/compatibility/knewstuff/provider.h @@ -164,7 +164,7 @@ class Provider class ProviderLoader : public TQObject { Q_OBJECT - TQ_OBJECT + public: /** * Constructor. diff --git a/lib/compatibility/knewstuff/providerdialog.h b/lib/compatibility/knewstuff/providerdialog.h index 6ab903bd..a17ddac3 100644 --- a/lib/compatibility/knewstuff/providerdialog.h +++ b/lib/compatibility/knewstuff/providerdialog.h @@ -43,7 +43,7 @@ class Engine; class ProviderDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: /** Constructor. diff --git a/lib/compatibility/knewstuff/security.h b/lib/compatibility/knewstuff/security.h index 1e9f2254..34ad6444 100644 --- a/lib/compatibility/knewstuff/security.h +++ b/lib/compatibility/knewstuff/security.h @@ -44,7 +44,7 @@ namespace KNS { class Security : public TQObject { Q_OBJECT - TQ_OBJECT + public: static Security* const ref() { diff --git a/lib/compatibility/knewstuff/uploaddialog.h b/lib/compatibility/knewstuff/uploaddialog.h index 623f689c..3d9ee4ff 100644 --- a/lib/compatibility/knewstuff/uploaddialog.h +++ b/lib/compatibility/knewstuff/uploaddialog.h @@ -47,7 +47,7 @@ class Entry; class UploadDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: /** Constructor. -- cgit v1.2.1