Il 18/09/2018 16:14, Martin Koller ha scritto:
e is a pointer - I can not compare this to a QKeySequence enum, right ?

You can, just overload the operator== for it.

https://code.woboq.org/qt5/include/qt/QtGui/qevent.h.html#_ZeqP9QKeyEventN12QKeySequence11StandardKeyE

(No idea if that's documented somewhere)

HTH,
--
Giuseppe D'Angelo | [email protected] | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

Attachment: smime.p7s
Description: Firma crittografica S/MIME

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to