diff options
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; } |