PythonQtWrapper_QFocusEvent.cpp
26 lines
| 685 B
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QFocusEvent.h" | ||
florianlink
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
florianlink
|
r13 | #include <QVariant> | ||
QFocusEvent* PythonQtWrapper_QFocusEvent::new_QFocusEvent(QEvent::Type type, Qt::FocusReason reason) | ||||
{ | ||||
return new QFocusEvent(type, reason); } | ||||
florianlink
|
r28 | bool PythonQtWrapper_QFocusEvent::lostFocus(QFocusEvent* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->lostFocus(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r24 | Qt::FocusReason PythonQtWrapper_QFocusEvent::reason(QFocusEvent* theWrappedObject) | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->reason(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | bool PythonQtWrapper_QFocusEvent::gotFocus(QFocusEvent* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->gotFocus(); | ||
florianlink
|
r13 | } | ||