summaryrefslogtreecommitdiffstats
path: root/src/activeqt/shared
diff options
context:
space:
mode:
authorPrasanth Ullattil <prasanth.ullattil@nokia.com>2009-07-30 11:12:56 (GMT)
committerPrasanth Ullattil <prasanth.ullattil@nokia.com>2009-07-31 13:07:13 (GMT)
commit7c56a5b3825de2372712b9f0087df868ca1fd157 (patch)
tree4681aecc3125bbea6a207395b24b59d7bbd91b67 /src/activeqt/shared
parent9d511567ece87258ab0bdc77f8c0ab62c075f454 (diff)
downloadQt-7c56a5b3825de2372712b9f0087df868ca1fd157.zip
Qt-7c56a5b3825de2372712b9f0087df868ca1fd157.tar.gz
Qt-7c56a5b3825de2372712b9f0087df868ca1fd157.tar.bz2
QCheckBox on an out-of-process server wont allow <SPACE> key & Focus
rect is not drawn correctly. Depending on the type of server, QAxClientSite::TranslateAccelerator() needs to process the message differently. For ActiveQt based in-process-servers, only normal Qt event handling is required. For ActiveQt based out-of-process-servers, the message has to be forwarded and Qt event handling needs to continue. For all other type of servers, forward the message and stop Qt event processing. Styles use the WA_KeyboardFocusChange attribute set on the window to decide on drawing the focus rect. ActiveQt handles the VK_TAB key in the QAxServerBase::TranslateAcceleratorW(), the attibute is now set when focus is changed. Task-number: 253763 Reviewed-by: Volker Hilsheimer
Diffstat (limited to 'src/activeqt/shared')
-rw-r--r--src/activeqt/shared/qaxtypes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/activeqt/shared/qaxtypes.h b/src/activeqt/shared/qaxtypes.h
index 4f647a3..e3c7138 100644
--- a/src/activeqt/shared/qaxtypes.h
+++ b/src/activeqt/shared/qaxtypes.h
@@ -89,6 +89,9 @@ extern QVariant VARIANTToQVariant(const VARIANT &arg, const QByteArray &typeName
extern bool QVariantToVoidStar(const QVariant &var, void *data, const QByteArray &typeName, uint type = 0);
extern void clearVARIANT(VARIANT *var);
+#define QAX_INPROC_SERVER (0x51540001)
+#define QAX_OUTPROC_SERVER (0x51540002)
+
QT_END_NAMESPACE
#endif // QT_NO_WIN_ACTIVEQT