author | zecke <zecke> | 2004-01-27 18:54:49 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-01-27 18:54:49 (UTC) |
commit | 829b13ec0e4ffb359ab39c16c564719908173ffa (patch) (unidiff) | |
tree | 0741e3ba2866cb4a065d614f4d38442007447a1f /inputmethods/handwriting | |
parent | b2823e2919b746107b13ebdf603fa04cec8fba72 (diff) | |
download | opie-829b13ec0e4ffb359ab39c16c564719908173ffa.zip opie-829b13ec0e4ffb359ab39c16c564719908173ffa.tar.gz opie-829b13ec0e4ffb359ab39c16c564719908173ffa.tar.bz2 |
Another bunch of return QS_FALSE;
-rw-r--r-- | inputmethods/handwriting/handwritingimpl.cpp | 2 |
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 ) | |||
91 | if ( input ) | 91 | if ( input ) |
92 | QObject::connect( input, SIGNAL(key(ushort,ushort,ushort,bool,bool)), receiver, slot ); | 92 | QObject::connect( input, SIGNAL(key(ushort,ushort,ushort,bool,bool)), receiver, slot ); |
93 | } | 93 | } |
94 | 94 | ||
95 | #ifndef QT_NO_COMPONENT | 95 | #ifndef QT_NO_COMPONENT |
96 | QRESULT HandwritingImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) | 96 | QRESULT HandwritingImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) |
97 | { | 97 | { |
98 | *iface = 0; | 98 | *iface = 0; |
99 | if ( uuid == IID_QUnknown ) | 99 | if ( uuid == IID_QUnknown ) |
100 | *iface = this; | 100 | *iface = this; |
101 | else if ( uuid == IID_InputMethod ) | 101 | else if ( uuid == IID_InputMethod ) |
102 | *iface = this; | 102 | *iface = this; |
103 | else | ||
104 | return QS_FALSE; | ||
103 | 105 | ||
104 | if ( *iface ) | 106 | if ( *iface ) |
105 | (*iface)->addRef(); | 107 | (*iface)->addRef(); |
106 | return QS_OK; | 108 | return QS_OK; |
107 | } | 109 | } |
108 | 110 | ||
109 | Q_EXPORT_INTERFACE() | 111 | Q_EXPORT_INTERFACE() |
110 | { | 112 | { |
111 | Q_CREATE_INSTANCE( HandwritingImpl ) | 113 | Q_CREATE_INSTANCE( HandwritingImpl ) |
112 | } | 114 | } |
113 | #endif | 115 | #endif |