summaryrefslogtreecommitdiffstats
path: root/PySide
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-10-06 18:19:42 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2010-10-07 11:44:07 -0300
commita43eafaae46060adfc6e0f15fb14b56c6c887494 (patch)
tree5dcd1ef9e57ba14964931419237807daf25e890e /PySide
parent1a10971865153e252d99b19018b5f2444e06a0eb (diff)
downloadpyside-a43eafaae46060adfc6e0f15fb14b56c6c887494.tar.gz
pyside-a43eafaae46060adfc6e0f15fb14b56c6c887494.tar.xz
pyside-a43eafaae46060adfc6e0f15fb14b56c6c887494.zip
Don't export symbols that don't need to be exported and rename many functions.
Diffstat (limited to 'PySide')
-rw-r--r--PySide/QtCore/typesystem_core.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index 37decba..d6fe524 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -1793,7 +1793,7 @@
<!-- Second argument is a PySide.QtCore.Signal. See bug #362. -->
<add-function signature="singleShot(int, PyObject*)" static="yes">
<inject-code class="target" position="beginning">
- if (!PyObject_TypeCheck(%2, &amp;PySide::SignalInstance_Type))
+ if (!PyObject_TypeCheck(%2, &amp;PySideSignalInstanceType))
goto Sbk%TYPEFunc_%FUNCTION_NAME_TypeError;
// %FUNCTION_NAME() - disable generation of c++ function call
@@ -1803,7 +1803,7 @@
QTimer* timer = Converter&lt;QTimer*>::toCpp(pyTimer);
timer->setSingleShot(true);
timer->connect(timer, SIGNAL(timeout()), timer, SLOT(deleteLater()));
- PySide::SignalInstanceData* signalInstance = reinterpret_cast&lt;PySide::SignalInstanceData*&gt;(%2);
+ PySideSignalInstanceData* signalInstance = reinterpret_cast&lt;PySideSignalInstanceData*&gt;(%2);
Shiboken::AutoDecRef signalSignature(PyString_FromFormat("2%s", signalInstance->signature));
Shiboken::AutoDecRef result(
PyObject_CallMethod(pyTimer,
@@ -2498,9 +2498,9 @@
// since it refers to a name very tied to the generator implementation.
// Check bug #362 for more information on this
// http://bugs.openbossa.org/show_bug.cgi?id=362
- if (!PyObject_TypeCheck(%1, &amp;PySide::SignalInstance_Type))
+ if (!PyObject_TypeCheck(%1, &amp;PySideSignalInstanceType))
goto Sbk%TYPEFunc_%FUNCTION_NAME_TypeError;
- PySide::SignalInstanceData* signalInstance = reinterpret_cast&lt;PySide::SignalInstanceData*&gt;(%1);
+ PySideSignalInstanceData* signalInstance = reinterpret_cast&lt;PySideSignalInstanceData*&gt;(%1);
QObject* sender = %CONVERTTOCPP[QObject*](signalInstance->source);
%PYARG_0 = %CONVERTTOPYTHON[QSignalTransition*](%CPPSELF->%FUNCTION_NAME(sender, signalInstance->signature, %2));
</inject-code>