summaryrefslogtreecommitdiffstats
path: root/src/devices/mem24/gui/mem24_memory_editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/mem24/gui/mem24_memory_editor.h')
-rw-r--r--src/devices/mem24/gui/mem24_memory_editor.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/devices/mem24/gui/mem24_memory_editor.h b/src/devices/mem24/gui/mem24_memory_editor.h
index eb99e97..657810a 100644
--- a/src/devices/mem24/gui/mem24_memory_editor.h
+++ b/src/devices/mem24/gui/mem24_memory_editor.h
@@ -34,12 +34,13 @@ private:
class HexWordEditor : public Device::HexWordEditor, public MemoryCaster
{
Q_OBJECT
+ TQ_OBJECT
public:
- HexWordEditor(Memory &memory, QWidget *parent)
- : Device::HexWordEditor(memory, 2, parent), MemoryCaster(memory) {}
+ HexWordEditor(Memory &memory, TQWidget *tqparent)
+ : Device::HexWordEditor(memory, 2, tqparent), MemoryCaster(memory) {}
private:
- virtual BitValue mask() const { return 0xFF; }
+ virtual BitValue tqmask() const { return 0xFF; }
virtual BitValue normalizeWord(BitValue value) const { return value; }
virtual BitValue word() const { return memory().byte(_offset); }
virtual void setWord(BitValue value) { memory().setByte(_offset, value); }
@@ -49,14 +50,15 @@ private:
class MemoryRangeEditor : public Device::MemoryRangeEditor, public MemoryCaster
{
Q_OBJECT
+ TQ_OBJECT
public:
- MemoryRangeEditor(Memory &memory, QWidget *parent);
+ MemoryRangeEditor(Memory &memory, TQWidget *tqparent);
private:
virtual uint nbWords() const { return device().nbBytes(); }
virtual uint addressIncrement() const { return 1; }
virtual Address startAddress() const { return 0x0; }
- virtual Device::HexWordEditor *createHexWordEditor(QWidget *parent);
+ virtual Device::HexWordEditor *createHexWordEditor(TQWidget *tqparent);
virtual bool isRangeReadOnly() const { return false; }
};
@@ -64,8 +66,9 @@ private:
class MemoryTypeEditor : public Device::MemoryTypeEditor, public MemoryCaster
{
Q_OBJECT
+ TQ_OBJECT
public:
- MemoryTypeEditor(const HexView *hexview, Memory &memory, QWidget *parent);
+ MemoryTypeEditor(const HexView *hexview, Memory &memory, TQWidget *tqparent);
virtual void init(bool first);
private: