From 210090aed352271bcd474b28db9644d9461d7189 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 17 Feb 2012 16:08:47 -0600 Subject: Remove spurious TQ_OBJECT instances --- knode/articlewidget.h | 2 +- knode/headerview.h | 2 +- knode/knaccountmanager.h | 2 +- knode/knapplication.h | 2 +- knode/knarticlefactory.h | 4 ++-- knode/knarticlemanager.h | 2 +- knode/knarticlewindow.h | 2 +- knode/kncollectionview.h | 2 +- knode/kncomposer.h | 12 ++++++------ knode/knconfig.h | 2 +- knode/knconfigmanager.h | 4 ++-- knode/knconfigpages.h | 8 ++++---- knode/knconfigwidgets.h | 32 ++++++++++++++++---------------- knode/knconvert.h | 2 +- knode/knfilterconfigwidget.h | 2 +- knode/knfilterdialog.h | 2 +- knode/knfiltermanager.h | 4 ++-- knode/knfoldermanager.h | 2 +- knode/kngroupbrowser.h | 2 +- knode/kngroupdialog.h | 2 +- knode/kngroupmanager.h | 2 +- knode/kngroupselectdialog.h | 2 +- knode/knjobdata.h | 2 +- knode/knmainwidget.h | 4 ++-- knode/knnetaccess.h | 2 +- knode/knnntpaccount.h | 2 +- knode/knode.h | 2 +- knode/knode_part.h | 2 +- knode/knrangefilter.h | 2 +- knode/knscoring.h | 2 +- knode/knsearchdialog.h | 2 +- knode/knsourceviewwindow.h | 2 +- knode/knstatusfilter.h | 2 +- knode/knstringfilter.h | 2 +- knode/knwidgets.h | 2 +- 35 files changed, 62 insertions(+), 62 deletions(-) (limited to 'knode') diff --git a/knode/articlewidget.h b/knode/articlewidget.h index 2b951ee7a..da2968e83 100644 --- a/knode/articlewidget.h +++ b/knode/articlewidget.h @@ -53,7 +53,7 @@ class CSSHelper; class ArticleWidget : public TQWidget, public KNJobConsumer { Q_OBJECT - TQ_OBJECT + public: /// Construct a new article widget diff --git a/knode/headerview.h b/knode/headerview.h index 134f1edd0..78e6f2a65 100644 --- a/knode/headerview.h +++ b/knode/headerview.h @@ -27,7 +27,7 @@ class KNHdrViewItem; class KNHeaderView : public KListView { Q_OBJECT - TQ_OBJECT + friend class KNHdrViewItem; diff --git a/knode/knaccountmanager.h b/knode/knaccountmanager.h index 4b1227fc7..8ee01497c 100644 --- a/knode/knaccountmanager.h +++ b/knode/knaccountmanager.h @@ -30,7 +30,7 @@ class KNServerInfo; class KNAccountManager : public TQObject { Q_OBJECT - TQ_OBJECT + public: KNAccountManager(KNGroupManager *gm, TQObject * parent=0, const char * name=0); diff --git a/knode/knapplication.h b/knode/knapplication.h index 66751f9a1..4536c1197 100644 --- a/knode/knapplication.h +++ b/knode/knapplication.h @@ -22,7 +22,7 @@ class KNApplication : public KUniqueApplication { Q_OBJECT - TQ_OBJECT + public: KNApplication(): KUniqueApplication() { }; diff --git a/knode/knarticlefactory.h b/knode/knarticlefactory.h index 030ac9f3d..1e13ddc14 100644 --- a/knode/knarticlefactory.h +++ b/knode/knarticlefactory.h @@ -39,7 +39,7 @@ namespace KNConfig { class KNArticleFactory : public TQObject , public KNJobConsumer { Q_OBJECT - TQ_OBJECT + public: enum replyType { RTgroup, RTmail, RTboth }; @@ -97,7 +97,7 @@ class KNArticleFactory : public TQObject , public KNJobConsumer { class KNSendErrorDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: KNSendErrorDialog(); diff --git a/knode/knarticlemanager.h b/knode/knarticlemanager.h index 7b0525614..ee62c8d08 100644 --- a/knode/knarticlemanager.h +++ b/knode/knarticlemanager.h @@ -39,7 +39,7 @@ class KNJobData; class KNArticleManager : public TQObject, public KNJobConsumer { Q_OBJECT - TQ_OBJECT + public: KNArticleManager(); diff --git a/knode/knarticlewindow.h b/knode/knarticlewindow.h index 297790ebf..2fa102860 100644 --- a/knode/knarticlewindow.h +++ b/knode/knarticlewindow.h @@ -27,7 +27,7 @@ namespace KNode { class KNArticleWindow : public KMainWindow { Q_OBJECT - TQ_OBJECT + public: KNArticleWindow(KNArticle *art); diff --git a/knode/kncollectionview.h b/knode/kncollectionview.h index c48b7f442..44d6ab3af 100644 --- a/knode/kncollectionview.h +++ b/knode/kncollectionview.h @@ -27,7 +27,7 @@ class KNCollectionViewItem; class KNCollectionView : public KFolderTree { Q_OBJECT - TQ_OBJECT + public: KNCollectionView(TQWidget *parent, const char *name = 0); diff --git a/knode/kncomposer.h b/knode/kncomposer.h index f72f43988..22b0b7933 100644 --- a/knode/kncomposer.h +++ b/knode/kncomposer.h @@ -44,7 +44,7 @@ class SpellingFilter; class KNComposer : public KMainWindow , virtual public KNodeComposerIface { Q_OBJECT - TQ_OBJECT + public: enum composerResult { CRsendNow, CRsendLater, CRdelAsk, @@ -252,7 +252,7 @@ class KNComposer::ComposerView : public TQSplitter { class KNComposer::Editor : public KEdit { Q_OBJECT - TQ_OBJECT + public: Editor(KNComposer::ComposerView *_composerView, KNComposer *_composer, TQWidget *parent=0, char *name=0); @@ -305,7 +305,7 @@ private: class KNComposer::AttachmentView : public KListView { Q_OBJECT - TQ_OBJECT + public: AttachmentView(TQWidget *parent, char *name=0); @@ -333,7 +333,7 @@ class KNComposer::AttachmentViewItem : public KListViewItem { class KNComposer::AttachmentPropertiesDlg : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: AttachmentPropertiesDlg( KNAttachment *a, TQWidget *p=0, const char *n=0); @@ -358,7 +358,7 @@ class KNComposer::AttachmentPropertiesDlg : public KDialogBase { class KNLineEdit : public KABC::AddressLineEdit { Q_OBJECT - TQ_OBJECT + typedef KABC::AddressLineEdit KNLineEditInherited; public: @@ -378,7 +378,7 @@ private: class KNLineEditSpell : public KNLineEdit { Q_OBJECT - TQ_OBJECT + public: KNLineEditSpell(KNComposer::ComposerView *_composerView, bool useCompletion,TQWidget * parent, const char * name = 0); void highLightWord( unsigned int length, unsigned int pos ); diff --git a/knode/knconfig.h b/knode/knconfig.h index 0f0f868cc..b859f6262 100644 --- a/knode/knconfig.h +++ b/knode/knconfig.h @@ -66,7 +66,7 @@ class Base { class KDE_EXPORT Identity : public TQObject, public Base { Q_OBJECT - TQ_OBJECT + friend class IdentityWidget; diff --git a/knode/knconfigmanager.h b/knode/knconfigmanager.h index 4ec08c413..c0c6a49ef 100644 --- a/knode/knconfigmanager.h +++ b/knode/knconfigmanager.h @@ -27,7 +27,7 @@ class KNConfigDialog; class KNConfigManager : TQObject { Q_OBJECT - TQ_OBJECT + public: KNConfigManager(TQObject *p=0, const char *n=0); @@ -72,7 +72,7 @@ class KNConfigManager : TQObject { class KNConfigDialog : public KCMultiDialog { Q_OBJECT - TQ_OBJECT + public: KNConfigDialog(TQWidget *p=0, const char *n=0); diff --git a/knode/knconfigpages.h b/knode/knconfigpages.h index 5479d3c8a..41054a97f 100644 --- a/knode/knconfigpages.h +++ b/knode/knconfigpages.h @@ -31,7 +31,7 @@ namespace KNConfig { */ class KDE_EXPORT BasePageWithTabs : public KCModule { Q_OBJECT - TQ_OBJECT + public: BasePageWithTabs( TQWidget * parent=0, const char * name=0 ); ~BasePageWithTabs() {}; @@ -52,7 +52,7 @@ class KDE_EXPORT BasePageWithTabs : public KCModule { // accounts page class AccountsPage : public BasePageWithTabs { Q_OBJECT - TQ_OBJECT + public: AccountsPage(TQWidget *parent = 0, const char *name = 0); @@ -62,7 +62,7 @@ class AccountsPage : public BasePageWithTabs { // read news page class KDE_EXPORT ReadNewsPage : public BasePageWithTabs { Q_OBJECT - TQ_OBJECT + public: ReadNewsPage(TQWidget *parent = 0, const char *name = 0); @@ -71,7 +71,7 @@ class KDE_EXPORT ReadNewsPage : public BasePageWithTabs { // post news page class KDE_EXPORT PostNewsPage : public BasePageWithTabs { Q_OBJECT - TQ_OBJECT + public: PostNewsPage(TQWidget *parent = 0, const char *name = 0); diff --git a/knode/knconfigwidgets.h b/knode/knconfigwidgets.h index adaec6136..fcf678a25 100644 --- a/knode/knconfigwidgets.h +++ b/knode/knconfigwidgets.h @@ -66,7 +66,7 @@ namespace KNConfig { class KDE_EXPORT IdentityWidget : public KCModule { Q_OBJECT - TQ_OBJECT + public: IdentityWidget(Identity *d, TQWidget *p=0, const char *n=0); @@ -108,7 +108,7 @@ class KDE_EXPORT IdentityWidget : public KCModule { class KDE_EXPORT NntpAccountListWidget : public KCModule { Q_OBJECT - TQ_OBJECT + public: NntpAccountListWidget(TQWidget *p=0, const char *n=0); @@ -156,7 +156,7 @@ class KDE_EXPORT NntpAccountListWidget : public KCModule { class KDE_EXPORT NntpAccountConfDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: NntpAccountConfDialog(KNNntpAccount* acc, TQWidget *p=0, const char *n=0); @@ -198,7 +198,7 @@ class KDE_EXPORT NntpAccountConfDialog : public KDialogBase { class KDE_EXPORT SmtpAccountWidget : public SmtpAccountWidgetBase { Q_OBJECT - TQ_OBJECT + public: SmtpAccountWidget(TQWidget *p=0, const char *n=0); @@ -220,7 +220,7 @@ Q_OBJECT class KDE_EXPORT AppearanceWidget : public KCModule { Q_OBJECT - TQ_OBJECT + public: AppearanceWidget(TQWidget *p=0, const char *n=0); @@ -349,7 +349,7 @@ class KDE_EXPORT ReadNewsNavigationWidget : public KCModule { class KDE_EXPORT ReadNewsViewerWidget : public KCModule { Q_OBJECT - TQ_OBJECT + public: ReadNewsViewerWidget(ReadNewsViewer *d, TQWidget *p=0, const char *n=0); @@ -376,7 +376,7 @@ class KDE_EXPORT ReadNewsViewerWidget : public KCModule { class KDE_EXPORT DisplayedHeadersWidget : public KCModule { Q_OBJECT - TQ_OBJECT + public: DisplayedHeadersWidget(DisplayedHeaders *d, TQWidget *p=0, const char *n=0); @@ -423,7 +423,7 @@ class KDE_EXPORT DisplayedHeadersWidget : public KCModule { class KDE_EXPORT DisplayedHeaderConfDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: DisplayedHeaderConfDialog(KNDisplayedHeader *h, TQWidget *p=0, char *n=0); @@ -448,7 +448,7 @@ class KDE_EXPORT DisplayedHeaderConfDialog : public KDialogBase { class KDE_EXPORT ScoringWidget : public KCModule { Q_OBJECT - TQ_OBJECT + public: ScoringWidget(Scoring *d, TQWidget *p=0, const char *n=0); @@ -469,7 +469,7 @@ class KDE_EXPORT ScoringWidget : public KCModule { class KDE_EXPORT FilterListWidget : public KCModule { Q_OBJECT - TQ_OBJECT + public: FilterListWidget(TQWidget *p=0, const char *n=0); @@ -535,7 +535,7 @@ class KDE_EXPORT FilterListWidget : public KCModule { class KDE_EXPORT PostNewsTechnicalWidget : public KCModule { Q_OBJECT - TQ_OBJECT + public: PostNewsTechnicalWidget(PostNewsTechnical *d, TQWidget *p=0, const char *n=0); @@ -589,7 +589,7 @@ class KDE_EXPORT XHeaderConfDialog : public KDialogBase { class KDE_EXPORT PostNewsComposerWidget : public KCModule { Q_OBJECT - TQ_OBJECT + public: PostNewsComposerWidget(PostNewsComposer *d, TQWidget *p=0, const char *n=0); @@ -635,7 +635,7 @@ class KDE_EXPORT PostNewsSpellingWidget : public KCModule { class KDE_EXPORT PrivacyWidget : public KCModule { Q_OBJECT - TQ_OBJECT + public: PrivacyWidget(TQWidget *p=0, const char *n=0); @@ -655,7 +655,7 @@ class KDE_EXPORT PrivacyWidget : public KCModule { class KDE_EXPORT GroupCleanupWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: GroupCleanupWidget( Cleanup *data, TQWidget *parent = 0, const char *name = 0 ); @@ -684,7 +684,7 @@ class KDE_EXPORT GroupCleanupWidget : public TQWidget { class KDE_EXPORT CleanupWidget : public KCModule { Q_OBJECT - TQ_OBJECT + public: CleanupWidget(TQWidget *p=0, const char *n=0); @@ -717,7 +717,7 @@ class KDE_EXPORT CleanupWidget : public KCModule { Q_OBJECT - TQ_OBJECT + public: CacheWidget(Cache *d, TQWidget *p=0, const char *n=0); diff --git a/knode/knconvert.h b/knode/knconvert.h index af0e91dcd..49f8e7010 100644 --- a/knode/knconvert.h +++ b/knode/knconvert.h @@ -35,7 +35,7 @@ class KProcess; class KDE_EXPORT KNConvert : public TQDialog { Q_OBJECT - TQ_OBJECT + public: static bool needToConvert(const TQString &oldVersion); diff --git a/knode/knfilterconfigwidget.h b/knode/knfilterconfigwidget.h index b0903a0c3..680231b5c 100644 --- a/knode/knfilterconfigwidget.h +++ b/knode/knfilterconfigwidget.h @@ -27,7 +27,7 @@ class KNRangeFilterWidget; class KNFilterConfigWidget : public TQTabWidget { Q_OBJECT - TQ_OBJECT + friend class KNFilterDialog; friend class KNSearchDialog; diff --git a/knode/knfilterdialog.h b/knode/knfilterdialog.h index 875217c94..b17eaed63 100644 --- a/knode/knfilterdialog.h +++ b/knode/knfilterdialog.h @@ -29,7 +29,7 @@ class TQCheckBox; class KNFilterDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + friend class KNFilterManager; diff --git a/knode/knfiltermanager.h b/knode/knfiltermanager.h index b037514c9..5bf974546 100644 --- a/knode/knfiltermanager.h +++ b/knode/knfiltermanager.h @@ -31,7 +31,7 @@ class KNFilterDialog; class KNFilterSelectAction : public KActionMenu { Q_OBJECT - TQ_OBJECT + public: KNFilterSelectAction( const TQString& text, const TQString& pix, @@ -54,7 +54,7 @@ class KNFilterSelectAction : public KActionMenu class KNFilterManager : public TQObject { Q_OBJECT - TQ_OBJECT + public: KNFilterManager(TQObject * parent = 0, const char * name = 0); diff --git a/knode/knfoldermanager.h b/knode/knfoldermanager.h index 0920a6751..9e817c23d 100644 --- a/knode/knfoldermanager.h +++ b/knode/knfoldermanager.h @@ -26,7 +26,7 @@ class KNCleanUp; class KNFolderManager : public TQObject { Q_OBJECT - TQ_OBJECT + public: KNFolderManager(KNArticleManager *a); diff --git a/knode/kngroupbrowser.h b/knode/kngroupbrowser.h index 65bbb293d..a3df9a764 100644 --- a/knode/kngroupbrowser.h +++ b/knode/kngroupbrowser.h @@ -35,7 +35,7 @@ class KNNntpAccount; class KNGroupBrowser : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: class CheckItem : public TQCheckListItem { diff --git a/knode/kngroupdialog.h b/knode/kngroupdialog.h index 625f2c071..f9b5a5236 100644 --- a/knode/kngroupdialog.h +++ b/knode/kngroupdialog.h @@ -23,7 +23,7 @@ class KNGroupDialog : public KNGroupBrowser { Q_OBJECT - TQ_OBJECT + public: KNGroupDialog(TQWidget *parent, KNNntpAccount *a); diff --git a/knode/kngroupmanager.h b/knode/kngroupmanager.h index c6ccc92fb..e35738301 100644 --- a/knode/kngroupmanager.h +++ b/knode/kngroupmanager.h @@ -78,7 +78,7 @@ class KNGroupListData : public KNJobItem { class KNGroupManager : public TQObject , public KNJobConsumer { Q_OBJECT - TQ_OBJECT + public: diff --git a/knode/kngroupselectdialog.h b/knode/kngroupselectdialog.h index a2d9e0163..177765bf6 100644 --- a/knode/kngroupselectdialog.h +++ b/knode/kngroupselectdialog.h @@ -23,7 +23,7 @@ class KNGroupSelectDialog : public KNGroupBrowser { Q_OBJECT - TQ_OBJECT + public: KNGroupSelectDialog(TQWidget *parent, KNNntpAccount *a, const TQString &act); diff --git a/knode/knjobdata.h b/knode/knjobdata.h index 5d9352ad5..09050f59f 100644 --- a/knode/knjobdata.h +++ b/knode/knjobdata.h @@ -71,7 +71,7 @@ class KNJobItem { class KNJobData : public TQObject { Q_OBJECT - TQ_OBJECT + public: diff --git a/knode/knmainwidget.h b/knode/knmainwidget.h index fffd22b45..8670966a8 100644 --- a/knode/knmainwidget.h +++ b/knode/knmainwidget.h @@ -63,7 +63,7 @@ class KActionCollection; class KDE_EXPORT KNMainWidget : public KDockArea, virtual public KNodeIface { Q_OBJECT - TQ_OBJECT + public: KNMainWidget( KXMLGUIClient *client, bool detachable, TQWidget* parent, const char* name ); ~KNMainWidget(); @@ -414,7 +414,7 @@ private: class FetchArticleIdDlg : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: FetchArticleIdDlg(TQWidget *parent, const char */*name*/ ); TQString messageId() const; diff --git a/knode/knnetaccess.h b/knode/knnetaccess.h index 23e34e0c0..b8f48f92f 100644 --- a/knode/knnetaccess.h +++ b/knode/knnetaccess.h @@ -37,7 +37,7 @@ class KNNntpClient; class KNNetAccess : public TQObject { Q_OBJECT - TQ_OBJECT + public: diff --git a/knode/knnntpaccount.h b/knode/knnntpaccount.h index 3625906fa..235670779 100644 --- a/knode/knnntpaccount.h +++ b/knode/knnntpaccount.h @@ -35,7 +35,7 @@ namespace KNConfig { class KNNntpAccountIntervalChecking : public TQObject { Q_OBJECT - TQ_OBJECT + public: KNNntpAccountIntervalChecking(KNNntpAccount *account); diff --git a/knode/knode.h b/knode/knode.h index f0dbca585..d22c96084 100644 --- a/knode/knode.h +++ b/knode/knode.h @@ -44,7 +44,7 @@ class KNHeaderView; class KNMainWindow : public KMainWindow { Q_OBJECT - TQ_OBJECT + public: KNMainWindow( TQWidget* parentWidget=0 ); diff --git a/knode/knode_part.h b/knode/knode_part.h index 4b0043f32..1f9d9b3b1 100644 --- a/knode/knode_part.h +++ b/knode/knode_part.h @@ -42,7 +42,7 @@ class KNMainWidget; class KNodePart: public KParts::ReadOnlyPart { Q_OBJECT - TQ_OBJECT + public: KNodePart(TQWidget *parentWidget, const char *widgetName, TQObject *parent, const char *name, const TQStringList &); diff --git a/knode/knrangefilter.h b/knode/knrangefilter.h index 8bf7d9504..1a1f4ebcc 100644 --- a/knode/knrangefilter.h +++ b/knode/knrangefilter.h @@ -63,7 +63,7 @@ class KNRangeFilter { class KNRangeFilterWidget : public TQGroupBox { Q_OBJECT - TQ_OBJECT + public: KNRangeFilterWidget(const TQString& value, int min, int max, TQWidget* parent, const TQString &unit=TQString()); diff --git a/knode/knscoring.h b/knode/knscoring.h index 00db3ee00..1e0c8c37b 100644 --- a/knode/knscoring.h +++ b/knode/knscoring.h @@ -61,7 +61,7 @@ public: class KNScoringManager : public KScoringManager { Q_OBJECT - TQ_OBJECT + public: KNScoringManager(); diff --git a/knode/knsearchdialog.h b/knode/knsearchdialog.h index f3c0647db..37b12eb3a 100644 --- a/knode/knsearchdialog.h +++ b/knode/knsearchdialog.h @@ -28,7 +28,7 @@ class KNArticleFilter; class KNSearchDialog : public TQDialog { Q_OBJECT - TQ_OBJECT + public: enum searchType { STfolderSearch, STgroupSearch }; diff --git a/knode/knsourceviewwindow.h b/knode/knsourceviewwindow.h index 6f720ea6b..595a1a998 100644 --- a/knode/knsourceviewwindow.h +++ b/knode/knsourceviewwindow.h @@ -21,7 +21,7 @@ class KNSourceViewWindow : public KTextBrowser { Q_OBJECT - TQ_OBJECT + public: KNSourceViewWindow( const TQString &text ); diff --git a/knode/knstatusfilter.h b/knode/knstatusfilter.h index 109e04557..cb949fb74 100644 --- a/knode/knstatusfilter.h +++ b/knode/knstatusfilter.h @@ -54,7 +54,7 @@ class KNStatusFilter { class KNStatusFilterWidget : public TQButtonGroup { Q_OBJECT - TQ_OBJECT + public: KNStatusFilterWidget(TQWidget *parent); diff --git a/knode/knstringfilter.h b/knode/knstringfilter.h index 2c93a70d4..8552d0871 100644 --- a/knode/knstringfilter.h +++ b/knode/knstringfilter.h @@ -58,7 +58,7 @@ class KNStringFilter { class KNStringFilterWidget : public TQGroupBox { Q_OBJECT - TQ_OBJECT + public: KNStringFilterWidget(const TQString& title, TQWidget *parent); diff --git a/knode/knwidgets.h b/knode/knwidgets.h index e9e782e20..dcdfe35b2 100644 --- a/knode/knwidgets.h +++ b/knode/knwidgets.h @@ -69,7 +69,7 @@ class KNDialogListBox : public TQListBox class KNDockWidgetHeaderDrag : public KDockWidgetHeaderDrag { Q_OBJECT - TQ_OBJECT + public: KNDockWidgetHeaderDrag(TQWidget *focusWidget, KDockWidgetAbstractHeader* parent, KDockWidget* dock, -- cgit v1.2.1