From 4ffdeab3ca64c74e7053b2e26c93ebc7f6e22823 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 17 Feb 2012 16:01:12 -0600 Subject: Remove spurious TQ_OBJECT instances --- apps/ktorrent/addpeerwidget.h | 4 ++-- apps/ktorrent/fileselectdlg.h | 2 +- apps/ktorrent/filterbar.h | 2 +- apps/ktorrent/groups/groupview.h | 2 +- apps/ktorrent/groups/torrentdrag.h | 2 +- apps/ktorrent/ipfilterwidget.h | 2 +- apps/ktorrent/ktorrent.h | 2 +- apps/ktorrent/ktorrentapp.h | 2 +- apps/ktorrent/ktorrentcore.h | 2 +- apps/ktorrent/ktorrentdcop.h | 2 +- apps/ktorrent/ktorrentview.h | 2 +- apps/ktorrent/ktorrentviewmenu.h | 2 +- apps/ktorrent/newui/button.h | 2 +- apps/ktorrent/newui/buttonbar.h | 2 +- apps/ktorrent/newui/ddockwindow.h | 2 +- apps/ktorrent/newui/dmainwindow.h | 2 +- apps/ktorrent/newui/docksplitter.h | 2 +- apps/ktorrent/newui/dtabwidget.h | 2 +- apps/ktorrent/pastedialog.h | 2 +- apps/ktorrent/pref.h | 6 +++--- apps/ktorrent/queuedialog.h | 2 +- apps/ktorrent/scandialog.h | 2 +- apps/ktorrent/speedlimitsdlg.h | 2 +- apps/ktorrent/torrentcreatordlg.h | 2 +- apps/ktorrent/trayhoverpopup.h | 2 +- apps/ktorrent/trayicon.h | 4 ++-- apps/ktorrent/viewmanager.h | 2 +- apps/ktupnptest/upnptestapp.h | 2 +- 28 files changed, 32 insertions(+), 32 deletions(-) (limited to 'apps') diff --git a/apps/ktorrent/addpeerwidget.h b/apps/ktorrent/addpeerwidget.h index d0c23f5..4ca8db8 100644 --- a/apps/ktorrent/addpeerwidget.h +++ b/apps/ktorrent/addpeerwidget.h @@ -44,7 +44,7 @@ namespace bt class ManualPeerSource: public kt::PeerSource { Q_OBJECT - TQ_OBJECT + public: ManualPeerSource(); @@ -79,7 +79,7 @@ class ManualPeerSource: public kt::PeerSource class AddPeerWidget: public AddPeerWidgetBase { Q_OBJECT - TQ_OBJECT + public: AddPeerWidget(kt::TorrentInterface* tc, TQWidget *parent = 0, const char *name = 0); ~AddPeerWidget(); diff --git a/apps/ktorrent/fileselectdlg.h b/apps/ktorrent/fileselectdlg.h index 2fc4393..9a67482 100644 --- a/apps/ktorrent/fileselectdlg.h +++ b/apps/ktorrent/fileselectdlg.h @@ -43,7 +43,7 @@ namespace kt class FileSelectDlg : public FileSelectDlgBase, public kt::FileTreeRootListener { Q_OBJECT - TQ_OBJECT + kt::TorrentInterface* tc; kt::FileTreeDirItem* root; diff --git a/apps/ktorrent/filterbar.h b/apps/ktorrent/filterbar.h index 4fc5d5a..06743ff 100644 --- a/apps/ktorrent/filterbar.h +++ b/apps/ktorrent/filterbar.h @@ -42,7 +42,7 @@ namespace kt class FilterBar : public TQWidget { Q_OBJECT - TQ_OBJECT + public: FilterBar ( TQWidget *parent = 0, const char *name = 0 ); diff --git a/apps/ktorrent/groups/groupview.h b/apps/ktorrent/groups/groupview.h index 2805548..3243487 100644 --- a/apps/ktorrent/groups/groupview.h +++ b/apps/ktorrent/groups/groupview.h @@ -53,7 +53,7 @@ namespace kt class GroupView : public KListView { Q_OBJECT - TQ_OBJECT + public: GroupView(ViewManager* view,KActionCollection* col,TQWidget *parent = 0, const char *name = 0); virtual ~GroupView(); diff --git a/apps/ktorrent/groups/torrentdrag.h b/apps/ktorrent/groups/torrentdrag.h index 24b6fb2..b7eeebd 100644 --- a/apps/ktorrent/groups/torrentdrag.h +++ b/apps/ktorrent/groups/torrentdrag.h @@ -32,7 +32,7 @@ namespace kt class TorrentDrag : public TQStoredDrag { Q_OBJECT - TQ_OBJECT + public: TorrentDrag(TQWidget* src,const char *name = 0); virtual ~TorrentDrag(); diff --git a/apps/ktorrent/ipfilterwidget.h b/apps/ktorrent/ipfilterwidget.h index d03da92..8863b1a 100644 --- a/apps/ktorrent/ipfilterwidget.h +++ b/apps/ktorrent/ipfilterwidget.h @@ -30,7 +30,7 @@ class IPFilterWidget: public BlacklistWidgetBase { Q_OBJECT - TQ_OBJECT + public: IPFilterWidget(TQWidget *parent = 0, const char *name = 0); diff --git a/apps/ktorrent/ktorrent.h b/apps/ktorrent/ktorrent.h index 6ac7bee..f32641a 100644 --- a/apps/ktorrent/ktorrent.h +++ b/apps/ktorrent/ktorrent.h @@ -66,7 +66,7 @@ namespace kt class KTorrent : public DMainWindow, public kt::GUIInterface { Q_OBJECT - TQ_OBJECT + public: /** * Default Constructor diff --git a/apps/ktorrent/ktorrentapp.h b/apps/ktorrent/ktorrentapp.h index 1bbc525..5e6d300 100644 --- a/apps/ktorrent/ktorrentapp.h +++ b/apps/ktorrent/ktorrentapp.h @@ -27,7 +27,7 @@ class KTorrentApp : public KUniqueApplication { Q_OBJECT - TQ_OBJECT + public: KTorrentApp(); virtual ~KTorrentApp(); diff --git a/apps/ktorrent/ktorrentcore.h b/apps/ktorrent/ktorrentcore.h index 4cafb65..f17cb89 100644 --- a/apps/ktorrent/ktorrentcore.h +++ b/apps/ktorrent/ktorrentcore.h @@ -63,7 +63,7 @@ class KProgress; class KTorrentCore : public kt::CoreInterface { Q_OBJECT - TQ_OBJECT + public: KTorrentCore(kt::GUIInterface* gui); virtual ~KTorrentCore(); diff --git a/apps/ktorrent/ktorrentdcop.h b/apps/ktorrent/ktorrentdcop.h index 769cc60..2e0f7e0 100644 --- a/apps/ktorrent/ktorrentdcop.h +++ b/apps/ktorrent/ktorrentdcop.h @@ -30,7 +30,7 @@ class KTorrent; class KTorrentDCOP : public TQObject,virtual public DCOPInterface { Q_OBJECT - TQ_OBJECT + KTorrent* app; public: KTorrentDCOP(KTorrent* app); diff --git a/apps/ktorrent/ktorrentview.h b/apps/ktorrent/ktorrentview.h index 0e2de7e..1355baa 100644 --- a/apps/ktorrent/ktorrentview.h +++ b/apps/ktorrent/ktorrentview.h @@ -66,7 +66,7 @@ private: class KTorrentView : public TQWidget { Q_OBJECT - TQ_OBJECT + public: enum ActionEnableFlags { diff --git a/apps/ktorrent/ktorrentviewmenu.h b/apps/ktorrent/ktorrentviewmenu.h index f6f0263..c8cdbc5 100644 --- a/apps/ktorrent/ktorrentviewmenu.h +++ b/apps/ktorrent/ktorrentviewmenu.h @@ -30,7 +30,7 @@ class KTorrentView; class KTorrentViewMenu : public KPopupMenu { Q_OBJECT - TQ_OBJECT + public: KTorrentViewMenu(KTorrentView *parent, const char *name = 0 ); virtual ~KTorrentViewMenu(); diff --git a/apps/ktorrent/newui/button.h b/apps/ktorrent/newui/button.h index 18aecd4..03e2876 100644 --- a/apps/ktorrent/newui/button.h +++ b/apps/ktorrent/newui/button.h @@ -39,7 +39,7 @@ A TQPushButton derivative with a size of a TQToolBar. Button can be rotated */ class Button : public TQPushButton { Q_OBJECT - TQ_OBJECT + public: Button(ButtonBar *parent, const TQString text, const TQIconSet &icon = TQIconSet(), const TQString &description = TQString()); diff --git a/apps/ktorrent/newui/buttonbar.h b/apps/ktorrent/newui/buttonbar.h index 8128fe6..2cb3e9f 100644 --- a/apps/ktorrent/newui/buttonbar.h +++ b/apps/ktorrent/newui/buttonbar.h @@ -53,7 +53,7 @@ placing on the left(right, bottom, top) corners of a window as a bar with slider */ class ButtonBar : public TQWidget { Q_OBJECT - TQ_OBJECT + public: ButtonBar(Place place, ButtonMode mode = IconsAndText, TQWidget *parent = 0, const char *name = 0); diff --git a/apps/ktorrent/newui/ddockwindow.h b/apps/ktorrent/newui/ddockwindow.h index 6252f14..b0f3607 100644 --- a/apps/ktorrent/newui/ddockwindow.h +++ b/apps/ktorrent/newui/ddockwindow.h @@ -40,7 +40,7 @@ namespace Ideal { class DDockWindow : public TQDockWindow { Q_OBJECT - TQ_OBJECT + public: enum Position { Bottom, Left, Right }; diff --git a/apps/ktorrent/newui/dmainwindow.h b/apps/ktorrent/newui/dmainwindow.h index b70a5f4..7a00f00 100644 --- a/apps/ktorrent/newui/dmainwindow.h +++ b/apps/ktorrent/newui/dmainwindow.h @@ -33,7 +33,7 @@ namespace Ideal { /**Main window which provides simplified IDEA mode.*/ class DMainWindow: public KParts::MainWindow { Q_OBJECT - TQ_OBJECT + public: DMainWindow(TQWidget *parent = 0, const char *name = 0); virtual ~DMainWindow(); diff --git a/apps/ktorrent/newui/docksplitter.h b/apps/ktorrent/newui/docksplitter.h index 3f0a226..4ecda58 100644 --- a/apps/ktorrent/newui/docksplitter.h +++ b/apps/ktorrent/newui/docksplitter.h @@ -32,7 +32,7 @@ class DockWidget; */ class DockSplitter: public TQSplitter { Q_OBJECT - TQ_OBJECT + public: DockSplitter(Qt::Orientation orientation, TQWidget *parent = 0, const char *name = 0); ~DockSplitter(); diff --git a/apps/ktorrent/newui/dtabwidget.h b/apps/ktorrent/newui/dtabwidget.h index cca5caa..99559d9 100644 --- a/apps/ktorrent/newui/dtabwidget.h +++ b/apps/ktorrent/newui/dtabwidget.h @@ -26,7 +26,7 @@ class TQToolButton; class DTabWidget: public KTabWidget { Q_OBJECT - TQ_OBJECT + public: DTabWidget(TQWidget *parent=0, const char *name=0); diff --git a/apps/ktorrent/pastedialog.h b/apps/ktorrent/pastedialog.h index 03cbdfe..c40cf43 100644 --- a/apps/ktorrent/pastedialog.h +++ b/apps/ktorrent/pastedialog.h @@ -31,7 +31,7 @@ class KTorrentCore; class PasteDialog: public PasteDlgBase { Q_OBJECT - TQ_OBJECT + public slots: virtual void btnOK_clicked(); diff --git a/apps/ktorrent/pref.h b/apps/ktorrent/pref.h index 121bce7..e1108d5 100644 --- a/apps/ktorrent/pref.h +++ b/apps/ktorrent/pref.h @@ -51,7 +51,7 @@ public: class GeneralPrefPage : public TQObject,public kt::PrefPageInterface { Q_OBJECT - TQ_OBJECT + GeneralPref* gp; public: GeneralPrefPage(); @@ -72,7 +72,7 @@ private slots: class AdvancedPrefPage : public TQObject,public kt::PrefPageInterface { Q_OBJECT - TQ_OBJECT + AdvancedPref* ap; public: @@ -95,7 +95,7 @@ private slots: class KTorrentPreferences : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: KTorrentPreferences(KTorrent & ktor); virtual ~KTorrentPreferences(); diff --git a/apps/ktorrent/queuedialog.h b/apps/ktorrent/queuedialog.h index b672fa9..d025fbf 100644 --- a/apps/ktorrent/queuedialog.h +++ b/apps/ktorrent/queuedialog.h @@ -51,7 +51,7 @@ class QueueItem: public TQListViewItem class QueueDialog: public QueueDlg { Q_OBJECT - TQ_OBJECT + public: QueueDialog(bt::QueueManager* qm, TQWidget *parent = 0, const char *name = 0); public slots: diff --git a/apps/ktorrent/scandialog.h b/apps/ktorrent/scandialog.h index 5d3b512..62a3d7b 100644 --- a/apps/ktorrent/scandialog.h +++ b/apps/ktorrent/scandialog.h @@ -37,7 +37,7 @@ class KTorrentCore; class ScanDialog : public ScanDlgBase, public bt::DataCheckerListener { Q_OBJECT - TQ_OBJECT + public: ScanDialog(KTorrentCore* core,bool auto_import,TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = WDestructiveClose ); virtual ~ScanDialog(); diff --git a/apps/ktorrent/speedlimitsdlg.h b/apps/ktorrent/speedlimitsdlg.h index ec1d4b7..e1b8b60 100644 --- a/apps/ktorrent/speedlimitsdlg.h +++ b/apps/ktorrent/speedlimitsdlg.h @@ -31,7 +31,7 @@ namespace kt class SpeedLimitsDlg : public SpeedLimitsDlgBase { Q_OBJECT - TQ_OBJECT + kt::TorrentInterface* tor; public: diff --git a/apps/ktorrent/torrentcreatordlg.h b/apps/ktorrent/torrentcreatordlg.h index 2098331..b19c2fb 100644 --- a/apps/ktorrent/torrentcreatordlg.h +++ b/apps/ktorrent/torrentcreatordlg.h @@ -19,7 +19,7 @@ class KTorrentCore; class TorrentCreatorDlg: public TorrentCreatorDlgBase { Q_OBJECT - TQ_OBJECT + public: TorrentCreatorDlg(KTorrentCore* core,TQWidget *parent = 0, const char *name = 0); virtual ~TorrentCreatorDlg(); diff --git a/apps/ktorrent/trayhoverpopup.h b/apps/ktorrent/trayhoverpopup.h index b1a9b9e..f052424 100644 --- a/apps/ktorrent/trayhoverpopup.h +++ b/apps/ktorrent/trayhoverpopup.h @@ -34,7 +34,7 @@ class TQPixmap; class TrayHoverPopup : public KPassivePopup { Q_OBJECT - TQ_OBJECT + public: TrayHoverPopup(const TQPixmap & pix,TQWidget *parent = 0, const char *name = 0 ); virtual ~TrayHoverPopup(); diff --git a/apps/ktorrent/trayicon.h b/apps/ktorrent/trayicon.h index 6e4ac11..00ea664 100644 --- a/apps/ktorrent/trayicon.h +++ b/apps/ktorrent/trayicon.h @@ -50,7 +50,7 @@ struct TrayStats class TrayIcon : public KSystemTray { Q_OBJECT - TQ_OBJECT + public: TrayIcon(KTorrentCore* tc, TQWidget *parent = 0, const char *name = 0); virtual ~TrayIcon(); @@ -124,7 +124,7 @@ private: class SetMaxRate : public KPopupMenu { Q_OBJECT - TQ_OBJECT + public: SetMaxRate(KTorrentCore* tc, int t, TQWidget *parent=0, const char *name=0); // type: 0 Upload; 1 Download ~SetMaxRate() diff --git a/apps/ktorrent/viewmanager.h b/apps/ktorrent/viewmanager.h index 38b658f..1c959aa 100644 --- a/apps/ktorrent/viewmanager.h +++ b/apps/ktorrent/viewmanager.h @@ -35,7 +35,7 @@ class KTorrent; class ViewManager : public TQObject, public kt::CloseTabListener { Q_OBJECT - TQ_OBJECT + public: ViewManager(TQObject *parent = 0, const char *name = 0); virtual ~ViewManager(); diff --git a/apps/ktupnptest/upnptestapp.h b/apps/ktupnptest/upnptestapp.h index 6fd0faf..8d34213 100644 --- a/apps/ktupnptest/upnptestapp.h +++ b/apps/ktupnptest/upnptestapp.h @@ -38,7 +38,7 @@ using kt::UPnPRouter; class UPnPTestApp : public KMainWindow, public kt::LogMonitorInterface { Q_OBJECT - TQ_OBJECT + public: UPnPTestApp(TQWidget *parent = 0, const char *name = 0); virtual ~UPnPTestApp(); -- cgit v1.2.3