summaryrefslogtreecommitdiff
path: root/inputmethods/handwriting/handwritingimpl.cpp
authorzecke <zecke>2004-01-27 18:54:49 (UTC)
committer zecke <zecke>2004-01-27 18:54:49 (UTC)
commit829b13ec0e4ffb359ab39c16c564719908173ffa (patch) (side-by-side diff)
tree0741e3ba2866cb4a065d614f4d38442007447a1f /inputmethods/handwriting/handwritingimpl.cpp
parentb2823e2919b746107b13ebdf603fa04cec8fba72 (diff)
downloadopie-829b13ec0e4ffb359ab39c16c564719908173ffa.zip
opie-829b13ec0e4ffb359ab39c16c564719908173ffa.tar.gz
opie-829b13ec0e4ffb359ab39c16c564719908173ffa.tar.bz2
Another bunch of return QS_FALSE;
Diffstat (limited to 'inputmethods/handwriting/handwritingimpl.cpp') (more/less context) (show whitespace changes)
-rw-r--r--inputmethods/handwriting/handwritingimpl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/inputmethods/handwriting/handwritingimpl.cpp b/inputmethods/handwriting/handwritingimpl.cpp
index c39e1aa..22e2058 100644
--- a/inputmethods/handwriting/handwritingimpl.cpp
+++ b/inputmethods/handwriting/handwritingimpl.cpp
@@ -91,23 +91,25 @@ void HandwritingImpl::onKeyPress( QObject *receiver, const char *slot )
if ( input )
QObject::connect( input, SIGNAL(key(ushort,ushort,ushort,bool,bool)), receiver, slot );
}
#ifndef QT_NO_COMPONENT
QRESULT HandwritingImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface )
{
*iface = 0;
if ( uuid == IID_QUnknown )
*iface = this;
else if ( uuid == IID_InputMethod )
*iface = this;
+ else
+ return QS_FALSE;
if ( *iface )
(*iface)->addRef();
return QS_OK;
}
Q_EXPORT_INTERFACE()
{
Q_CREATE_INSTANCE( HandwritingImpl )
}
#endif