From 997a521a3ee84f614e2781a663911096ffb4a91a Mon Sep 17 00:00:00 2001 From: brad Date: Mon, 05 Apr 2004 13:42:55 +0000 Subject: Missed qWarning and deps --- (limited to 'inputmethods') 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 @@ -1,7 +1,7 @@ config HANDWRITING boolean "opie-handwriting (Handwriting recognition)" default "y" - depends ( LIBQPE || LIBQPE-X11 ) + depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE comment "opie-handwriting-classicset automatically selected" depends HANDWRITING comment "opie-handwriting-graffitiset 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 @@ -27,7 +27,7 @@ TARGET = qhandwriting DESTDIR = ../../plugins/inputmethods INCLUDEPATH += $(OPIEDIR)/include DEPENDPATH += ../$(OPIEDIR)/include ../../launcher -LIBS += -lqpe +LIBS += -lqpe -lopiecore2 VERSION = 1.0.0 include ( $(OPIEDIR)/include.pro ) 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 @@ -392,8 +392,8 @@ bool QIMPenCharSet::save( Domain d ) if ( ok ) { 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 " < #include #include +#include /* XPM */ @@ -108,7 +109,7 @@ QIMPenSetup::QIMPenSetup( QIMPenProfile *p, QWidget *parent, profileList.append( profile ); #endif - qWarning("profiles: %d", profileList.count()); + owarn << "profiles: " << profileList.count() << oendl; QTabWidget *tw = new QTabWidget( this ); vb->addWidget( tw ); -- cgit v0.9.0.2