PythonQtWrapper_QShortcutEvent.cpp
27 lines
| 782 B
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QShortcutEvent.h" | ||
florianlink
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
florianlink
|
r13 | #include <QVariant> | ||
#include <qkeysequence.h> | ||||
QShortcutEvent* PythonQtWrapper_QShortcutEvent::new_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous) | ||||
{ | ||||
florianlink
|
r24 | return new PythonQtShell_QShortcutEvent(key, id, ambiguous); } | ||
florianlink
|
r13 | |||
florianlink
|
r28 | bool PythonQtWrapper_QShortcutEvent::isAmbiguous(QShortcutEvent* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->isAmbiguous(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | const QKeySequence& PythonQtWrapper_QShortcutEvent::key(QShortcutEvent* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->key(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | int PythonQtWrapper_QShortcutEvent::shortcutId(QShortcutEvent* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->shortcutId(); | ||
florianlink
|
r13 | } | ||