PythonQtWrapper_QTextEdit.cpp
1353 lines
| 46.8 KiB
| text/x-c
|
CppLexer
|
r13 | #include "PythonQtWrapper_QTextEdit.h" | ||
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
|
r13 | #include <QTextCursor> | ||
#include <QTextEdit> | ||||
#include <QVariant> | ||||
#include <qaction.h> | ||||
#include <qbitmap.h> | ||||
#include <qbytearray.h> | ||||
#include <qcolor.h> | ||||
#include <qcoreevent.h> | ||||
#include <qcursor.h> | ||||
#include <qevent.h> | ||||
#include <qfont.h> | ||||
#include <qicon.h> | ||||
#include <qinputcontext.h> | ||||
#include <qkeysequence.h> | ||||
#include <qlayout.h> | ||||
#include <qlist.h> | ||||
#include <qlocale.h> | ||||
#include <qmenu.h> | ||||
#include <qmimedata.h> | ||||
#include <qobject.h> | ||||
#include <qpaintdevice.h> | ||||
#include <qpaintengine.h> | ||||
#include <qpainter.h> | ||||
#include <qpalette.h> | ||||
#include <qpoint.h> | ||||
#include <qprinter.h> | ||||
#include <qrect.h> | ||||
#include <qregion.h> | ||||
#include <qscrollbar.h> | ||||
#include <qsize.h> | ||||
#include <qsizepolicy.h> | ||||
#include <qstyle.h> | ||||
#include <qtextcursor.h> | ||||
#include <qtextdocument.h> | ||||
#include <qtextedit.h> | ||||
#include <qtextformat.h> | ||||
#include <qurl.h> | ||||
#include <qwidget.h> | ||||
|
r24 | void PythonQtShell_QTextEdit::actionEvent(QActionEvent* arg__1) | ||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "actionEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"actionEvent(QTextEdit*,QActionEvent* )"); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::actionEvent(arg__1); | ||||
} | ||||
bool PythonQtShell_QTextEdit::canInsertFromMimeData(const QMimeData* source) const | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "canInsertFromMimeData"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"canInsertFromMimeData(QTextEdit*,const QMimeData* )"); | ||||
bool returnValue; | ||||
void* args[2] = {NULL, (void*)&source}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((bool *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTextEdit::canInsertFromMimeData(source); | ||||
} | ||||
void PythonQtShell_QTextEdit::changeEvent(QEvent* e) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "changeEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"changeEvent(QTextEdit*,QEvent* )"); | ||||
void* args[2] = {NULL, (void*)&e}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::changeEvent(e); | ||||
} | ||||
void PythonQtShell_QTextEdit::childEvent(QChildEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"childEvent(QTextEdit*,QChildEvent* )"); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::childEvent(arg__1); | ||||
} | ||||
void PythonQtShell_QTextEdit::closeEvent(QCloseEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "closeEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"closeEvent(QTextEdit*,QCloseEvent* )"); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::closeEvent(arg__1); | ||||
} | ||||
void PythonQtShell_QTextEdit::contextMenuEvent(QContextMenuEvent* e) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "contextMenuEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"contextMenuEvent(QTextEdit*,QContextMenuEvent* )"); | ||||
void* args[2] = {NULL, (void*)&e}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::contextMenuEvent(e); | ||||
} | ||||
QMimeData* PythonQtShell_QTextEdit::createMimeDataFromSelection() const | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createMimeDataFromSelection"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"createMimeDataFromSelection(QTextEdit*)"); | ||||
QMimeData* returnValue; | ||||
void* args[1] = {NULL}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((QMimeData* *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTextEdit::createMimeDataFromSelection(); | ||||
} | ||||
void PythonQtShell_QTextEdit::customEvent(QEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"customEvent(QTextEdit*,QEvent* )"); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::customEvent(arg__1); | ||||
} | ||||
int PythonQtShell_QTextEdit::devType() const | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "devType"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"devType(QTextEdit*)"); | ||||
int returnValue; | ||||
void* args[1] = {NULL}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((int *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTextEdit::devType(); | ||||
} | ||||
void PythonQtShell_QTextEdit::dragEnterEvent(QDragEnterEvent* e) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragEnterEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"dragEnterEvent(QTextEdit*,QDragEnterEvent* )"); | ||||
void* args[2] = {NULL, (void*)&e}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::dragEnterEvent(e); | ||||
} | ||||
void PythonQtShell_QTextEdit::dragLeaveEvent(QDragLeaveEvent* e) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragLeaveEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"dragLeaveEvent(QTextEdit*,QDragLeaveEvent* )"); | ||||
void* args[2] = {NULL, (void*)&e}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::dragLeaveEvent(e); | ||||
} | ||||
void PythonQtShell_QTextEdit::dragMoveEvent(QDragMoveEvent* e) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dragMoveEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"dragMoveEvent(QTextEdit*,QDragMoveEvent* )"); | ||||
void* args[2] = {NULL, (void*)&e}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::dragMoveEvent(e); | ||||
} | ||||
void PythonQtShell_QTextEdit::dropEvent(QDropEvent* e) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "dropEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"dropEvent(QTextEdit*,QDropEvent* )"); | ||||
void* args[2] = {NULL, (void*)&e}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::dropEvent(e); | ||||
} | ||||
void PythonQtShell_QTextEdit::enterEvent(QEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "enterEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"enterEvent(QTextEdit*,QEvent* )"); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::enterEvent(arg__1); | ||||
} | ||||
bool PythonQtShell_QTextEdit::event(QEvent* e) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"event(QTextEdit*,QEvent* )"); | ||||
bool returnValue; | ||||
void* args[2] = {NULL, (void*)&e}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((bool *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTextEdit::event(e); | ||||
} | ||||
bool PythonQtShell_QTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"eventFilter(QTextEdit*,QObject* ,QEvent* )"); | ||||
bool returnValue; | ||||
void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((bool *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTextEdit::eventFilter(arg__1, arg__2); | ||||
} | ||||
void PythonQtShell_QTextEdit::focusInEvent(QFocusEvent* e) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusInEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"focusInEvent(QTextEdit*,QFocusEvent* )"); | ||||
void* args[2] = {NULL, (void*)&e}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::focusInEvent(e); | ||||
} | ||||
bool PythonQtShell_QTextEdit::focusNextPrevChild(bool next) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusNextPrevChild"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"focusNextPrevChild(QTextEdit*,bool )"); | ||||
bool returnValue; | ||||
void* args[2] = {NULL, (void*)&next}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((bool *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTextEdit::focusNextPrevChild(next); | ||||
} | ||||
void PythonQtShell_QTextEdit::focusOutEvent(QFocusEvent* e) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "focusOutEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"focusOutEvent(QTextEdit*,QFocusEvent* )"); | ||||
void* args[2] = {NULL, (void*)&e}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::focusOutEvent(e); | ||||
} | ||||
int PythonQtShell_QTextEdit::heightForWidth(int arg__1) const | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "heightForWidth"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"heightForWidth(QTextEdit*,int )"); | ||||
int returnValue; | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((int *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTextEdit::heightForWidth(arg__1); | ||||
} | ||||
void PythonQtShell_QTextEdit::hideEvent(QHideEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "hideEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"hideEvent(QTextEdit*,QHideEvent* )"); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::hideEvent(arg__1); | ||||
} | ||||
void PythonQtShell_QTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"inputMethodEvent(QTextEdit*,QInputMethodEvent* )"); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::inputMethodEvent(arg__1); | ||||
} | ||||
QVariant PythonQtShell_QTextEdit::inputMethodQuery(Qt::InputMethodQuery property) const | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "inputMethodQuery"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"inputMethodQuery(QTextEdit*,Qt::InputMethodQuery )"); | ||||
QVariant returnValue; | ||||
void* args[2] = {NULL, (void*)&property}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((QVariant *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTextEdit::inputMethodQuery(property); | ||||
} | ||||
void PythonQtShell_QTextEdit::insertFromMimeData(const QMimeData* source) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "insertFromMimeData"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"insertFromMimeData(QTextEdit*,const QMimeData* )"); | ||||
void* args[2] = {NULL, (void*)&source}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::insertFromMimeData(source); | ||||
} | ||||
void PythonQtShell_QTextEdit::keyPressEvent(QKeyEvent* e) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyPressEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"keyPressEvent(QTextEdit*,QKeyEvent* )"); | ||||
void* args[2] = {NULL, (void*)&e}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::keyPressEvent(e); | ||||
} | ||||
void PythonQtShell_QTextEdit::keyReleaseEvent(QKeyEvent* e) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "keyReleaseEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"keyReleaseEvent(QTextEdit*,QKeyEvent* )"); | ||||
void* args[2] = {NULL, (void*)&e}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::keyReleaseEvent(e); | ||||
} | ||||
void PythonQtShell_QTextEdit::languageChange() | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "languageChange"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"languageChange(QTextEdit*)"); | ||||
void* args[1] = {NULL}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::languageChange(); | ||||
} | ||||
void PythonQtShell_QTextEdit::leaveEvent(QEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "leaveEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"leaveEvent(QTextEdit*,QEvent* )"); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::leaveEvent(arg__1); | ||||
} | ||||
QVariant PythonQtShell_QTextEdit::loadResource(int type, const QUrl& name) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "loadResource"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"loadResource(QTextEdit*,int ,const QUrl& )"); | ||||
QVariant returnValue; | ||||
void* args[3] = {NULL, (void*)&type, (void*)&name}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((QVariant *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTextEdit::loadResource(type, name); | ||||
} | ||||
int PythonQtShell_QTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "metric"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"metric(QTextEdit*,QPaintDevice::PaintDeviceMetric )"); | ||||
int returnValue; | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((int *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTextEdit::metric(arg__1); | ||||
} | ||||
void PythonQtShell_QTextEdit::mouseDoubleClickEvent(QMouseEvent* e) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseDoubleClickEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"mouseDoubleClickEvent(QTextEdit*,QMouseEvent* )"); | ||||
void* args[2] = {NULL, (void*)&e}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::mouseDoubleClickEvent(e); | ||||
} | ||||
void PythonQtShell_QTextEdit::mouseMoveEvent(QMouseEvent* e) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseMoveEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"mouseMoveEvent(QTextEdit*,QMouseEvent* )"); | ||||
void* args[2] = {NULL, (void*)&e}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::mouseMoveEvent(e); | ||||
} | ||||
void PythonQtShell_QTextEdit::mousePressEvent(QMouseEvent* e) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mousePressEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"mousePressEvent(QTextEdit*,QMouseEvent* )"); | ||||
void* args[2] = {NULL, (void*)&e}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::mousePressEvent(e); | ||||
} | ||||
void PythonQtShell_QTextEdit::mouseReleaseEvent(QMouseEvent* e) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "mouseReleaseEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"mouseReleaseEvent(QTextEdit*,QMouseEvent* )"); | ||||
void* args[2] = {NULL, (void*)&e}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::mouseReleaseEvent(e); | ||||
} | ||||
void PythonQtShell_QTextEdit::moveEvent(QMoveEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "moveEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"moveEvent(QTextEdit*,QMoveEvent* )"); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::moveEvent(arg__1); | ||||
} | ||||
QPaintEngine* PythonQtShell_QTextEdit::paintEngine() const | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEngine"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"paintEngine(QTextEdit*)"); | ||||
QPaintEngine* returnValue; | ||||
void* args[1] = {NULL}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((QPaintEngine* *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTextEdit::paintEngine(); | ||||
} | ||||
void PythonQtShell_QTextEdit::paintEvent(QPaintEvent* e) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "paintEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"paintEvent(QTextEdit*,QPaintEvent* )"); | ||||
void* args[2] = {NULL, (void*)&e}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::paintEvent(e); | ||||
} | ||||
void PythonQtShell_QTextEdit::resizeEvent(QResizeEvent* e) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "resizeEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"resizeEvent(QTextEdit*,QResizeEvent* )"); | ||||
void* args[2] = {NULL, (void*)&e}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::resizeEvent(e); | ||||
} | ||||
void PythonQtShell_QTextEdit::scrollContentsBy(int dx, int dy) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "scrollContentsBy"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"scrollContentsBy(QTextEdit*,int ,int )"); | ||||
void* args[3] = {NULL, (void*)&dx, (void*)&dy}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::scrollContentsBy(dx, dy); | ||||
} | ||||
void PythonQtShell_QTextEdit::showEvent(QShowEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "showEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"showEvent(QTextEdit*,QShowEvent* )"); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::showEvent(arg__1); | ||||
} | ||||
void PythonQtShell_QTextEdit::tabletEvent(QTabletEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "tabletEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"tabletEvent(QTextEdit*,QTabletEvent* )"); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::tabletEvent(arg__1); | ||||
} | ||||
void PythonQtShell_QTextEdit::timerEvent(QTimerEvent* e) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"timerEvent(QTextEdit*,QTimerEvent* )"); | ||||
void* args[2] = {NULL, (void*)&e}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::timerEvent(e); | ||||
} | ||||
bool PythonQtShell_QTextEdit::viewportEvent(QEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "viewportEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"viewportEvent(QTextEdit*,QEvent* )"); | ||||
bool returnValue; | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((bool *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTextEdit::viewportEvent(arg__1); | ||||
} | ||||
void PythonQtShell_QTextEdit::wheelEvent(QWheelEvent* e) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "wheelEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextEdit::staticMetaObject, | ||||
"wheelEvent(QTextEdit*,QWheelEvent* )"); | ||||
void* args[2] = {NULL, (void*)&e}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextEdit::wheelEvent(e); | ||||
} | ||||
|
r13 | QTextEdit* PythonQtWrapper_QTextEdit::new_QTextEdit(QWidget* parent) | ||
{ | ||||
|
r24 | return new PythonQtShell_QTextEdit(parent); } | ||
|
r13 | |||
QTextEdit* PythonQtWrapper_QTextEdit::new_QTextEdit(const QString& text, QWidget* parent) | ||||
{ | ||||
|
r24 | return new PythonQtShell_QTextEdit(text, parent); } | ||
|
r13 | |||
|
r28 | QString PythonQtWrapper_QTextEdit::anchorAt(QTextEdit* theWrappedObject, const QPoint& pos) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->anchorAt(pos); | ||
|
r13 | } | ||
|
r28 | QTextCharFormat PythonQtWrapper_QTextEdit::currentCharFormat(QTextEdit* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->currentCharFormat(); | ||
|
r13 | } | ||
|
r28 | QString PythonQtWrapper_QTextEdit::toHtml(QTextEdit* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->toHtml(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::mousePressEvent(QTextEdit* theWrappedObject, QMouseEvent* e) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_mousePressEvent(e); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::setExtraSelections(QTextEdit* theWrappedObject, const QList<QTextEdit::ExtraSelection >& selections) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setExtraSelections(selections); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::contextMenuEvent(QTextEdit* theWrappedObject, QContextMenuEvent* e) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_contextMenuEvent(e); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::setDocument(QTextEdit* theWrappedObject, QTextDocument* document) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setDocument(document); | ||
|
r13 | } | ||
|
r28 | QTextDocument* PythonQtWrapper_QTextEdit::document(QTextEdit* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->document(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::paintEvent(QTextEdit* theWrappedObject, QPaintEvent* e) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_paintEvent(e); | ||
|
r13 | } | ||
|
r28 | QColor PythonQtWrapper_QTextEdit::textBackgroundColor(QTextEdit* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->textBackgroundColor(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::showEvent(QTextEdit* theWrappedObject, QShowEvent* arg__1) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_showEvent(arg__1); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::moveCursor(QTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->moveCursor(operation, mode); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::timerEvent(QTextEdit* theWrappedObject, QTimerEvent* e) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_timerEvent(e); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTextEdit::fontUnderline(QTextEdit* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->fontUnderline(); | ||
|
r13 | } | ||
|
r28 | QTextCursor PythonQtWrapper_QTextEdit::textCursor(QTextEdit* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->textCursor(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::focusInEvent(QTextEdit* theWrappedObject, QFocusEvent* e) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_focusInEvent(e); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::changeEvent(QTextEdit* theWrappedObject, QEvent* e) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_changeEvent(e); | ||
|
r13 | } | ||
|
r28 | Qt::Alignment PythonQtWrapper_QTextEdit::alignment(QTextEdit* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->alignment(); | ||
|
r13 | } | ||
|
r28 | QString PythonQtWrapper_QTextEdit::documentTitle(QTextEdit* theWrappedObject) const | ||
|
r24 | { | ||
|
r28 | return theWrappedObject->documentTitle(); | ||
|
r24 | } | ||
|
r28 | bool PythonQtWrapper_QTextEdit::event(QTextEdit* theWrappedObject, QEvent* e) | ||
|
r24 | { | ||
|
r28 | return ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_event(e); | ||
|
r24 | } | ||
|
r28 | QMenu* PythonQtWrapper_QTextEdit::createStandardContextMenu(QTextEdit* theWrappedObject, const QPoint& position) | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->createStandardContextMenu(position); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::setUndoRedoEnabled(QTextEdit* theWrappedObject, bool enable) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setUndoRedoEnabled(enable); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::setWordWrapMode(QTextEdit* theWrappedObject, QTextOption::WrapMode policy) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setWordWrapMode(policy); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::dragLeaveEvent(QTextEdit* theWrappedObject, QDragLeaveEvent* e) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_dragLeaveEvent(e); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::wheelEvent(QTextEdit* theWrappedObject, QWheelEvent* e) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_wheelEvent(e); | ||
|
r13 | } | ||
|
r28 | QTextCursor PythonQtWrapper_QTextEdit::cursorForPosition(QTextEdit* theWrappedObject, const QPoint& pos) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->cursorForPosition(pos); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::setTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setTextCursor(cursor); | ||
|
r13 | } | ||
|
r28 | QVariant PythonQtWrapper_QTextEdit::loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name) | ||
|
r13 | { | ||
|
r28 | return ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_loadResource(type, name); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::setLineWrapMode(QTextEdit* theWrappedObject, QTextEdit::LineWrapMode mode) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setLineWrapMode(mode); | ||
|
r24 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::dropEvent(QTextEdit* theWrappedObject, QDropEvent* e) | ||
|
r24 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_dropEvent(e); | ||
|
r13 | } | ||
|
r28 | QTextOption::WrapMode PythonQtWrapper_QTextEdit::wordWrapMode(QTextEdit* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->wordWrapMode(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::setLineWrapColumnOrWidth(QTextEdit* theWrappedObject, int w) | ||
|
r24 | { | ||
|
r28 | theWrappedObject->setLineWrapColumnOrWidth(w); | ||
|
r24 | } | ||
|
r28 | int PythonQtWrapper_QTextEdit::fontWeight(QTextEdit* theWrappedObject) const | ||
|
r24 | { | ||
|
r28 | return theWrappedObject->fontWeight(); | ||
|
r24 | } | ||
|
r28 | QList<QTextEdit::ExtraSelection > PythonQtWrapper_QTextEdit::extraSelections(QTextEdit* theWrappedObject) const | ||
|
r24 | { | ||
|
r28 | return theWrappedObject->extraSelections(); | ||
|
r24 | } | ||
|
r28 | QRect PythonQtWrapper_QTextEdit::cursorRect(QTextEdit* theWrappedObject, const QTextCursor& cursor) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->cursorRect(cursor); | ||
|
r24 | } | ||
|
r28 | bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options) | ||
|
r24 | { | ||
|
r28 | return theWrappedObject->find(exp, options); | ||
|
r24 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::setReadOnly(QTextEdit* theWrappedObject, bool ro) | ||
|
r24 | { | ||
|
r28 | theWrappedObject->setReadOnly(ro); | ||
|
r24 | } | ||
|
r28 | bool PythonQtWrapper_QTextEdit::isUndoRedoEnabled(QTextEdit* theWrappedObject) const | ||
|
r24 | { | ||
|
r28 | return theWrappedObject->isUndoRedoEnabled(); | ||
|
r24 | } | ||
|
r28 | bool PythonQtWrapper_QTextEdit::acceptRichText(QTextEdit* theWrappedObject) const | ||
|
r24 | { | ||
|
r28 | return theWrappedObject->acceptRichText(); | ||
|
r24 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::setTabChangesFocus(QTextEdit* theWrappedObject, bool b) | ||
|
r24 | { | ||
|
r28 | theWrappedObject->setTabChangesFocus(b); | ||
|
r24 | } | ||
|
r28 | QMimeData* PythonQtWrapper_QTextEdit::createMimeDataFromSelection(QTextEdit* theWrappedObject) const | ||
|
r24 | { | ||
|
r28 | return ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_createMimeDataFromSelection(); | ||
|
r24 | } | ||
|
r28 | bool PythonQtWrapper_QTextEdit::canPaste(QTextEdit* theWrappedObject) const | ||
|
r24 | { | ||
|
r28 | return theWrappedObject->canPaste(); | ||
|
r24 | } | ||
|
r28 | QRect PythonQtWrapper_QTextEdit::cursorRect(QTextEdit* theWrappedObject) const | ||
|
r24 | { | ||
|
r28 | return theWrappedObject->cursorRect(); | ||
|
r24 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::setCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& format) | ||
|
r24 | { | ||
|
r28 | theWrappedObject->setCurrentCharFormat(format); | ||
|
r13 | } | ||
|
r28 | QTextEdit::LineWrapMode PythonQtWrapper_QTextEdit::lineWrapMode(QTextEdit* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->lineWrapMode(); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QTextEdit::cursorWidth(QTextEdit* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->cursorWidth(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::focusOutEvent(QTextEdit* theWrappedObject, QFocusEvent* e) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_focusOutEvent(e); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::mouseDoubleClickEvent(QTextEdit* theWrappedObject, QMouseEvent* e) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_mouseDoubleClickEvent(e); | ||
|
r13 | } | ||
|
r28 | Qt::TextInteractionFlags PythonQtWrapper_QTextEdit::textInteractionFlags(QTextEdit* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->textInteractionFlags(); | ||
|
r13 | } | ||
|
r28 | QColor PythonQtWrapper_QTextEdit::textColor(QTextEdit* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->textColor(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::mouseMoveEvent(QTextEdit* theWrappedObject, QMouseEvent* e) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_mouseMoveEvent(e); | ||
|
r13 | } | ||
|
r28 | QTextEdit::AutoFormatting PythonQtWrapper_QTextEdit::autoFormatting(QTextEdit* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->autoFormatting(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::keyReleaseEvent(QTextEdit* theWrappedObject, QKeyEvent* e) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_keyReleaseEvent(e); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::setOverwriteMode(QTextEdit* theWrappedObject, bool overwrite) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setOverwriteMode(overwrite); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::dragMoveEvent(QTextEdit* theWrappedObject, QDragMoveEvent* e) | ||
|
r24 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_dragMoveEvent(e); | ||
|
r24 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::mergeCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& modifier) | ||
|
r24 | { | ||
|
r28 | theWrappedObject->mergeCurrentCharFormat(modifier); | ||
|
r24 | } | ||
|
r28 | bool PythonQtWrapper_QTextEdit::tabChangesFocus(QTextEdit* theWrappedObject) const | ||
|
r24 | { | ||
|
r28 | return theWrappedObject->tabChangesFocus(); | ||
|
r24 | } | ||
|
r28 | qreal PythonQtWrapper_QTextEdit::fontPointSize(QTextEdit* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->fontPointSize(); | ||
|
r24 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::setAcceptRichText(QTextEdit* theWrappedObject, bool accept) | ||
|
r24 | { | ||
|
r28 | theWrappedObject->setAcceptRichText(accept); | ||
|
r24 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::ensureCursorVisible(QTextEdit* theWrappedObject) | ||
|
r24 | { | ||
|
r28 | theWrappedObject->ensureCursorVisible(); | ||
|
r24 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::resizeEvent(QTextEdit* theWrappedObject, QResizeEvent* e) | ||
|
r24 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_resizeEvent(e); | ||
|
r24 | } | ||
|
r28 | bool PythonQtWrapper_QTextEdit::fontItalic(QTextEdit* theWrappedObject) const | ||
|
r24 | { | ||
|
r28 | return theWrappedObject->fontItalic(); | ||
|
r24 | } | ||
|
r28 | QString PythonQtWrapper_QTextEdit::toPlainText(QTextEdit* theWrappedObject) const | ||
|
r24 | { | ||
|
r28 | return theWrappedObject->toPlainText(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::scrollContentsBy(QTextEdit* theWrappedObject, int dx, int dy) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_scrollContentsBy(dx, dy); | ||
|
r13 | } | ||
|
r28 | QMenu* PythonQtWrapper_QTextEdit::createStandardContextMenu(QTextEdit* theWrappedObject) | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->createStandardContextMenu(); | ||
|
r13 | } | ||
|
r28 | QFont PythonQtWrapper_QTextEdit::currentFont(QTextEdit* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->currentFont(); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QTextEdit::tabStopWidth(QTextEdit* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->tabStopWidth(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::mouseReleaseEvent(QTextEdit* theWrappedObject, QMouseEvent* e) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_mouseReleaseEvent(e); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTextEdit::isReadOnly(QTextEdit* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->isReadOnly(); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTextEdit::overwriteMode(QTextEdit* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->overwriteMode(); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTextEdit::focusNextPrevChild(QTextEdit* theWrappedObject, bool next) | ||
|
r13 | { | ||
|
r28 | return ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_focusNextPrevChild(next); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTextEdit::canInsertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) const | ||
|
r13 | { | ||
|
r28 | return ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_canInsertFromMimeData(source); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::dragEnterEvent(QTextEdit* theWrappedObject, QDragEnterEvent* e) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_dragEnterEvent(e); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::setAutoFormatting(QTextEdit* theWrappedObject, QTextEdit::AutoFormatting features) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setAutoFormatting(features); | ||
|
r13 | } | ||
|
r24 | void PythonQtWrapper_QTextEdit::setCursorWidth(QTextEdit* theWrappedObject, int width) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setCursorWidth(width); | ||
|
r13 | } | ||
|
r28 | QVariant PythonQtWrapper_QTextEdit::inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery property) const | ||
|
r13 | { | ||
|
r28 | return ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_inputMethodQuery(property); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_insertFromMimeData(source); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::setTextInteractionFlags(QTextEdit* theWrappedObject, Qt::TextInteractionFlags flags) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setTextInteractionFlags(flags); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::setTabStopWidth(QTextEdit* theWrappedObject, int width) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setTabStopWidth(width); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::setDocumentTitle(QTextEdit* theWrappedObject, const QString& title) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setDocumentTitle(title); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::inputMethodEvent(QTextEdit* theWrappedObject, QInputMethodEvent* arg__1) | ||
|
r24 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_inputMethodEvent(arg__1); | ||
|
r24 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::print(QTextEdit* theWrappedObject, QPrinter* printer) const | ||
|
r24 | { | ||
|
r28 | theWrappedObject->print(printer); | ||
|
r24 | } | ||
int PythonQtWrapper_QTextEdit::lineWrapColumnOrWidth(QTextEdit* theWrappedObject) const | ||||
{ | ||||
|
r28 | return theWrappedObject->lineWrapColumnOrWidth(); | ||
|
r24 | } | ||
|
r28 | QString PythonQtWrapper_QTextEdit::fontFamily(QTextEdit* theWrappedObject) const | ||
|
r24 | { | ||
|
r28 | return theWrappedObject->fontFamily(); | ||
|
r24 | } | ||
|
r28 | void PythonQtWrapper_QTextEdit::keyPressEvent(QTextEdit* theWrappedObject, QKeyEvent* e) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_keyPressEvent(e); | ||
|
r13 | } | ||