summaryrefslogtreecommitdiffstats
path: root/src/devices/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/gui')
-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
4 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/gui/hex_view.h b/src/devices/gui/hex_view.h
index 4aadc90..8a26d8e 100644
--- a/src/devices/gui/hex_view.h
+++ b/src/devices/gui/hex_view.h
@@ -19,7 +19,7 @@ namespace Device
class HexView : public MemoryEditorGroup
{
Q_OBJECT
- TQ_OBJECT
+
public:
HexView(const HexEditor &editor, TQWidget *parent, const char *name);
virtual void display(Memory *memory);
diff --git a/src/devices/gui/hex_word_editor.h b/src/devices/gui/hex_word_editor.h
index 94b520c..fad46a8 100644
--- a/src/devices/gui/hex_word_editor.h
+++ b/src/devices/gui/hex_word_editor.h
@@ -19,7 +19,7 @@ namespace Device
class HexWordEditor : public GenericHexWordEditor
{
Q_OBJECT
- TQ_OBJECT
+
public:
HexWordEditor(Memory &memory, uint nbChars, TQWidget *parent);
void setOffset(int offset);
@@ -41,7 +41,7 @@ protected:
class RegisterHexWordEditor : public GenericHexWordEditor
{
Q_OBJECT
- TQ_OBJECT
+
public:
RegisterHexWordEditor(TQWidget *parent, uint nbChars, BitValue mask);
void clear() { setValue(BitValue()); }
diff --git a/src/devices/gui/memory_editor.h b/src/devices/gui/memory_editor.h
index ac8bfdc..78bb5a6 100644
--- a/src/devices/gui/memory_editor.h
+++ b/src/devices/gui/memory_editor.h
@@ -42,7 +42,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);
virtual void setReadOnly(bool readOnly) = 0;
@@ -62,7 +62,7 @@ protected:
class MemoryRangeEditor : public MemoryEditor
{
Q_OBJECT
- TQ_OBJECT
+
public:
MemoryRangeEditor(Device::Memory &memory, uint nbLines, uint nbCols,
uint offset, int nb, TQWidget *parent, const char *name);
@@ -111,7 +111,7 @@ protected:
class MemoryEditorGroup : public MemoryEditor
{
Q_OBJECT
- TQ_OBJECT
+
public:
MemoryEditorGroup(Device::Memory *memory, TQWidget *parent, const char *name);
void addEditor(MemoryEditor *editor);
@@ -129,7 +129,7 @@ protected:
class MemoryTypeEditor : public MemoryEditorGroup
{
Q_OBJECT
- TQ_OBJECT
+
public:
MemoryTypeEditor(const HexView *hexview, Device::Memory &memory, TQWidget *parent, const char *name);
virtual void init(bool first);
diff --git a/src/devices/gui/register_view.h b/src/devices/gui/register_view.h
index 9459a8d..c69eeac 100644
--- a/src/devices/gui/register_view.h
+++ b/src/devices/gui/register_view.h
@@ -66,7 +66,7 @@ protected:
class LineEdit : public NumberLineEdit
{
Q_OBJECT
- TQ_OBJECT
+
public:
LineEdit(TQWidget *parent, const char *name = 0);
void setValue(NumberBase base, BitValue value, uint nbChars);
@@ -92,7 +92,7 @@ private:
class View : public TQFrame, public GenericView
{
Q_OBJECT
- TQ_OBJECT
+
public:
View(TQWidget *parent, const char *name);