summaryrefslogtreecommitdiffstats
path: root/khexedit/lib/controller/kchareditor.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
commit5f5ee2367157176ed223b86343eb0a9e4022e020 (patch)
tree6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /khexedit/lib/controller/kchareditor.cpp
parent4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff)
downloadtdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz
tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khexedit/lib/controller/kchareditor.cpp')
-rw-r--r--khexedit/lib/controller/kchareditor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/khexedit/lib/controller/kchareditor.cpp b/khexedit/lib/controller/kchareditor.cpp
index 5b48fc6..7225ec7 100644
--- a/khexedit/lib/controller/kchareditor.cpp
+++ b/khexedit/lib/controller/kchareditor.cpp
@@ -16,7 +16,7 @@
// qt specific
-#include <qevent.h>
+#include <tqevent.h>
// lib specific
#include "kcharcolumn.h"
#include "kcharcodec.h"
@@ -34,17 +34,17 @@ KCharEditor::KCharEditor( KCharColumn *CC, KBufferCursor *BC, KHexEdit *HE, KCon
}
-bool KCharEditor::handleKeyPress( QKeyEvent *KeyEvent )
+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 )) )
{
- QChar C = KeyEvent->text()[0];
+ TQChar C = KeyEvent->text()[0];
if( C.isPrint() )
{
- QByteArray D( 1 );
+ TQByteArray D( 1 );
if( CharColumn->codec()->encode(&D[0],C) )
{
// clearUndoRedoInfo = false;