Fixes custom code for QTabWidget.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
This commit is contained in:
parent
1b27bad2b2
commit
9f2f97de73
1 changed files with 2 additions and 2 deletions
|
|
@ -3439,7 +3439,7 @@
|
||||||
<inject-code class="target" position="beginning">
|
<inject-code class="target" position="beginning">
|
||||||
QWidget* tab = %CPPSELF.widget(%1);
|
QWidget* tab = %CPPSELF.widget(%1);
|
||||||
if (tab) {
|
if (tab) {
|
||||||
Shiboken::AutoDecref pyWidget(%CONVERTTOPYTHON[QWidget*](tab));
|
Shiboken::AutoDecRef pyWidget(%CONVERTTOPYTHON[QWidget*](tab));
|
||||||
Shiboken::setParent(0, pyWidget);
|
Shiboken::setParent(0, pyWidget);
|
||||||
%CPPSELF.%FUNCTION_NAME(%1);
|
%CPPSELF.%FUNCTION_NAME(%1);
|
||||||
}
|
}
|
||||||
|
|
@ -4257,7 +4257,7 @@
|
||||||
<modify-function signature="QAction(const QString&, QObject*)" access="private" />
|
<modify-function signature="QAction(const QString&, QObject*)" access="private" />
|
||||||
<add-function signature="QAction(const QString&, QObject*, const QKeySequence&, PyObject*)">
|
<add-function signature="QAction(const QString&, QObject*, const QKeySequence&, PyObject*)">
|
||||||
|
|
||||||
<!-- NOT use this for now Fix bug #???
|
<!-- NOT use this for now Fix bug #???
|
||||||
<modify-argument index="2">
|
<modify-argument index="2">
|
||||||
<replace-default-expression with="0"/>
|
<replace-default-expression with="0"/>
|
||||||
<rename to="parent"/>
|
<rename to="parent"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue