summaryrefslogtreecommitdiffstats
path: root/src/devices/gui/hex_word_editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/gui/hex_word_editor.h')
-rw-r--r--src/devices/gui/hex_word_editor.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/gui/hex_word_editor.h b/src/devices/gui/hex_word_editor.h
index 8744d03..94b520c 100644
--- a/src/devices/gui/hex_word_editor.h
+++ b/src/devices/gui/hex_word_editor.h
@@ -21,7 +21,7 @@ class HexWordEditor : public GenericHexWordEditor
Q_OBJECT
TQ_OBJECT
public:
- HexWordEditor(Memory &memory, uint nbChars, TQWidget *tqparent);
+ HexWordEditor(Memory &memory, uint nbChars, TQWidget *parent);
void setOffset(int offset);
int offset() const { return _offset; }
@@ -30,7 +30,7 @@ protected:
int _offset;
virtual bool isValid() const { return _offset!=-1; }
- virtual BitValue tqmask() const = 0;
+ virtual BitValue mask() const = 0;
virtual BitValue normalizeWord(BitValue value) const = 0;
virtual BitValue word() const = 0;
virtual void setWord(BitValue value) = 0;
@@ -43,7 +43,7 @@ class RegisterHexWordEditor : public GenericHexWordEditor
Q_OBJECT
TQ_OBJECT
public:
- RegisterHexWordEditor(TQWidget *tqparent, uint nbChars, BitValue tqmask);
+ RegisterHexWordEditor(TQWidget *parent, uint nbChars, BitValue mask);
void clear() { setValue(BitValue()); }
void setValue(BitValue word);
BitValue value() const { return _word; }
@@ -51,11 +51,11 @@ public:
void unsetColor() { unsetPalette(); }
private:
- BitValue _tqmask, _word;
+ BitValue _mask, _word;
virtual bool isValid() const { return true; }
- virtual BitValue tqmask() const { return _tqmask; }
- virtual BitValue normalizeWord(BitValue value) const { return value.maskWith(_tqmask); }
+ virtual BitValue mask() const { return _mask; }
+ virtual BitValue normalizeWord(BitValue value) const { return value.maskWith(_mask); }
virtual BitValue word() const { return _word; }
virtual void setWord(BitValue value) { _word = value; }
virtual BitValue blankValue() const { return BitValue(); }