From 318e3e3a6243cbfe01d25f679ca5f1ed07bb06e0 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 20 Jul 2023 12:57:21 +0900 Subject: [PATCH] Replace Q_OBJECT with TQ_OBJECT Signed-off-by: Michele Calgaro --- src/arkollon/uninstallwizard.h | 2 +- src/arkollon/wizard.h | 2 +- src/configdialog.h | 2 +- src/dndlistview.h | 2 +- src/hitwidget.h | 2 +- src/kerrylabel.h | 2 +- src/konqplugin/tork_plug_in.h | 4 ++-- src/kwidgetlistbox.h | 2 +- src/likeback.h | 2 +- src/likeback_private.h | 4 ++-- src/newstreamosd.h | 2 +- src/popupMessage.h | 2 +- src/statgraph.h | 2 +- src/testprivacyproxy.h | 2 +- src/torclient.h | 2 +- src/tork.h | 2 +- src/torkactivelabel.h | 2 +- src/torkapplet/tork_mnu.h | 2 +- src/torkview.h | 6 +++--- src/trayhoverpopup.h | 2 +- src/trayicon.h | 4 ++-- src/update.h | 2 +- src/upnp/exitoperation.h | 4 ++-- src/upnp/httprequest.h | 2 +- src/upnp/upnpmcastsocket.h | 2 +- src/upnp/upnprouter.h | 4 ++-- src/upnpmanager.h | 2 +- 27 files changed, 34 insertions(+), 34 deletions(-) diff --git a/src/arkollon/uninstallwizard.h b/src/arkollon/uninstallwizard.h index 0d10cbd..c6b0366 100644 --- a/src/arkollon/uninstallwizard.h +++ b/src/arkollon/uninstallwizard.h @@ -46,7 +46,7 @@ public: class UninstallWizard : public WizardBase { - Q_OBJECT + TQ_OBJECT public: UninstallWizard(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); diff --git a/src/arkollon/wizard.h b/src/arkollon/wizard.h index d7e0866..ad4eccf 100644 --- a/src/arkollon/wizard.h +++ b/src/arkollon/wizard.h @@ -96,7 +96,7 @@ private: class Wizard : public WizardBase { - Q_OBJECT + TQ_OBJECT public: Wizard(TQWidget *parent = 0, const char *name = 0); diff --git a/src/configdialog.h b/src/configdialog.h index 20824b0..1e56a52 100644 --- a/src/configdialog.h +++ b/src/configdialog.h @@ -29,7 +29,7 @@ class TQVBox; class TorkConfigDialog : public TDEConfigDialog { - Q_OBJECT + TQ_OBJECT public: TorkConfigDialog( TQWidget *parent, const char* name, TDEConfigSkeleton *config ); diff --git a/src/dndlistview.h b/src/dndlistview.h index 7305960..74e7a24 100644 --- a/src/dndlistview.h +++ b/src/dndlistview.h @@ -31,7 +31,7 @@ class TQDragDropEvent; class DndListView : public TQListView { -Q_OBJECT +TQ_OBJECT public: DndListView( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 ); diff --git a/src/hitwidget.h b/src/hitwidget.h index b8a0e05..4116854 100644 --- a/src/hitwidget.h +++ b/src/hitwidget.h @@ -30,7 +30,7 @@ class TQScrollView; class HitWidget : public HitWidgetLayout { - Q_OBJECT + TQ_OBJECT public: HitWidget(TQString uri, TQString mimetype, KWidgetListbox *parent = 0, const char *name = 0); ~HitWidget(); diff --git a/src/kerrylabel.h b/src/kerrylabel.h index 9689fab..9895930 100644 --- a/src/kerrylabel.h +++ b/src/kerrylabel.h @@ -28,7 +28,7 @@ class TQTextDrag; class KerryLabel : public KURLLabel { - Q_OBJECT + TQ_OBJECT public: KerryLabel (TQWidget* parent = 0L, const char* name = 0L); diff --git a/src/konqplugin/tork_plug_in.h b/src/konqplugin/tork_plug_in.h index 115bd94..7398c4c 100644 --- a/src/konqplugin/tork_plug_in.h +++ b/src/konqplugin/tork_plug_in.h @@ -47,7 +47,7 @@ class TDEInstance; class Tork_plug_in : public KParts::Plugin { - Q_OBJECT + TQ_OBJECT public: Tork_plug_in( TQObject* parent = 0, const char* name = 0 ); TDEAction *m_paToggleTDE ; @@ -65,7 +65,7 @@ private slots: class KPluginFactory : public KLibFactory { - Q_OBJECT + TQ_OBJECT public: KPluginFactory( TQObject *parent = 0, const char *name = 0 ); ~KPluginFactory() ; diff --git a/src/kwidgetlistbox.h b/src/kwidgetlistbox.h index 0603673..c008f1c 100644 --- a/src/kwidgetlistbox.h +++ b/src/kwidgetlistbox.h @@ -26,7 +26,7 @@ typedef bool (*show_callback) (int index, TQWidget* widget, void* data); class KWidgetListbox : public TQTable { - Q_OBJECT + TQ_OBJECT public: KWidgetListbox(TQWidget *parent = 0, const char *name = 0); diff --git a/src/likeback.h b/src/likeback.h index 7961362..42cb97e 100644 --- a/src/likeback.h +++ b/src/likeback.h @@ -74,7 +74,7 @@ class LikeBackDialog; */ class LikeBack : public TQObject { - Q_OBJECT + TQ_OBJECT public: /** * Ids of every LikeBack buttons the button-bar can have. diff --git a/src/likeback_private.h b/src/likeback_private.h index fc0aadc..6f93f3d 100644 --- a/src/likeback_private.h +++ b/src/likeback_private.h @@ -57,7 +57,7 @@ class LikeBackPrivate class LikeBackBar : public TQWidget { - Q_OBJECT + TQ_OBJECT public: LikeBackBar(LikeBack *likeBack); ~LikeBackBar(); @@ -81,7 +81,7 @@ class LikeBackBar : public TQWidget class LikeBackDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: LikeBackDialog(LikeBack::Button reason, const TQString &initialComment, const TQString &windowPath, const TQString &context, LikeBack *likeBack); ~LikeBackDialog(); diff --git a/src/newstreamosd.h b/src/newstreamosd.h index b2c6511..833b8d0 100644 --- a/src/newstreamosd.h +++ b/src/newstreamosd.h @@ -40,7 +40,7 @@ class torkView; */ class StreamOSD : public TQWidget { - Q_OBJECT + TQ_OBJECT public: StreamOSD( torkView* parent = 0, bool tortraffic = true , const char* name = 0); diff --git a/src/popupMessage.h b/src/popupMessage.h index 12a6899..59f823c 100644 --- a/src/popupMessage.h +++ b/src/popupMessage.h @@ -41,7 +41,7 @@ namespace KDE */ class PopupMessage : public OverlayWidget { - Q_OBJECT + TQ_OBJECT signals: void yesClicked(); diff --git a/src/statgraph.h b/src/statgraph.h index aeeb525..2abb462 100644 --- a/src/statgraph.h +++ b/src/statgraph.h @@ -50,7 +50,7 @@ * */ class StatGraph : public TQLabel { -Q_OBJECT +TQ_OBJECT public: //@{ /** diff --git a/src/testprivacyproxy.h b/src/testprivacyproxy.h index 9d88c94..0ae82da 100644 --- a/src/testprivacyproxy.h +++ b/src/testprivacyproxy.h @@ -41,7 +41,7 @@ class TestPrivoxy : public TQObject { - Q_OBJECT + TQ_OBJECT public: TestPrivoxy( ); diff --git a/src/torclient.h b/src/torclient.h index 657dfdc..d69b24e 100644 --- a/src/torclient.h +++ b/src/torclient.h @@ -63,7 +63,7 @@ class PrevConfig class TorClient : public TQObject { - Q_OBJECT + TQ_OBJECT public: TorClient( const TQString &host, TQ_UINT16 port ); diff --git a/src/tork.h b/src/tork.h index fd9cf31..10e35eb 100644 --- a/src/tork.h +++ b/src/tork.h @@ -90,7 +90,7 @@ typedef enum display_status_t { */ class tork : public TDEMainWindow, virtual public DCOPTork { - Q_OBJECT + TQ_OBJECT public: /** * Default Constructor diff --git a/src/torkactivelabel.h b/src/torkactivelabel.h index 04e441e..7a45139 100644 --- a/src/torkactivelabel.h +++ b/src/torkactivelabel.h @@ -28,7 +28,7 @@ class TorkActiveLabel : public KActiveLabel { -Q_OBJECT +TQ_OBJECT public: TorkActiveLabel(const TQString &text, TQWidget *parent, const char *name=0); diff --git a/src/torkapplet/tork_mnu.h b/src/torkapplet/tork_mnu.h index 2474ea5..6a2ff04 100644 --- a/src/torkapplet/tork_mnu.h +++ b/src/torkapplet/tork_mnu.h @@ -32,7 +32,7 @@ class TorkMenu : public KPanelMenu/*, public KPReloadObject*/ { - Q_OBJECT + TQ_OBJECT public: TorkMenu(TQWidget *parent, const char *name, const TQStringList& /* args */); diff --git a/src/torkview.h b/src/torkview.h index 3f015ce..d59613b 100644 --- a/src/torkview.h +++ b/src/torkview.h @@ -60,7 +60,7 @@ class streamItem; */ class torkView : public torkview_base { - Q_OBJECT + TQ_OBJECT enum { HISTORY_SIZE = 300, // Speed history buffer size @@ -379,7 +379,7 @@ TQString torkView::byteFormat( double num, const char* ksufix, class streamItem : public TQObject, public TQListViewItem { -Q_OBJECT +TQ_OBJECT public: streamItem( DndListView *parent, const TQString &id, @@ -512,7 +512,7 @@ double streamItem::byteSpeedTx() const { class circuitItem : public TQObject, public TQListViewItem { -Q_OBJECT +TQ_OBJECT public: circuitItem( DndListView *parent, const TQString &id, diff --git a/src/trayhoverpopup.h b/src/trayhoverpopup.h index 4e4c22b..71a169a 100644 --- a/src/trayhoverpopup.h +++ b/src/trayhoverpopup.h @@ -54,7 +54,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/src/trayicon.h b/src/trayicon.h index 41258fc..b330726 100644 --- a/src/trayicon.h +++ b/src/trayicon.h @@ -59,7 +59,7 @@ class tork; */ class TrayIcon : public KSystemTray { - Q_OBJECT + TQ_OBJECT public: TrayIcon(tork *parent = 0, const char *name = 0); virtual ~TrayIcon(); @@ -86,7 +86,7 @@ private: class SetMaxRate : public TDEPopupMenu { - Q_OBJECT + TQ_OBJECT public: SetMaxRate(tork *parent=0, const char *name=0); // type: 0 Upload; 1 Download ~SetMaxRate() diff --git a/src/update.h b/src/update.h index dd027dc..e221ec7 100644 --- a/src/update.h +++ b/src/update.h @@ -58,7 +58,7 @@ class TDEHTMLPart; */ class TorkUpdate : public TQWidget { - Q_OBJECT + TQ_OBJECT public: diff --git a/src/upnp/exitoperation.h b/src/upnp/exitoperation.h index 3afda7a..7cddcfa 100644 --- a/src/upnp/exitoperation.h +++ b/src/upnp/exitoperation.h @@ -38,7 +38,7 @@ namespace kt */ class ExitOperation : public TQObject { - Q_OBJECT + TQ_OBJECT public: ExitOperation(); virtual ~ExitOperation(); @@ -54,7 +54,7 @@ namespace kt */ class ExitJobOperation : public ExitOperation { - Q_OBJECT + TQ_OBJECT public: ExitJobOperation(TDEIO::Job* j); virtual ~ExitJobOperation(); diff --git a/src/upnp/httprequest.h b/src/upnp/httprequest.h index 47428cd..d35e08e 100644 --- a/src/upnp/httprequest.h +++ b/src/upnp/httprequest.h @@ -42,7 +42,7 @@ namespace bt */ class HTTPRequest : public kt::ExitOperation { - Q_OBJECT + TQ_OBJECT public: /** * Constructor, set the url and the request header. diff --git a/src/upnp/upnpmcastsocket.h b/src/upnp/upnpmcastsocket.h index c7b7a3c..9cad417 100644 --- a/src/upnp/upnpmcastsocket.h +++ b/src/upnp/upnpmcastsocket.h @@ -40,7 +40,7 @@ namespace kt */ class UPnPMCastSocket : public KNetwork::KDatagramSocket { - Q_OBJECT + TQ_OBJECT public: UPnPMCastSocket(bool verbose = false); virtual ~UPnPMCastSocket(); diff --git a/src/upnp/upnprouter.h b/src/upnp/upnprouter.h index 73463c9..fbf20c1 100644 --- a/src/upnp/upnprouter.h +++ b/src/upnp/upnprouter.h @@ -45,7 +45,7 @@ namespace bt */ class WaitJob : public TDEIO::Job { - Q_OBJECT + TQ_OBJECT public: WaitJob(Uint32 millis); virtual ~WaitJob(); @@ -164,7 +164,7 @@ namespace kt */ class UPnPRouter : public TQObject { - Q_OBJECT + TQ_OBJECT public: struct Forwarding diff --git a/src/upnpmanager.h b/src/upnpmanager.h index 9cd245d..c5259c1 100644 --- a/src/upnpmanager.h +++ b/src/upnpmanager.h @@ -43,7 +43,7 @@ using namespace net; */ class UPnPManager : public TQWidget { - Q_OBJECT + TQ_OBJECT public: static UPnPManager* Manager();