summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-20 12:35:34 +0900
committerMichele Calgaro <[email protected]>2023-07-23 18:50:27 +0900
commitef93b5a56c66ac5e4215eefe5cbbc00d384e5869 (patch)
tree0ce9e79b1513e8debdd969ad1869f46393214b24 /src/common
parentcd145010cc926e0ade6af1fbe6d7230839f84599 (diff)
downloadpiklab-ef93b5a56c66ac5e4215eefe5cbbc00d384e5869.tar.gz
piklab-ef93b5a56c66ac5e4215eefe5cbbc00d384e5869.zip
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit e860f57ae80a5d37c62b28271367a94959be6172)
Diffstat (limited to 'src/common')
-rw-r--r--src/common/cli/cli_main.h2
-rw-r--r--src/common/common/storage.h4
-rw-r--r--src/common/common/synchronous.h2
-rw-r--r--src/common/global/process.h10
-rw-r--r--src/common/global/progress_monitor.h2
-rw-r--r--src/common/global/purl.h2
-rw-r--r--src/common/gui/config_widget.h2
-rw-r--r--src/common/gui/container.h4
-rw-r--r--src/common/gui/dialog.h6
-rw-r--r--src/common/gui/editlistbox.h2
-rw-r--r--src/common/gui/hexword_gui.h6
-rw-r--r--src/common/gui/list_container.h2
-rw-r--r--src/common/gui/list_view.h2
-rw-r--r--src/common/gui/misc_gui.h12
-rw-r--r--src/common/gui/number_gui.h2
-rw-r--r--src/common/gui/purl_gui.h10
-rw-r--r--src/common/nokde/nokde_kprocess.h2
17 files changed, 36 insertions, 36 deletions
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<int> &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);