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