summaryrefslogtreecommitdiffstats
path: root/src/devices
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-20 12:35:34 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-23 18:50:27 +0900
commitef93b5a56c66ac5e4215eefe5cbbc00d384e5869 (patch)
tree0ce9e79b1513e8debdd969ad1869f46393214b24 /src/devices
parentcd145010cc926e0ade6af1fbe6d7230839f84599 (diff)
downloadpiklab-ef93b5a56c66ac5e4215eefe5cbbc00d384e5869.tar.gz
piklab-ef93b5a56c66ac5e4215eefe5cbbc00d384e5869.zip
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit e860f57ae80a5d37c62b28271367a94959be6172)
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/base/register.h2
-rw-r--r--src/devices/gui/hex_view.h2
-rw-r--r--src/devices/gui/hex_word_editor.h4
-rw-r--r--src/devices/gui/memory_editor.h8
-rw-r--r--src/devices/gui/register_view.h4
-rw-r--r--src/devices/mem24/gui/mem24_hex_view.h2
-rw-r--r--src/devices/mem24/gui/mem24_memory_editor.h6
-rw-r--r--src/devices/pic/gui/pic_config_editor.h4
-rw-r--r--src/devices/pic/gui/pic_config_word_editor.h6
-rw-r--r--src/devices/pic/gui/pic_hex_view.h2
-rw-r--r--src/devices/pic/gui/pic_memory_editor.h16
-rw-r--r--src/devices/pic/gui/pic_prog_group_ui.h2
-rw-r--r--src/devices/pic/gui/pic_register_view.h4
13 files changed, 31 insertions, 31 deletions
diff --git a/src/devices/base/register.h b/src/devices/base/register.h
index 9f766cd..036a69c 100644
--- a/src/devices/base/register.h
+++ b/src/devices/base/register.h
@@ -95,7 +95,7 @@ extern List &list();
class List : public GenericStorage
{
-Q_OBJECT
+TQ_OBJECT
public:
List() : GenericStorage(0, "register_list") {}
diff --git a/src/devices/gui/hex_view.h b/src/devices/gui/hex_view.h
index 8a26d8e..051e0b5 100644
--- a/src/devices/gui/hex_view.h
+++ b/src/devices/gui/hex_view.h
@@ -18,7 +18,7 @@ namespace Device
class HexView : public MemoryEditorGroup
{
-Q_OBJECT
+TQ_OBJECT
public:
HexView(const HexEditor &editor, TQWidget *parent, const char *name);
diff --git a/src/devices/gui/hex_word_editor.h b/src/devices/gui/hex_word_editor.h
index fad46a8..f62f7f7 100644
--- a/src/devices/gui/hex_word_editor.h
+++ b/src/devices/gui/hex_word_editor.h
@@ -18,7 +18,7 @@ namespace Device
//-----------------------------------------------------------------------------
class HexWordEditor : public GenericHexWordEditor
{
-Q_OBJECT
+TQ_OBJECT
public:
HexWordEditor(Memory &memory, uint nbChars, TQWidget *parent);
@@ -40,7 +40,7 @@ protected:
//-----------------------------------------------------------------------------
class RegisterHexWordEditor : public GenericHexWordEditor
{
-Q_OBJECT
+TQ_OBJECT
public:
RegisterHexWordEditor(TQWidget *parent, uint nbChars, BitValue mask);
diff --git a/src/devices/gui/memory_editor.h b/src/devices/gui/memory_editor.h
index 89f4fb2..27ffb90 100644
--- a/src/devices/gui/memory_editor.h
+++ b/src/devices/gui/memory_editor.h
@@ -41,7 +41,7 @@ extern const ActionData ACTION_DATA[Nb_Actions];
//----------------------------------------------------------------------------
class MemoryEditor : public TQFrame
{
-Q_OBJECT
+TQ_OBJECT
public:
MemoryEditor(Device::Memory *memory, TQWidget *parent, const char *name);
@@ -61,7 +61,7 @@ protected:
//----------------------------------------------------------------------------
class MemoryRangeEditor : public MemoryEditor
{
-Q_OBJECT
+TQ_OBJECT
public:
MemoryRangeEditor(Device::Memory &memory, uint nbLines, uint nbCols,
@@ -110,7 +110,7 @@ protected:
//----------------------------------------------------------------------------
class MemoryEditorGroup : public MemoryEditor
{
-Q_OBJECT
+TQ_OBJECT
public:
MemoryEditorGroup(Device::Memory *memory, TQWidget *parent, const char *name);
@@ -128,7 +128,7 @@ protected:
//----------------------------------------------------------------------------
class MemoryTypeEditor : public MemoryEditorGroup
{
-Q_OBJECT
+TQ_OBJECT
public:
MemoryTypeEditor(const HexView *hexview, Device::Memory &memory, TQWidget *parent, const char *name);
diff --git a/src/devices/gui/register_view.h b/src/devices/gui/register_view.h
index f3cb11d..7151b03 100644
--- a/src/devices/gui/register_view.h
+++ b/src/devices/gui/register_view.h
@@ -65,7 +65,7 @@ protected:
//-----------------------------------------------------------------------------
class LineEdit : public NumberLineEdit
{
-Q_OBJECT
+TQ_OBJECT
public:
LineEdit(TQWidget *parent, const char *name = 0);
@@ -91,7 +91,7 @@ private:
//-----------------------------------------------------------------------------
class View : public TQFrame, public GenericView
{
-Q_OBJECT
+TQ_OBJECT
public:
View(TQWidget *parent, const char *name);
diff --git a/src/devices/mem24/gui/mem24_hex_view.h b/src/devices/mem24/gui/mem24_hex_view.h
index 3316d80..569a2a7 100644
--- a/src/devices/mem24/gui/mem24_hex_view.h
+++ b/src/devices/mem24/gui/mem24_hex_view.h
@@ -18,7 +18,7 @@ namespace Mem24
class HexView : public Device::HexView
{
-Q_OBJECT
+TQ_OBJECT
public:
HexView(const HexEditor &editor, TQWidget *parent);
diff --git a/src/devices/mem24/gui/mem24_memory_editor.h b/src/devices/mem24/gui/mem24_memory_editor.h
index 4677fc2..9f13966 100644
--- a/src/devices/mem24/gui/mem24_memory_editor.h
+++ b/src/devices/mem24/gui/mem24_memory_editor.h
@@ -33,7 +33,7 @@ private:
//-----------------------------------------------------------------------------
class HexWordEditor : public Device::HexWordEditor, public MemoryCaster
{
-Q_OBJECT
+TQ_OBJECT
public:
HexWordEditor(Memory &memory, TQWidget *parent)
@@ -49,7 +49,7 @@ private:
//-----------------------------------------------------------------------------
class MemoryRangeEditor : public Device::MemoryRangeEditor, public MemoryCaster
{
-Q_OBJECT
+TQ_OBJECT
public:
MemoryRangeEditor(Memory &memory, TQWidget *parent);
@@ -65,7 +65,7 @@ private:
//-----------------------------------------------------------------------------
class MemoryTypeEditor : public Device::MemoryTypeEditor, public MemoryCaster
{
-Q_OBJECT
+TQ_OBJECT
public:
MemoryTypeEditor(const HexView *hexview, Memory &memory, TQWidget *parent);
diff --git a/src/devices/pic/gui/pic_config_editor.h b/src/devices/pic/gui/pic_config_editor.h
index b117707..cc5a0d6 100644
--- a/src/devices/pic/gui/pic_config_editor.h
+++ b/src/devices/pic/gui/pic_config_editor.h
@@ -18,7 +18,7 @@ class HexView;
class MemoryConfigEditorWidget : public Device::MemoryEditorGroup, public MemoryCaster
{
-Q_OBJECT
+TQ_OBJECT
public:
MemoryConfigEditorWidget(Memory &memory, bool withWordEditor, TQWidget *parent);
@@ -27,7 +27,7 @@ public:
//----------------------------------------------------------------------------
class MemoryConfigEditor : public MemoryTypeEditor
{
-Q_OBJECT
+TQ_OBJECT
public:
MemoryConfigEditor(const HexView *hexview, Memory &memory, TQWidget *parent);
diff --git a/src/devices/pic/gui/pic_config_word_editor.h b/src/devices/pic/gui/pic_config_word_editor.h
index 30068e2..364c544 100644
--- a/src/devices/pic/gui/pic_config_word_editor.h
+++ b/src/devices/pic/gui/pic_config_word_editor.h
@@ -21,7 +21,7 @@ namespace Pic
//----------------------------------------------------------------------------
class ConfigWordDialog : public Dialog
{
-Q_OBJECT
+TQ_OBJECT
public:
ConfigWordDialog(const Memory &memory, uint index, TQWidget *parent);
@@ -30,7 +30,7 @@ public:
//----------------------------------------------------------------------------
class ConfigWordComboBox : public ComboBox
{
-Q_OBJECT
+TQ_OBJECT
public:
ConfigWordComboBox(TQWidget *parent);
@@ -49,7 +49,7 @@ private:
//----------------------------------------------------------------------------
class ConfigWordEditor : public MemoryEditor
{
-Q_OBJECT
+TQ_OBJECT
public:
ConfigWordEditor(Memory &memory, uint index, bool withWordEditor, TQWidget *parent);
diff --git a/src/devices/pic/gui/pic_hex_view.h b/src/devices/pic/gui/pic_hex_view.h
index 2c416b7..8156e5b 100644
--- a/src/devices/pic/gui/pic_hex_view.h
+++ b/src/devices/pic/gui/pic_hex_view.h
@@ -20,7 +20,7 @@ namespace Pic
class HexView : public Device::HexView
{
-Q_OBJECT
+TQ_OBJECT
public:
HexView(const HexEditor &editor, TQWidget *parent);
diff --git a/src/devices/pic/gui/pic_memory_editor.h b/src/devices/pic/gui/pic_memory_editor.h
index 558cefb..8b161ce 100644
--- a/src/devices/pic/gui/pic_memory_editor.h
+++ b/src/devices/pic/gui/pic_memory_editor.h
@@ -41,7 +41,7 @@ private:
//-----------------------------------------------------------------------------
class MemoryEditor : public Device::MemoryEditor, public MemoryCaster
{
-Q_OBJECT
+TQ_OBJECT
public:
MemoryEditor(MemoryRangeType type, Memory &memory, TQWidget *parent, const char *name)
@@ -51,7 +51,7 @@ public:
//-----------------------------------------------------------------------------
class MemoryEditorLegend : public MemoryEditor
{
-Q_OBJECT
+TQ_OBJECT
public:
MemoryEditorLegend(MemoryRangeType type, Memory &memory, TQWidget *parent);
@@ -92,7 +92,7 @@ private:
//-----------------------------------------------------------------------------
class HexWordEditor : public Device::HexWordEditor, public MemoryCaster
{
-Q_OBJECT
+TQ_OBJECT
public:
HexWordEditor(MemoryRangeType type, Memory &memory, TQWidget *parent);
@@ -107,7 +107,7 @@ private:
//-----------------------------------------------------------------------------
class MemoryRangeEditor : public Device::MemoryRangeEditor, public MemoryCaster
{
- Q_OBJECT
+ TQ_OBJECT
public:
MemoryRangeEditor(MemoryRangeType type, Memory &memory,
@@ -134,7 +134,7 @@ private:
//-----------------------------------------------------------------------------
class MemoryTypeEditor : public Device::MemoryTypeEditor, public MemoryCaster
{
-Q_OBJECT
+TQ_OBJECT
public:
MemoryTypeEditor(const HexView *hexview, MemoryRangeType type, Memory &memory, TQWidget *parent, const char *name);
@@ -147,7 +147,7 @@ private:
//-----------------------------------------------------------------------------
class MemoryTypeRangeEditor : public MemoryTypeEditor
{
-Q_OBJECT
+TQ_OBJECT
public:
MemoryTypeRangeEditor(const HexView *hexview, MemoryRangeType type, Memory &memory, TQWidget *parent);
@@ -160,7 +160,7 @@ protected:
//-----------------------------------------------------------------------------
class MemoryUserIdEditor : public MemoryTypeRangeEditor
{
-Q_OBJECT
+TQ_OBJECT
public:
MemoryUserIdEditor(const HexView *hexview, Memory &memory, TQWidget *parent);
@@ -181,7 +181,7 @@ private:
//-----------------------------------------------------------------------------
class MemoryCalibrationEditor : public MemoryTypeEditor
{
-Q_OBJECT
+TQ_OBJECT
public:
MemoryCalibrationEditor(const HexView *hexview, Memory &memory, TQWidget *parent);
diff --git a/src/devices/pic/gui/pic_prog_group_ui.h b/src/devices/pic/gui/pic_prog_group_ui.h
index cd489fd..bdefed9 100644
--- a/src/devices/pic/gui/pic_prog_group_ui.h
+++ b/src/devices/pic/gui/pic_prog_group_ui.h
@@ -16,7 +16,7 @@ namespace Programmer
{
class PicAdvancedDialog : public ::Programmer::AdvancedDialog
{
-Q_OBJECT
+TQ_OBJECT
public:
PicAdvancedDialog(PicBase &base, TQWidget *parent, const char *name);
diff --git a/src/devices/pic/gui/pic_register_view.h b/src/devices/pic/gui/pic_register_view.h
index 11882c0..fe3def3 100644
--- a/src/devices/pic/gui/pic_register_view.h
+++ b/src/devices/pic/gui/pic_register_view.h
@@ -26,7 +26,7 @@ namespace Pic
//-----------------------------------------------------------------------------
class BankWidget : public TQFrame
{
-Q_OBJECT
+TQ_OBJECT
public:
BankWidget(uint bank, TQWidget *parent);
@@ -60,7 +60,7 @@ private:
//-----------------------------------------------------------------------------
class RegisterView : public Register::View
{
-Q_OBJECT
+TQ_OBJECT
public:
RegisterView(TQWidget *parent);