summaryrefslogtreecommitdiff
path: root/inputmethods/handwriting/qimpenchar.cpp
authorbrad <brad>2004-04-05 13:31:49 (UTC)
committer brad <brad>2004-04-05 13:31:49 (UTC)
commitd3f1c6026d3cbba9fd8f8a5bc722c9e8488c045b (patch) (side-by-side diff)
treef313bde2c45d1a90ef5949f77c48943b57a312cd /inputmethods/handwriting/qimpenchar.cpp
parent743adf3ed3032feb15e71002613a4643d059aa09 (diff)
downloadopie-d3f1c6026d3cbba9fd8f8a5bc722c9e8488c045b.zip
opie-d3f1c6026d3cbba9fd8f8a5bc722c9e8488c045b.tar.gz
opie-d3f1c6026d3cbba9fd8f8a5bc722c9e8488c045b.tar.bz2
qDebug -> odebug
Diffstat (limited to 'inputmethods/handwriting/qimpenchar.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/handwriting/qimpenchar.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/inputmethods/handwriting/qimpenchar.cpp b/inputmethods/handwriting/qimpenchar.cpp
index 929f370..db5d135 100644
--- a/inputmethods/handwriting/qimpenchar.cpp
+++ b/inputmethods/handwriting/qimpenchar.cpp
@@ -28,2 +28,3 @@
#include "qimpenchar.h"
+#include "opie2/odebug.h"
@@ -169,3 +170,3 @@ int QIMPenChar::match( QIMPenChar *pen )
#ifdef DEBUG_QIMPEN
- qDebug( "char %c, stroke starting pt diff excessive", pen->ch );
+ odebug << "char " << pen->ch <<", stroke starting pt diff excessive" << oendl;
#endif
@@ -184,3 +185,3 @@ int QIMPenChar::match( QIMPenChar *pen )
#ifdef DEBUG_QIMPEN
- qDebug( "char: %c, maxErr %d, diff %d, (%d)", pen->ch, maxErr, diff, strokes.count() );
+ odebug << "char: " << pen->ch << ", maxErr " << maxErr << ", diff " << diff << ", " << strokes.count() << oendl;
#endif
@@ -460,4 +461,4 @@ QIMPenCharMatchList QIMPenCharSet::match( QIMPenChar *ch )
for ( it = matches.begin(); it != matches.end(); ++it ) {
- qDebug( "Match: \'%c\', error %d, strokes %d", (*it).penChar->character(),
- (*it).error, (*it).penChar->penStrokes().count() );
+
+ odebug << "Match: \'" << (*it).penChar->character() "\', error " << (*it).error ", strokes " <<(*it).penChar->penStrokes().count() << oendl;
}