summaryrefslogtreecommitdiffstats
path: root/khexedit/lib/controller/kchareditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'khexedit/lib/controller/kchareditor.cpp')
-rw-r--r--khexedit/lib/controller/kchareditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/khexedit/lib/controller/kchareditor.cpp b/khexedit/lib/controller/kchareditor.cpp
index 7225ec7..9f58245 100644
--- a/khexedit/lib/controller/kchareditor.cpp
+++ b/khexedit/lib/controller/kchareditor.cpp
@@ -39,9 +39,9 @@ bool KCharEditor::handleKeyPress( TQKeyEvent *KeyEvent )
bool KeyUsed = false;
// some input that should be inserted?
if( KeyEvent->text().length() > 0
- && !(KeyEvent->state()&( Qt::ControlButton | Qt::AltButton | Qt::MetaButton )) )
+ && !(KeyEvent->state()&( TQt::ControlButton | TQt::AltButton | TQt::MetaButton )) )
{
- TQChar C = KeyEvent->text()[0];
+ TQChar C = TQString(KeyEvent->text())[0];
if( C.isPrint() )
{
TQByteArray D( 1 );