From f7ceb2957839027e8027a9a4c0dfff730cb9b704 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: 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 --- src/devices/gui/hex_word_editor.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/devices/gui/hex_word_editor.h') 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(); } -- cgit v1.2.1