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/common/gui/hexword_gui.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/common/gui/hexword_gui.h')
-rw-r--r-- | src/common/gui/hexword_gui.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/common/gui/hexword_gui.h b/src/common/gui/hexword_gui.h index 19b8404..a973291 100644 --- a/src/common/gui/hexword_gui.h +++ b/src/common/gui/hexword_gui.h @@ -21,7 +21,7 @@ class HexValueValidator : public TQValidator Q_OBJECT TQ_OBJECT public: - HexValueValidator(uint nbChars, TQObject *tqparent); + HexValueValidator(uint nbChars, TQObject *parent); virtual State validate(TQString &input, int &pos) const; private: @@ -34,7 +34,7 @@ class GenericHexWordEditor : public KLineEdit Q_OBJECT TQ_OBJECT public: - GenericHexWordEditor(uint nbChars, bool hasBlankValue, TQWidget *tqparent); + GenericHexWordEditor(uint nbChars, bool hasBlankValue, TQWidget *parent); virtual TQSize tqsizeHint() const; virtual TQSize tqminimumSizeHint() const; @@ -58,7 +58,7 @@ protected: bool _hasBlankValue; virtual bool isValid() const = 0; - virtual BitValue tqmask() const = 0; + virtual BitValue mask() const = 0; virtual BitValue normalizeWord(BitValue value) const = 0; virtual bool event(TQEvent *e); virtual void set(); @@ -73,7 +73,7 @@ class HexWordEditor : public GenericHexWordEditor Q_OBJECT TQ_OBJECT public: - HexWordEditor(uint nbChars, TQWidget *tqparent) : GenericHexWordEditor(nbChars, false, tqparent) {} + HexWordEditor(uint nbChars, TQWidget *parent) : GenericHexWordEditor(nbChars, false, parent) {} void setValue(BitValue word) { _word = word; set(); } BitValue value() const { return _word; } @@ -81,8 +81,8 @@ protected: BitValue _word; virtual bool isValid() const { return true; } - virtual BitValue tqmask() const { return maxValue(NumberBase::Hex, _nbChars); } - virtual BitValue normalizeWord(BitValue value) const { return value.maskWith(tqmask()); } + virtual BitValue mask() const { return maxValue(NumberBase::Hex, _nbChars); } + 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 0; } |