diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | f7ceb2957839027e8027a9a4c0dfff730cb9b704 (patch) | |
tree | d1d583f11612d149bc0718c80779df4653699dbb /src/devices/mem24/gui/mem24_memory_editor.h | |
parent | d98fea1f859d23e1b1220a65d7a8eda3b757fd08 (diff) | |
download | piklab-f7ceb2957839027e8027a9a4c0dfff730cb9b704.tar.gz piklab-f7ceb2957839027e8027a9a4c0dfff730cb9b704.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/devices/mem24/gui/mem24_memory_editor.h')
-rw-r--r-- | src/devices/mem24/gui/mem24_memory_editor.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/mem24/gui/mem24_memory_editor.h b/src/devices/mem24/gui/mem24_memory_editor.h index 657810a..47916a4 100644 --- a/src/devices/mem24/gui/mem24_memory_editor.h +++ b/src/devices/mem24/gui/mem24_memory_editor.h @@ -36,11 +36,11 @@ class HexWordEditor : public Device::HexWordEditor, public MemoryCaster Q_OBJECT TQ_OBJECT public: - HexWordEditor(Memory &memory, TQWidget *tqparent) - : Device::HexWordEditor(memory, 2, tqparent), MemoryCaster(memory) {} + HexWordEditor(Memory &memory, TQWidget *parent) + : Device::HexWordEditor(memory, 2, parent), MemoryCaster(memory) {} private: - virtual BitValue tqmask() const { return 0xFF; } + virtual BitValue mask() 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); } @@ -52,13 +52,13 @@ class MemoryRangeEditor : public Device::MemoryRangeEditor, public MemoryCaster Q_OBJECT TQ_OBJECT public: - MemoryRangeEditor(Memory &memory, TQWidget *tqparent); + MemoryRangeEditor(Memory &memory, TQWidget *parent); private: virtual uint nbWords() const { return device().nbBytes(); } virtual uint addressIncrement() const { return 1; } virtual Address startAddress() const { return 0x0; } - virtual Device::HexWordEditor *createHexWordEditor(TQWidget *tqparent); + virtual Device::HexWordEditor *createHexWordEditor(TQWidget *parent); virtual bool isRangeReadOnly() const { return false; } }; @@ -68,7 +68,7 @@ class MemoryTypeEditor : public Device::MemoryTypeEditor, public MemoryCaster Q_OBJECT TQ_OBJECT public: - MemoryTypeEditor(const HexView *hexview, Memory &memory, TQWidget *tqparent); + MemoryTypeEditor(const HexView *hexview, Memory &memory, TQWidget *parent); virtual void init(bool first); private: |