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/dasher/QtDasherImpl.cc | |
parent | b2823e2919b746107b13ebdf603fa04cec8fba72 (diff) | |
download | opie-829b13ec0e4ffb359ab39c16c564719908173ffa.zip opie-829b13ec0e4ffb359ab39c16c564719908173ffa.tar.gz opie-829b13ec0e4ffb359ab39c16c564719908173ffa.tar.bz2 |
Another bunch of return QS_FALSE;
Diffstat (limited to 'inputmethods/dasher/QtDasherImpl.cc') (more/less context) (ignore whitespace changes)
-rw-r--r-- | inputmethods/dasher/QtDasherImpl.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/inputmethods/dasher/QtDasherImpl.cc b/inputmethods/dasher/QtDasherImpl.cc index 55c21b1..9513802 100644 --- a/inputmethods/dasher/QtDasherImpl.cc +++ b/inputmethods/dasher/QtDasherImpl.cc | |||
@@ -62,24 +62,26 @@ void QtDasherImpl::onKeyPress( QObject *receiver, const char *slot ) | |||
62 | if ( qtdasherwidget ) | 62 | if ( qtdasherwidget ) |
63 | QObject::connect( qtdasherwidget, SIGNAL(key(ushort,ushort,ushort,bool,bool)), receiver, slot ); | 63 | QObject::connect( qtdasherwidget, SIGNAL(key(ushort,ushort,ushort,bool,bool)), receiver, slot ); |
64 | } | 64 | } |
65 | 65 | ||
66 | #ifndef QT_NO_COMPONENT | 66 | #ifndef QT_NO_COMPONENT |
67 | QRESULT QtDasherImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) | 67 | QRESULT QtDasherImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) |
68 | { | 68 | { |
69 | *iface = 0; | 69 | *iface = 0; |
70 | if ( uuid == IID_QUnknown ) | 70 | if ( uuid == IID_QUnknown ) |
71 | *iface = this; | 71 | *iface = this; |
72 | else if ( uuid == IID_InputMethod ) | 72 | else if ( uuid == IID_InputMethod ) |
73 | *iface = this; | 73 | *iface = this; |
74 | else | ||
75 | return QS_FALSE; | ||
74 | 76 | ||
75 | if ( *iface ) | 77 | if ( *iface ) |
76 | (*iface)->addRef(); | 78 | (*iface)->addRef(); |
77 | return QS_OK; | 79 | return QS_OK; |
78 | } | 80 | } |
79 | 81 | ||
80 | Q_EXPORT_INTERFACE() | 82 | Q_EXPORT_INTERFACE() |
81 | { | 83 | { |
82 | Q_CREATE_INSTANCE( QtDasherImpl ) | 84 | Q_CREATE_INSTANCE( QtDasherImpl ) |
83 | } | 85 | } |
84 | #endif | 86 | #endif |
85 | 87 | ||