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/gui/hex_word_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/gui/hex_word_editor.h')
-rw-r--r-- | src/devices/gui/hex_word_editor.h | 12 |
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(); } |