From ef93b5a56c66ac5e4215eefe5cbbc00d384e5869 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 20 Jul 2023 12:35:34 +0900 Subject: Replace Q_OBJECT with TQ_OBJECT Signed-off-by: Michele Calgaro (cherry picked from commit e860f57ae80a5d37c62b28271367a94959be6172) --- src/common/cli/cli_main.h | 2 +- src/common/common/storage.h | 4 ++-- src/common/common/synchronous.h | 2 +- src/common/global/process.h | 10 +++++----- src/common/global/progress_monitor.h | 2 +- src/common/global/purl.h | 2 +- src/common/gui/config_widget.h | 2 +- src/common/gui/container.h | 4 ++-- src/common/gui/dialog.h | 6 +++--- src/common/gui/editlistbox.h | 2 +- src/common/gui/hexword_gui.h | 6 +++--- src/common/gui/list_container.h | 2 +- src/common/gui/list_view.h | 2 +- src/common/gui/misc_gui.h | 12 ++++++------ src/common/gui/number_gui.h | 2 +- src/common/gui/purl_gui.h | 10 +++++----- src/common/nokde/nokde_kprocess.h | 2 +- 17 files changed, 36 insertions(+), 36 deletions(-) (limited to 'src/common') diff --git a/src/common/cli/cli_main.h b/src/common/cli/cli_main.h index 1b33c06..39dbada 100644 --- a/src/common/cli/cli_main.h +++ b/src/common/cli/cli_main.h @@ -57,7 +57,7 @@ private: //----------------------------------------------------------------------------- class MainBase : public TQObject, public Log::Base { -Q_OBJECT +TQ_OBJECT public: MainBase(Properties properties); diff --git a/src/common/common/storage.h b/src/common/common/storage.h index 18d375a..0e87296 100644 --- a/src/common/common/storage.h +++ b/src/common/common/storage.h @@ -34,7 +34,7 @@ private: //---------------------------------------------------------------------------- class GenericStorage : public TQObject { -Q_OBJECT +TQ_OBJECT public: GenericStorage(TQObject *parent = 0, const char *name = 0) : TQObject(parent, name), _dirty(false) {} @@ -58,7 +58,7 @@ class GenericView; class GenericViewProxy : public TQObject { -Q_OBJECT +TQ_OBJECT public: GenericViewProxy(GenericView &view) : _view(view) {} diff --git a/src/common/common/synchronous.h b/src/common/common/synchronous.h index d7d3d00..dcd1cba 100644 --- a/src/common/common/synchronous.h +++ b/src/common/common/synchronous.h @@ -14,7 +14,7 @@ class Synchronous : public TQObject { -Q_OBJECT +TQ_OBJECT public: Synchronous(uint timeout = 0); // timeout is ms (0 == no timeout) diff --git a/src/common/global/process.h b/src/common/global/process.h index ad0143d..bfafc78 100644 --- a/src/common/global/process.h +++ b/src/common/global/process.h @@ -30,7 +30,7 @@ extern State runSynchronously(Base &process, RunActions actions, uint timeout); //---------------------------------------------------------------------------- class Base : public TQObject { -Q_OBJECT +TQ_OBJECT public: Base(TQObject *parent, const char *name); @@ -74,7 +74,7 @@ protected: //---------------------------------------------------------------------------- class StringOutput : public Base { -Q_OBJECT +TQ_OBJECT public: StringOutput(TQObject *parent = 0, const char *name = 0) : Base(parent, name) {} @@ -89,7 +89,7 @@ private slots: //---------------------------------------------------------------------------- class LineBase : public Base { -Q_OBJECT +TQ_OBJECT public: LineBase(TQObject *parent = 0, const char *name = 0) : Base(parent, name) {} @@ -106,7 +106,7 @@ private: //---------------------------------------------------------------------------- class LineOutput : public LineBase { -Q_OBJECT +TQ_OBJECT public: LineOutput(TQObject *parent = 0, const char *name = 0) : LineBase(parent, name) {} @@ -124,7 +124,7 @@ protected: //---------------------------------------------------------------------------- class LineSignal : public LineBase { -Q_OBJECT +TQ_OBJECT public: LineSignal(TQObject *parent = 0, const char *name = 0) : LineBase(parent, name) {} diff --git a/src/common/global/progress_monitor.h b/src/common/global/progress_monitor.h index 3ccf424..8e5c235 100644 --- a/src/common/global/progress_monitor.h +++ b/src/common/global/progress_monitor.h @@ -13,7 +13,7 @@ class ProgressMonitor : public TQObject { -Q_OBJECT +TQ_OBJECT public: ProgressMonitor(TQObject *parent = 0); diff --git a/src/common/global/purl.h b/src/common/global/purl.h index 3fc373e..0867a1d 100644 --- a/src/common/global/purl.h +++ b/src/common/global/purl.h @@ -19,7 +19,7 @@ namespace PURL //---------------------------------------------------------------------------- class Http : public TQHttp { -Q_OBJECT +TQ_OBJECT public: Http(const TQString &hostname); diff --git a/src/common/gui/config_widget.h b/src/common/gui/config_widget.h index e981aac..b9959e8 100644 --- a/src/common/gui/config_widget.h +++ b/src/common/gui/config_widget.h @@ -20,7 +20,7 @@ //----------------------------------------------------------------------------- class ConfigWidget : public Container { -Q_OBJECT +TQ_OBJECT public: ConfigWidget(TQWidget *parent = 0) : Container(parent) {} diff --git a/src/common/gui/container.h b/src/common/gui/container.h index df59d1c..50a12f2 100644 --- a/src/common/gui/container.h +++ b/src/common/gui/container.h @@ -19,7 +19,7 @@ class PopupButton; //---------------------------------------------------------------------------- class Container : public TQFrame { -Q_OBJECT +TQ_OBJECT public: enum Type { Flat, Sunken }; @@ -47,7 +47,7 @@ private: //---------------------------------------------------------------------------- class ButtonContainer : public Container { -Q_OBJECT +TQ_OBJECT public: ButtonContainer(const TQString &title, TQWidget *parent); diff --git a/src/common/gui/dialog.h b/src/common/gui/dialog.h index d675314..893a8b3 100644 --- a/src/common/gui/dialog.h +++ b/src/common/gui/dialog.h @@ -16,7 +16,7 @@ //----------------------------------------------------------------------------- class Dialog : public KDialogBase { -Q_OBJECT +TQ_OBJECT public: Dialog(TQWidget *parent, const char *name, bool modal, @@ -37,7 +37,7 @@ private: //----------------------------------------------------------------------------- class TreeListDialog : public Dialog { -Q_OBJECT +TQ_OBJECT public: TreeListDialog(TQWidget *parent, const char *name, bool modal, @@ -70,7 +70,7 @@ protected: //----------------------------------------------------------------------------- class TextEditorDialog : public Dialog { -Q_OBJECT +TQ_OBJECT public: TextEditorDialog(const TQString &text, const TQString &caption, diff --git a/src/common/gui/editlistbox.h b/src/common/gui/editlistbox.h index 8bcee74..d6d881b 100644 --- a/src/common/gui/editlistbox.h +++ b/src/common/gui/editlistbox.h @@ -34,7 +34,7 @@ // * use TDEListView class EditListBox : public TQFrame { -Q_OBJECT +TQ_OBJECT public: enum Mode { DuplicatesDisallowed, DuplicatesAllowed, DuplicatesCheckedAtEntering }; diff --git a/src/common/gui/hexword_gui.h b/src/common/gui/hexword_gui.h index aa0a41c..d9bbed3 100644 --- a/src/common/gui/hexword_gui.h +++ b/src/common/gui/hexword_gui.h @@ -18,7 +18,7 @@ //----------------------------------------------------------------------------- class HexValueValidator : public TQValidator { -Q_OBJECT +TQ_OBJECT public: HexValueValidator(uint nbChars, TQObject *parent); @@ -31,7 +31,7 @@ private: //----------------------------------------------------------------------------- class GenericHexWordEditor : public KLineEdit { -Q_OBJECT +TQ_OBJECT public: GenericHexWordEditor(uint nbChars, bool hasBlankValue, TQWidget *parent); @@ -70,7 +70,7 @@ protected: //----------------------------------------------------------------------------- class HexWordEditor : public GenericHexWordEditor { -Q_OBJECT +TQ_OBJECT public: HexWordEditor(uint nbChars, TQWidget *parent) : GenericHexWordEditor(nbChars, false, parent) {} diff --git a/src/common/gui/list_container.h b/src/common/gui/list_container.h index ebeb6de..f99e3dc 100644 --- a/src/common/gui/list_container.h +++ b/src/common/gui/list_container.h @@ -26,7 +26,7 @@ public: //---------------------------------------------------------------------------- class PopupContainer : public TDEPopupMenu, public ListContainer { -Q_OBJECT +TQ_OBJECT public: PopupContainer(const TQString &title, TQWidget *parent = 0, const char *name = 0); diff --git a/src/common/gui/list_view.h b/src/common/gui/list_view.h index 41920bd..a026a7c 100644 --- a/src/common/gui/list_view.h +++ b/src/common/gui/list_view.h @@ -23,7 +23,7 @@ class ListViewToolTip; class ListView : public TDEListView { -Q_OBJECT +TQ_OBJECT public: ListView(TQWidget *parent = 0, const char *name = 0); diff --git a/src/common/gui/misc_gui.h b/src/common/gui/misc_gui.h index 5df7382..0980fa6 100644 --- a/src/common/gui/misc_gui.h +++ b/src/common/gui/misc_gui.h @@ -62,7 +62,7 @@ extern void text(const TQString &text, Log::ShowMode show); //---------------------------------------------------------------------------- class PopupButton : public KPushButton { -Q_OBJECT +TQ_OBJECT public: PopupButton(TQWidget *parent = 0, const char *name = 0); @@ -87,7 +87,7 @@ private: //----------------------------------------------------------------------------- class Splitter : public TQSplitter { -Q_OBJECT +TQ_OBJECT public: Splitter(const TQValueList &defaultSizes, Qt::Orientation orientation, @@ -111,7 +111,7 @@ public: //----------------------------------------------------------------------------- class SeparatorWidget : public TQFrame { -Q_OBJECT +TQ_OBJECT public: SeparatorWidget(TQWidget *parent) : TQFrame(parent, "separator") { @@ -124,7 +124,7 @@ public: //----------------------------------------------------------------------------- class TabBar : public KTabBar { -Q_OBJECT +TQ_OBJECT public: TabBar(TQWidget *parent = 0, const char *name = 0); @@ -140,7 +140,7 @@ private: class TabWidget : public KTabWidget { -Q_OBJECT +TQ_OBJECT public: TabWidget(TQWidget *parent = 0, const char *name = 0); @@ -154,7 +154,7 @@ protected: //----------------------------------------------------------------------------- class ComboBox : public TQComboBox { -Q_OBJECT +TQ_OBJECT public: ComboBox(TQWidget *parent = 0, const char *name = 0); diff --git a/src/common/gui/number_gui.h b/src/common/gui/number_gui.h index 683c5f9..d31e75c 100644 --- a/src/common/gui/number_gui.h +++ b/src/common/gui/number_gui.h @@ -25,7 +25,7 @@ extern TQValidator::State validateNumber(const TQString &s); //----------------------------------------------------------------------------- class NumberLineEdit : public KLineEdit { -Q_OBJECT +TQ_OBJECT public: NumberLineEdit(TQWidget *parent = 0, const char *name = 0); diff --git a/src/common/gui/purl_gui.h b/src/common/gui/purl_gui.h index d7dd012..7a97c7c 100644 --- a/src/common/gui/purl_gui.h +++ b/src/common/gui/purl_gui.h @@ -34,7 +34,7 @@ extern Url getSaveUrl(const TQString &startDir, const TQString &filter, TQWidget //----------------------------------------------------------------------------- class Label : public KURLLabel { -Q_OBJECT +TQ_OBJECT public: Label(const TQString &url, const TQString &text, TQWidget *parent = 0, const char *name = 0); @@ -46,7 +46,7 @@ private slots: //----------------------------------------------------------------------------- class BaseWidget : public TQWidget { -Q_OBJECT +TQ_OBJECT public: BaseWidget(TQWidget *parent = 0, const char *name = 0); @@ -69,7 +69,7 @@ protected: //----------------------------------------------------------------------------- class DirectoryWidget : public BaseWidget { -Q_OBJECT +TQ_OBJECT public: DirectoryWidget(TQWidget *parent = 0, const char *name = 0) : BaseWidget(parent, name) {} @@ -84,7 +84,7 @@ protected slots: //----------------------------------------------------------------------------- class DirectoriesWidget : public TQVGroupBox { -Q_OBJECT +TQ_OBJECT public: DirectoriesWidget(const TQString &title, TQWidget *parent = 0, const char *name = 0); @@ -103,7 +103,7 @@ private: //----------------------------------------------------------------------------- class UrlWidget : public BaseWidget { -Q_OBJECT +TQ_OBJECT public: UrlWidget(const TQString &filter, TQWidget *parent = 0, const char *name = 0) diff --git a/src/common/nokde/nokde_kprocess.h b/src/common/nokde/nokde_kprocess.h index b51d05b..29ba71f 100644 --- a/src/common/nokde/nokde_kprocess.h +++ b/src/common/nokde/nokde_kprocess.h @@ -12,7 +12,7 @@ class Q3Process; class TDEProcess : public TQObject { -Q_OBJECT +TQ_OBJECT public: TDEProcess(TQObject *parent = 0, const char *name = 0); -- cgit v1.2.1