summaryrefslogtreecommitdiff
authorbrad <brad>2004-04-05 13:42:55 (UTC)
committer brad <brad>2004-04-05 13:42:55 (UTC)
commit997a521a3ee84f614e2781a663911096ffb4a91a (patch) (side-by-side diff)
treeb54102f944af07bb0a8f3930ef856cbeff5f4899
parentf31cf618522b8b8855c5905c20754f7d5a762be3 (diff)
downloadopie-997a521a3ee84f614e2781a663911096ffb4a91a.zip
opie-997a521a3ee84f614e2781a663911096ffb4a91a.tar.gz
opie-997a521a3ee84f614e2781a663911096ffb4a91a.tar.bz2
Missed qWarning and deps
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/handwriting/config.in2
-rw-r--r--inputmethods/handwriting/handwriting.pro2
-rw-r--r--inputmethods/handwriting/qimpenchar.cpp4
-rw-r--r--inputmethods/handwriting/qimpensetup.cpp3
4 files changed, 6 insertions, 5 deletions
diff --git a/inputmethods/handwriting/config.in b/inputmethods/handwriting/config.in
index 3a5fddb..b4acc9a 100644
--- a/inputmethods/handwriting/config.in
+++ b/inputmethods/handwriting/config.in
@@ -3,3 +3,3 @@
default "y"
- depends ( LIBQPE || LIBQPE-X11 )
+ depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE
comment "opie-handwriting-classicset automatically selected"
diff --git a/inputmethods/handwriting/handwriting.pro b/inputmethods/handwriting/handwriting.pro
index 3800381..e6f3b3f 100644
--- a/inputmethods/handwriting/handwriting.pro
+++ b/inputmethods/handwriting/handwriting.pro
@@ -29,3 +29,3 @@ INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include ../../launcher
-LIBS += -lqpe
+LIBS += -lqpe -lopiecore2
VERSION = 1.0.0
diff --git a/inputmethods/handwriting/qimpenchar.cpp b/inputmethods/handwriting/qimpenchar.cpp
index db5d135..b83b2a4 100644
--- a/inputmethods/handwriting/qimpenchar.cpp
+++ b/inputmethods/handwriting/qimpenchar.cpp
@@ -394,4 +394,4 @@ bool QIMPenCharSet::save( Domain d )
if ( ::rename( tmpFn.latin1(), fn.latin1() ) < 0 ) {
- qWarning( "problem renaming file %s to %s, errno: %d",
- tmpFn.latin1(), fn.latin1(), errno );
+ owarn << "problem renaming file " <<tmpFn.latin1() << " to "<< fn.latin1()
+ << ", errno: " << errno << oendl;
// remove the tmp file, otherwise, it will just lay around...
diff --git a/inputmethods/handwriting/qimpensetup.cpp b/inputmethods/handwriting/qimpensetup.cpp
index 3f4841d..564b6ba 100644
--- a/inputmethods/handwriting/qimpensetup.cpp
+++ b/inputmethods/handwriting/qimpensetup.cpp
@@ -38,2 +38,3 @@
#include <qmessagebox.h>
+#include <opie2/odebug.h>
@@ -110,3 +111,3 @@ QIMPenSetup::QIMPenSetup( QIMPenProfile *p, QWidget *parent,
- qWarning("profiles: %d", profileList.count());
+ owarn << "profiles: " << profileList.count() << oendl;