summaryrefslogtreecommitdiffstats
path: root/src/common/gui/hexword_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/gui/hexword_gui.cpp')
-rw-r--r--src/common/gui/hexword_gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/gui/hexword_gui.cpp b/src/common/gui/hexword_gui.cpp
index b85e829..bf1430c 100644
--- a/src/common/gui/hexword_gui.cpp
+++ b/src/common/gui/hexword_gui.cpp
@@ -15,8 +15,8 @@
#include "common/common/misc.h"
//-----------------------------------------------------------------------------
-HexValueValidator::HexValueValidator(uint nbChars, TQObject *tqparent)
- : TQValidator(tqparent, "hex_value_validator"), _nbChars(nbChars) {}
+HexValueValidator::HexValueValidator(uint nbChars, TQObject *parent)
+ : TQValidator(parent, "hex_value_validator"), _nbChars(nbChars) {}
TQValidator::State HexValueValidator::validate(TQString &input, int &) const
{
@@ -28,8 +28,8 @@ TQValidator::State HexValueValidator::validate(TQString &input, int &) const
}
//-----------------------------------------------------------------------------
-GenericHexWordEditor::GenericHexWordEditor(uint nbChars, bool hasBlankValue, TQWidget *tqparent)
- : KLineEdit(tqparent, "hex_word_editor"), _nbChars(nbChars), _hasBlankValue(hasBlankValue)
+GenericHexWordEditor::GenericHexWordEditor(uint nbChars, bool hasBlankValue, TQWidget *parent)
+ : KLineEdit(parent, "hex_word_editor"), _nbChars(nbChars), _hasBlankValue(hasBlankValue)
{
setFocusPolicy(TQ_ClickFocus);
setValidator(new HexValueValidator(nbChars, TQT_TQOBJECT(this)));