@@ -277,6 +277,11 @@ QAbstractAnimation::Direction PythonQtWrapper_QAbstractAnimation::direction(QAb
277
277
return ( theWrappedObject->direction ());
278
278
}
279
279
280
+ int PythonQtWrapper_QAbstractAnimation::duration (QAbstractAnimation* theWrappedObject) const
281
+ {
282
+ return ( ((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->promoted_duration ());
283
+ }
284
+
280
285
bool PythonQtWrapper_QAbstractAnimation::event (QAbstractAnimation* theWrappedObject, QEvent* event)
281
286
{
282
287
return ( ((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->promoted_event (event));
@@ -312,6 +317,11 @@ int PythonQtWrapper_QAbstractAnimation::totalDuration(QAbstractAnimation* theWr
312
317
return ( theWrappedObject->totalDuration ());
313
318
}
314
319
320
+ void PythonQtWrapper_QAbstractAnimation::updateCurrentTime (QAbstractAnimation* theWrappedObject, int currentTime)
321
+ {
322
+ ( ((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->promoted_updateCurrentTime (currentTime));
323
+ }
324
+
315
325
void PythonQtWrapper_QAbstractAnimation::updateDirection (QAbstractAnimation* theWrappedObject, QAbstractAnimation::Direction direction)
316
326
{
317
327
( ((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->promoted_updateDirection (direction));
@@ -1496,6 +1506,11 @@ void PythonQtWrapper_QAbstractItemModel::changePersistentIndexList(QAbstractItem
1496
1506
( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_changePersistentIndexList (from, to));
1497
1507
}
1498
1508
1509
+ int PythonQtWrapper_QAbstractItemModel::columnCount (QAbstractItemModel* theWrappedObject, const QModelIndex& parent) const
1510
+ {
1511
+ return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_columnCount (parent));
1512
+ }
1513
+
1499
1514
QModelIndex PythonQtWrapper_QAbstractItemModel::createIndex (QAbstractItemModel* theWrappedObject, int row, int column, quintptr id) const
1500
1515
{
1501
1516
return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_createIndex (row, column, id));
@@ -1506,6 +1521,11 @@ QModelIndex PythonQtWrapper_QAbstractItemModel::createIndex(QAbstractItemModel*
1506
1521
return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_createIndex (row, column, data));
1507
1522
}
1508
1523
1524
+ QVariant PythonQtWrapper_QAbstractItemModel::data (QAbstractItemModel* theWrappedObject, const QModelIndex& index, int role) const
1525
+ {
1526
+ return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_data (index , role));
1527
+ }
1528
+
1509
1529
bool PythonQtWrapper_QAbstractItemModel::decodeData (QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& parent, QDataStream& stream)
1510
1530
{
1511
1531
return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_decodeData (row, column, parent, stream));
@@ -1581,6 +1601,11 @@ QVariant PythonQtWrapper_QAbstractItemModel::headerData(QAbstractItemModel* the
1581
1601
return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_headerData (section, orientation, role));
1582
1602
}
1583
1603
1604
+ QModelIndex PythonQtWrapper_QAbstractItemModel::index (QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& parent) const
1605
+ {
1606
+ return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_index (row, column, parent));
1607
+ }
1608
+
1584
1609
bool PythonQtWrapper_QAbstractItemModel::insertColumn (QAbstractItemModel* theWrappedObject, int column, const QModelIndex& parent)
1585
1610
{
1586
1611
return ( theWrappedObject->insertColumn (column, parent));
@@ -1611,7 +1636,7 @@ QList<QModelIndex > PythonQtWrapper_QAbstractItemModel::match(QAbstractItemMode
1611
1636
return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_match (start, role, value, hits, flags));
1612
1637
}
1613
1638
1614
- QMimeData* PythonQtWrapper_QAbstractItemModel::mimeData (QAbstractItemModel* theWrappedObject, const QList<QModelIndex >& indexes) const
1639
+ PythonQtPassOwnershipToPython< QMimeData* > PythonQtWrapper_QAbstractItemModel::mimeData (QAbstractItemModel* theWrappedObject, const QList<QModelIndex >& indexes) const
1615
1640
{
1616
1641
return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_mimeData (indexes));
1617
1642
}
@@ -1646,6 +1671,11 @@ QObject* PythonQtWrapper_QAbstractItemModel::parent(QAbstractItemModel* theWrap
1646
1671
return ( theWrappedObject->parent ());
1647
1672
}
1648
1673
1674
+ QModelIndex PythonQtWrapper_QAbstractItemModel::parent (QAbstractItemModel* theWrappedObject, const QModelIndex& child) const
1675
+ {
1676
+ return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_parent (child));
1677
+ }
1678
+
1649
1679
QList<QModelIndex > PythonQtWrapper_QAbstractItemModel::persistentIndexList (QAbstractItemModel* theWrappedObject) const
1650
1680
{
1651
1681
return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_persistentIndexList ());
@@ -1681,6 +1711,11 @@ QHash<int , QByteArray > PythonQtWrapper_QAbstractItemModel::roleNames(QAbstrac
1681
1711
return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_roleNames ());
1682
1712
}
1683
1713
1714
+ int PythonQtWrapper_QAbstractItemModel::rowCount (QAbstractItemModel* theWrappedObject, const QModelIndex& parent) const
1715
+ {
1716
+ return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_rowCount (parent));
1717
+ }
1718
+
1684
1719
bool PythonQtWrapper_QAbstractItemModel::setData (QAbstractItemModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role)
1685
1720
{
1686
1721
return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_setData (index , value, role));
@@ -2931,6 +2966,10 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
2931
2966
}
2932
2967
QAbstractState::timerEvent (arg__1);
2933
2968
}
2969
+ QAbstractState* PythonQtWrapper_QAbstractState::new_QAbstractState (QState* parent)
2970
+ {
2971
+ return new PythonQtShell_QAbstractState (parent); }
2972
+
2934
2973
bool PythonQtWrapper_QAbstractState::event (QAbstractState* theWrappedObject, QEvent* e)
2935
2974
{
2936
2975
return ( ((PythonQtPublicPromoter_QAbstractState*)theWrappedObject)->promoted_event (e));
@@ -2941,6 +2980,16 @@ QStateMachine* PythonQtWrapper_QAbstractState::machine(QAbstractState* theWrapp
2941
2980
return ( theWrappedObject->machine ());
2942
2981
}
2943
2982
2983
+ void PythonQtWrapper_QAbstractState::onEntry (QAbstractState* theWrappedObject, QEvent* event)
2984
+ {
2985
+ ( ((PythonQtPublicPromoter_QAbstractState*)theWrappedObject)->promoted_onEntry (event));
2986
+ }
2987
+
2988
+ void PythonQtWrapper_QAbstractState::onExit (QAbstractState* theWrappedObject, QEvent* event)
2989
+ {
2990
+ ( ((PythonQtPublicPromoter_QAbstractState*)theWrappedObject)->promoted_onExit (event));
2991
+ }
2992
+
2944
2993
QState* PythonQtWrapper_QAbstractState::parentState (QAbstractState* theWrappedObject) const
2945
2994
{
2946
2995
return ( theWrappedObject->parentState ());
@@ -3137,11 +3186,21 @@ bool PythonQtWrapper_QAbstractTransition::event(QAbstractTransition* theWrapped
3137
3186
return ( ((PythonQtPublicPromoter_QAbstractTransition*)theWrappedObject)->promoted_event (e));
3138
3187
}
3139
3188
3189
+ bool PythonQtWrapper_QAbstractTransition::eventTest (QAbstractTransition* theWrappedObject, QEvent* event)
3190
+ {
3191
+ return ( ((PythonQtPublicPromoter_QAbstractTransition*)theWrappedObject)->promoted_eventTest (event));
3192
+ }
3193
+
3140
3194
QStateMachine* PythonQtWrapper_QAbstractTransition::machine (QAbstractTransition* theWrappedObject) const
3141
3195
{
3142
3196
return ( theWrappedObject->machine ());
3143
3197
}
3144
3198
3199
+ void PythonQtWrapper_QAbstractTransition::onTransition (QAbstractTransition* theWrappedObject, QEvent* event)
3200
+ {
3201
+ ( ((PythonQtPublicPromoter_QAbstractTransition*)theWrappedObject)->promoted_onTransition (event));
3202
+ }
3203
+
3145
3204
void PythonQtWrapper_QAbstractTransition::removeAnimation (QAbstractTransition* theWrappedObject, QAbstractAnimation* animation)
3146
3205
{
3147
3206
( theWrappedObject->removeAnimation (animation));
@@ -3386,7 +3445,7 @@ QAnimationGroup* PythonQtWrapper_QAnimationGroup::new_QAnimationGroup(QObject*
3386
3445
{
3387
3446
return new PythonQtShell_QAnimationGroup (parent); }
3388
3447
3389
- void PythonQtWrapper_QAnimationGroup::addAnimation (QAnimationGroup* theWrappedObject, QAbstractAnimation* animation)
3448
+ void PythonQtWrapper_QAnimationGroup::addAnimation (QAnimationGroup* theWrappedObject, PythonQtPassOwnershipToCPP< QAbstractAnimation* > animation)
3390
3449
{
3391
3450
( theWrappedObject->addAnimation (animation));
3392
3451
}
@@ -3416,17 +3475,17 @@ int PythonQtWrapper_QAnimationGroup::indexOfAnimation(QAnimationGroup* theWrapp
3416
3475
return ( theWrappedObject->indexOfAnimation (animation));
3417
3476
}
3418
3477
3419
- void PythonQtWrapper_QAnimationGroup::insertAnimation (QAnimationGroup* theWrappedObject, int index, QAbstractAnimation* animation)
3478
+ void PythonQtWrapper_QAnimationGroup::insertAnimation (QAnimationGroup* theWrappedObject, int index, PythonQtPassOwnershipToCPP< QAbstractAnimation* > animation)
3420
3479
{
3421
3480
( theWrappedObject->insertAnimation (index , animation));
3422
3481
}
3423
3482
3424
- void PythonQtWrapper_QAnimationGroup::removeAnimation (QAnimationGroup* theWrappedObject, QAbstractAnimation* animation)
3483
+ void PythonQtWrapper_QAnimationGroup::removeAnimation (QAnimationGroup* theWrappedObject, PythonQtPassOwnershipToPython< QAbstractAnimation* > animation)
3425
3484
{
3426
3485
( theWrappedObject->removeAnimation (animation));
3427
3486
}
3428
3487
3429
- QAbstractAnimation* PythonQtWrapper_QAnimationGroup::takeAnimation (QAnimationGroup* theWrappedObject, int index)
3488
+ PythonQtPassOwnershipToPython< QAbstractAnimation* > PythonQtWrapper_QAnimationGroup::takeAnimation (QAnimationGroup* theWrappedObject, int index)
3430
3489
{
3431
3490
return ( theWrappedObject->takeAnimation (index ));
3432
3491
}
@@ -4648,7 +4707,7 @@ QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_organizationN
4648
4707
return (QCoreApplication::organizationName ());
4649
4708
}
4650
4709
4651
- void PythonQtWrapper_QCoreApplication::static_QCoreApplication_postEvent (QObject* receiver, QEvent* event, int priority)
4710
+ void PythonQtWrapper_QCoreApplication::static_QCoreApplication_postEvent (QObject* receiver, PythonQtPassOwnershipToCPP< QEvent* > event, int priority)
4652
4711
{
4653
4712
(QCoreApplication::postEvent (receiver, event, priority));
4654
4713
}
@@ -5922,6 +5981,11 @@ QFactoryInterface* PythonQtWrapper_QFactoryInterface::new_QFactoryInterface()
5922
5981
{
5923
5982
return new PythonQtShell_QFactoryInterface (); }
5924
5983
5984
+ QStringList PythonQtWrapper_QFactoryInterface::keys (QFactoryInterface* theWrappedObject) const
5985
+ {
5986
+ return ( ((PythonQtPublicPromoter_QFactoryInterface*)theWrappedObject)->promoted_keys ());
5987
+ }
5988
+
5925
5989
5926
5990
5927
5991
PythonQtShell_QFile::~PythonQtShell_QFile () {
@@ -7487,6 +7551,14 @@ if (_wrapper && (((PyObject*)_wrapper)->ob_refcnt > 0)) {
7487
7551
}
7488
7552
return QFileDevice::writeData (data0, len1);
7489
7553
}
7554
+ QFileDevice* PythonQtWrapper_QFileDevice::new_QFileDevice ()
7555
+ {
7556
+ return new PythonQtShell_QFileDevice (); }
7557
+
7558
+ QFileDevice* PythonQtWrapper_QFileDevice::new_QFileDevice (QObject* parent)
7559
+ {
7560
+ return new PythonQtShell_QFileDevice (parent); }
7561
+
7490
7562
bool PythonQtWrapper_QFileDevice::atEnd (QFileDevice* theWrappedObject) const
7491
7563
{
7492
7564
return ( ((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->promoted_atEnd ());
0 commit comments