@@ -4428,157 +4428,6 @@ QStringList PythonQtWrapper_QCommandLineParser::values(QCommandLineParser* theW
44284428
44294429
44304430
4431- PythonQtShell_QCoreApplication::~PythonQtShell_QCoreApplication () {
4432- PythonQtPrivate* priv = PythonQt::priv ();
4433- if (priv) { priv->shellClassDeleted (this ); }
4434- }
4435- void PythonQtShell_QCoreApplication::childEvent (QChildEvent* arg__1)
4436- {
4437- if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0 )) {
4438- static PyObject* name = PyString_FromString (" childEvent" );
4439- PyObject* obj = PyBaseObject_Type.tp_getattro ((PyObject*)_wrapper, name);
4440- if (obj) {
4441- static const char * argumentList[] ={" " , " QChildEvent*" };
4442- static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList (2 , argumentList);
4443- void * args[2 ] = {NULL , (void *)&arg__1};
4444- PyObject* result = PythonQtSignalTarget::call (obj, methodInfo, args, true );
4445- if (result) { Py_DECREF (result); }
4446- Py_DECREF (obj);
4447- return ;
4448- } else {
4449- PyErr_Clear ();
4450- }
4451- }
4452- QCoreApplication::childEvent (arg__1);
4453- }
4454- void PythonQtShell_QCoreApplication::customEvent (QEvent* arg__1)
4455- {
4456- if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0 )) {
4457- static PyObject* name = PyString_FromString (" customEvent" );
4458- PyObject* obj = PyBaseObject_Type.tp_getattro ((PyObject*)_wrapper, name);
4459- if (obj) {
4460- static const char * argumentList[] ={" " , " QEvent*" };
4461- static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList (2 , argumentList);
4462- void * args[2 ] = {NULL , (void *)&arg__1};
4463- PyObject* result = PythonQtSignalTarget::call (obj, methodInfo, args, true );
4464- if (result) { Py_DECREF (result); }
4465- Py_DECREF (obj);
4466- return ;
4467- } else {
4468- PyErr_Clear ();
4469- }
4470- }
4471- QCoreApplication::customEvent (arg__1);
4472- }
4473- bool PythonQtShell_QCoreApplication::event (QEvent* arg__1)
4474- {
4475- if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0 )) {
4476- static PyObject* name = PyString_FromString (" event" );
4477- PyObject* obj = PyBaseObject_Type.tp_getattro ((PyObject*)_wrapper, name);
4478- if (obj) {
4479- static const char * argumentList[] ={" bool" , " QEvent*" };
4480- static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList (2 , argumentList);
4481- bool returnValue;
4482- void * args[2 ] = {NULL , (void *)&arg__1};
4483- PyObject* result = PythonQtSignalTarget::call (obj, methodInfo, args, true );
4484- if (result) {
4485- args[0 ] = PythonQtConv::ConvertPythonToQt (methodInfo->parameters ().at (0 ), result, false , NULL , &returnValue);
4486- if (args[0 ]!=&returnValue) {
4487- if (args[0 ]==NULL ) {
4488- PythonQt::priv ()->handleVirtualOverloadReturnError (" event" , methodInfo, result);
4489- } else {
4490- returnValue = *((bool *)args[0 ]);
4491- }
4492- }
4493- }
4494- if (result) { Py_DECREF (result); }
4495- Py_DECREF (obj);
4496- return returnValue;
4497- } else {
4498- PyErr_Clear ();
4499- }
4500- }
4501- return QCoreApplication::event (arg__1);
4502- }
4503- bool PythonQtShell_QCoreApplication::eventFilter (QObject* arg__1, QEvent* arg__2)
4504- {
4505- if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0 )) {
4506- static PyObject* name = PyString_FromString (" eventFilter" );
4507- PyObject* obj = PyBaseObject_Type.tp_getattro ((PyObject*)_wrapper, name);
4508- if (obj) {
4509- static const char * argumentList[] ={" bool" , " QObject*" , " QEvent*" };
4510- static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList (3 , argumentList);
4511- bool returnValue;
4512- void * args[3 ] = {NULL , (void *)&arg__1, (void *)&arg__2};
4513- PyObject* result = PythonQtSignalTarget::call (obj, methodInfo, args, true );
4514- if (result) {
4515- args[0 ] = PythonQtConv::ConvertPythonToQt (methodInfo->parameters ().at (0 ), result, false , NULL , &returnValue);
4516- if (args[0 ]!=&returnValue) {
4517- if (args[0 ]==NULL ) {
4518- PythonQt::priv ()->handleVirtualOverloadReturnError (" eventFilter" , methodInfo, result);
4519- } else {
4520- returnValue = *((bool *)args[0 ]);
4521- }
4522- }
4523- }
4524- if (result) { Py_DECREF (result); }
4525- Py_DECREF (obj);
4526- return returnValue;
4527- } else {
4528- PyErr_Clear ();
4529- }
4530- }
4531- return QCoreApplication::eventFilter (arg__1, arg__2);
4532- }
4533- bool PythonQtShell_QCoreApplication::notify (QObject* arg__1, QEvent* arg__2)
4534- {
4535- if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0 )) {
4536- static PyObject* name = PyString_FromString (" notify" );
4537- PyObject* obj = PyBaseObject_Type.tp_getattro ((PyObject*)_wrapper, name);
4538- if (obj) {
4539- static const char * argumentList[] ={" bool" , " QObject*" , " QEvent*" };
4540- static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList (3 , argumentList);
4541- bool returnValue;
4542- void * args[3 ] = {NULL , (void *)&arg__1, (void *)&arg__2};
4543- PyObject* result = PythonQtSignalTarget::call (obj, methodInfo, args, true );
4544- if (result) {
4545- args[0 ] = PythonQtConv::ConvertPythonToQt (methodInfo->parameters ().at (0 ), result, false , NULL , &returnValue);
4546- if (args[0 ]!=&returnValue) {
4547- if (args[0 ]==NULL ) {
4548- PythonQt::priv ()->handleVirtualOverloadReturnError (" notify" , methodInfo, result);
4549- } else {
4550- returnValue = *((bool *)args[0 ]);
4551- }
4552- }
4553- }
4554- if (result) { Py_DECREF (result); }
4555- Py_DECREF (obj);
4556- return returnValue;
4557- } else {
4558- PyErr_Clear ();
4559- }
4560- }
4561- return QCoreApplication::notify (arg__1, arg__2);
4562- }
4563- void PythonQtShell_QCoreApplication::timerEvent (QTimerEvent* arg__1)
4564- {
4565- if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0 )) {
4566- static PyObject* name = PyString_FromString (" timerEvent" );
4567- PyObject* obj = PyBaseObject_Type.tp_getattro ((PyObject*)_wrapper, name);
4568- if (obj) {
4569- static const char * argumentList[] ={" " , " QTimerEvent*" };
4570- static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList (2 , argumentList);
4571- void * args[2 ] = {NULL , (void *)&arg__1};
4572- PyObject* result = PythonQtSignalTarget::call (obj, methodInfo, args, true );
4573- if (result) { Py_DECREF (result); }
4574- Py_DECREF (obj);
4575- return ;
4576- } else {
4577- PyErr_Clear ();
4578- }
4579- }
4580- QCoreApplication::timerEvent (arg__1);
4581- }
45824431void PythonQtWrapper_QCoreApplication::static_QCoreApplication_addLibraryPath (const QString& arg__1)
45834432{
45844433 (QCoreApplication::addLibraryPath (arg__1));
@@ -4838,6 +4687,11 @@ bool PythonQtWrapper_QDataStream::atEnd(QDataStream* theWrappedObject) const
48384687 return ( theWrappedObject->atEnd ());
48394688}
48404689
4690+ QDataStream::ByteOrder PythonQtWrapper_QDataStream::byteOrder (QDataStream* theWrappedObject) const
4691+ {
4692+ return ( theWrappedObject->byteOrder ());
4693+ }
4694+
48414695QIODevice* PythonQtWrapper_QDataStream::device (QDataStream* theWrappedObject) const
48424696{
48434697 return ( theWrappedObject->device ());
@@ -4853,6 +4707,11 @@ void PythonQtWrapper_QDataStream::resetStatus(QDataStream* theWrappedObject)
48534707 ( theWrappedObject->resetStatus ());
48544708}
48554709
4710+ void PythonQtWrapper_QDataStream::setByteOrder (QDataStream* theWrappedObject, QDataStream::ByteOrder arg__1)
4711+ {
4712+ ( theWrappedObject->setByteOrder (arg__1));
4713+ }
4714+
48564715void PythonQtWrapper_QDataStream::setDevice (QDataStream* theWrappedObject, QIODevice* arg__1)
48574716{
48584717 ( theWrappedObject->setDevice (arg__1));
@@ -6281,6 +6140,36 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
62816140}
62826141 return QFile::open (flags);
62836142}
6143+ QFileDevice::Permissions PythonQtShell_QFile::permissions () const
6144+ {
6145+ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0 )) {
6146+ static PyObject* name = PyString_FromString (" permissions" );
6147+ PyObject* obj = PyBaseObject_Type.tp_getattro ((PyObject*)_wrapper, name);
6148+ if (obj) {
6149+ static const char * argumentList[] ={" QFileDevice::Permissions" };
6150+ static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList (1 , argumentList);
6151+ QFileDevice::Permissions returnValue;
6152+ void * args[1 ] = {NULL };
6153+ PyObject* result = PythonQtSignalTarget::call (obj, methodInfo, args, true );
6154+ if (result) {
6155+ args[0 ] = PythonQtConv::ConvertPythonToQt (methodInfo->parameters ().at (0 ), result, false , NULL , &returnValue);
6156+ if (args[0 ]!=&returnValue) {
6157+ if (args[0 ]==NULL ) {
6158+ PythonQt::priv ()->handleVirtualOverloadReturnError (" permissions" , methodInfo, result);
6159+ } else {
6160+ returnValue = *((QFileDevice::Permissions*)args[0 ]);
6161+ }
6162+ }
6163+ }
6164+ if (result) { Py_DECREF (result); }
6165+ Py_DECREF (obj);
6166+ return returnValue;
6167+ } else {
6168+ PyErr_Clear ();
6169+ }
6170+ }
6171+ return QFile::permissions ();
6172+ }
62846173qint64 PythonQtShell_QFile::pos () const
62856174{
62866175if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0 )) {
@@ -6461,6 +6350,36 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
64616350}
64626351 return QFile::seek (offset);
64636352}
6353+ bool PythonQtShell_QFile::setPermissions (QFileDevice::Permissions permissionSpec)
6354+ {
6355+ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0 )) {
6356+ static PyObject* name = PyString_FromString (" setPermissions" );
6357+ PyObject* obj = PyBaseObject_Type.tp_getattro ((PyObject*)_wrapper, name);
6358+ if (obj) {
6359+ static const char * argumentList[] ={" bool" , " QFileDevice::Permissions" };
6360+ static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList (2 , argumentList);
6361+ bool returnValue;
6362+ void * args[2 ] = {NULL , (void *)&permissionSpec};
6363+ PyObject* result = PythonQtSignalTarget::call (obj, methodInfo, args, true );
6364+ if (result) {
6365+ args[0 ] = PythonQtConv::ConvertPythonToQt (methodInfo->parameters ().at (0 ), result, false , NULL , &returnValue);
6366+ if (args[0 ]!=&returnValue) {
6367+ if (args[0 ]==NULL ) {
6368+ PythonQt::priv ()->handleVirtualOverloadReturnError (" setPermissions" , methodInfo, result);
6369+ } else {
6370+ returnValue = *((bool *)args[0 ]);
6371+ }
6372+ }
6373+ }
6374+ if (result) { Py_DECREF (result); }
6375+ Py_DECREF (obj);
6376+ return returnValue;
6377+ } else {
6378+ PyErr_Clear ();
6379+ }
6380+ }
6381+ return QFile::setPermissions (permissionSpec);
6382+ }
64646383qint64 PythonQtShell_QFile::size () const
64656384{
64666385if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0 )) {
@@ -6666,6 +6585,21 @@ bool PythonQtWrapper_QFile::open(QFile* theWrappedObject, QIODevice::OpenMode
66666585 return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_open (flags));
66676586}
66686587
6588+ bool PythonQtWrapper_QFile::open (QFile* theWrappedObject, int fd, QIODevice::OpenMode ioFlags, QFileDevice::FileHandleFlags handleFlags)
6589+ {
6590+ return ( theWrappedObject->open (fd, ioFlags, handleFlags));
6591+ }
6592+
6593+ QFileDevice::Permissions PythonQtWrapper_QFile::permissions (QFile* theWrappedObject) const
6594+ {
6595+ return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_permissions ());
6596+ }
6597+
6598+ QFileDevice::Permissions PythonQtWrapper_QFile::static_QFile_permissions (const QString& filename)
6599+ {
6600+ return (QFile::permissions (filename));
6601+ }
6602+
66696603bool PythonQtWrapper_QFile::remove (QFile* theWrappedObject)
66706604{
66716605 return ( theWrappedObject->remove ());
@@ -6701,6 +6635,16 @@ void PythonQtWrapper_QFile::setFileName(QFile* theWrappedObject, const QString&
67016635 ( theWrappedObject->setFileName (name));
67026636}
67036637
6638+ bool PythonQtWrapper_QFile::setPermissions (QFile* theWrappedObject, QFileDevice::Permissions permissionSpec)
6639+ {
6640+ return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_setPermissions (permissionSpec));
6641+ }
6642+
6643+ bool PythonQtWrapper_QFile::static_QFile_setPermissions (const QString& filename, QFileDevice::Permissions permissionSpec)
6644+ {
6645+ return (QFile::setPermissions (filename, permissionSpec));
6646+ }
6647+
67046648qint64 PythonQtWrapper_QFile::size (QFile* theWrappedObject) const
67056649{
67066650 return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_size ());
@@ -7049,6 +6993,36 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
70496993}
70506994 return QFileDevice::open (mode);
70516995}
6996+ QFileDevice::Permissions PythonQtShell_QFileDevice::permissions () const
6997+ {
6998+ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0 )) {
6999+ static PyObject* name = PyString_FromString (" permissions" );
7000+ PyObject* obj = PyBaseObject_Type.tp_getattro ((PyObject*)_wrapper, name);
7001+ if (obj) {
7002+ static const char * argumentList[] ={" QFileDevice::Permissions" };
7003+ static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList (1 , argumentList);
7004+ QFileDevice::Permissions returnValue;
7005+ void * args[1 ] = {NULL };
7006+ PyObject* result = PythonQtSignalTarget::call (obj, methodInfo, args, true );
7007+ if (result) {
7008+ args[0 ] = PythonQtConv::ConvertPythonToQt (methodInfo->parameters ().at (0 ), result, false , NULL , &returnValue);
7009+ if (args[0 ]!=&returnValue) {
7010+ if (args[0 ]==NULL ) {
7011+ PythonQt::priv ()->handleVirtualOverloadReturnError (" permissions" , methodInfo, result);
7012+ } else {
7013+ returnValue = *((QFileDevice::Permissions*)args[0 ]);
7014+ }
7015+ }
7016+ }
7017+ if (result) { Py_DECREF (result); }
7018+ Py_DECREF (obj);
7019+ return returnValue;
7020+ } else {
7021+ PyErr_Clear ();
7022+ }
7023+ }
7024+ return QFileDevice::permissions ();
7025+ }
70527026qint64 PythonQtShell_QFileDevice::pos () const
70537027{
70547028if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0 )) {
@@ -7229,6 +7203,36 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
72297203}
72307204 return QFileDevice::seek (offset);
72317205}
7206+ bool PythonQtShell_QFileDevice::setPermissions (QFileDevice::Permissions permissionSpec)
7207+ {
7208+ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0 )) {
7209+ static PyObject* name = PyString_FromString (" setPermissions" );
7210+ PyObject* obj = PyBaseObject_Type.tp_getattro ((PyObject*)_wrapper, name);
7211+ if (obj) {
7212+ static const char * argumentList[] ={" bool" , " QFileDevice::Permissions" };
7213+ static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList (2 , argumentList);
7214+ bool returnValue;
7215+ void * args[2 ] = {NULL , (void *)&permissionSpec};
7216+ PyObject* result = PythonQtSignalTarget::call (obj, methodInfo, args, true );
7217+ if (result) {
7218+ args[0 ] = PythonQtConv::ConvertPythonToQt (methodInfo->parameters ().at (0 ), result, false , NULL , &returnValue);
7219+ if (args[0 ]!=&returnValue) {
7220+ if (args[0 ]==NULL ) {
7221+ PythonQt::priv ()->handleVirtualOverloadReturnError (" setPermissions" , methodInfo, result);
7222+ } else {
7223+ returnValue = *((bool *)args[0 ]);
7224+ }
7225+ }
7226+ }
7227+ if (result) { Py_DECREF (result); }
7228+ Py_DECREF (obj);
7229+ return returnValue;
7230+ } else {
7231+ PyErr_Clear ();
7232+ }
7233+ }
7234+ return QFileDevice::setPermissions (permissionSpec);
7235+ }
72327236qint64 PythonQtShell_QFileDevice::size () const
72337237{
72347238if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0 )) {
@@ -7408,6 +7412,11 @@ uchar* PythonQtWrapper_QFileDevice::map(QFileDevice* theWrappedObject, qint64
74087412 return ( theWrappedObject->map (offset, size, flags));
74097413}
74107414
7415+ QFileDevice::Permissions PythonQtWrapper_QFileDevice::permissions (QFileDevice* theWrappedObject) const
7416+ {
7417+ return ( ((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->promoted_permissions ());
7418+ }
7419+
74117420qint64 PythonQtWrapper_QFileDevice::pos (QFileDevice* theWrappedObject) const
74127421{
74137422 return ( ((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->promoted_pos ());
@@ -7433,6 +7442,11 @@ bool PythonQtWrapper_QFileDevice::seek(QFileDevice* theWrappedObject, qint64 o
74337442 return ( ((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->promoted_seek (offset));
74347443}
74357444
7445+ bool PythonQtWrapper_QFileDevice::setPermissions (QFileDevice* theWrappedObject, QFileDevice::Permissions permissionSpec)
7446+ {
7447+ return ( ((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->promoted_setPermissions (permissionSpec));
7448+ }
7449+
74367450qint64 PythonQtWrapper_QFileDevice::size (QFileDevice* theWrappedObject) const
74377451{
74387452 return ( ((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->promoted_size ());
0 commit comments