summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-10-10 15:01:38 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2011-10-10 16:54:59 -0300
commit81a4cb22766a8bc7ff4a48122e63caad5500ae69 (patch)
treeda0560637b3d34a2d361b2b36c1e724a7c8102f5
parentec04e5e9654ba96fc232b32167d1dbcb86649d65 (diff)
downloadpyside-81a4cb22766a8bc7ff4a48122e63caad5500ae69.tar.gz
pyside-81a4cb22766a8bc7ff4a48122e63caad5500ae69.tar.xz
pyside-81a4cb22766a8bc7ff4a48122e63caad5500ae69.zip
Use sbkpython.h instead of Python.h to avoid problems with Python2.5.
Reviewer: Lauro Moura <lauro.neto@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
-rw-r--r--libpyside/destroylistener.cpp2
-rw-r--r--libpyside/dynamicqmetaobject.h2
-rw-r--r--libpyside/dynamicqmetaobject_p.h2
-rw-r--r--libpyside/globalreceiver.h2
-rw-r--r--libpyside/globalreceiverv2.h2
-rw-r--r--libpyside/pyside.h2
-rw-r--r--libpyside/pysideclassinfo.cpp2
-rw-r--r--libpyside/pysideclassinfo.h2
-rw-r--r--libpyside/pysideclassinfo_p.h2
-rw-r--r--libpyside/pysideconversions.h2
-rw-r--r--libpyside/pysidemetafunction.cpp2
-rw-r--r--libpyside/pysidemetafunction.h2
-rw-r--r--libpyside/pysidemetafunction_p.h2
-rw-r--r--libpyside/pysideproperty.cpp2
-rw-r--r--libpyside/pysideproperty.h2
-rw-r--r--libpyside/pysideproperty_p.h2
-rw-r--r--libpyside/pysideqflags.h2
-rw-r--r--libpyside/pysidesignal.cpp2
-rw-r--r--libpyside/pysidesignal.h2
-rw-r--r--libpyside/pysidesignal_p.h2
-rw-r--r--libpyside/pysideslot_p.h2
-rw-r--r--libpyside/pysideweakref.cpp2
-rw-r--r--libpyside/pysideweakref.h2
-rw-r--r--libpyside/signalmanager.h2
24 files changed, 24 insertions, 24 deletions
diff --git a/libpyside/destroylistener.cpp b/libpyside/destroylistener.cpp
index d70530d..b0f191d 100644
--- a/libpyside/destroylistener.cpp
+++ b/libpyside/destroylistener.cpp
@@ -1,4 +1,4 @@
-#include <Python.h>
+#include <sbkpython.h>
#include "destroylistener.h"
#include <QObject>
diff --git a/libpyside/dynamicqmetaobject.h b/libpyside/dynamicqmetaobject.h
index 3fbeffc..c0efdb8 100644
--- a/libpyside/dynamicqmetaobject.h
+++ b/libpyside/dynamicqmetaobject.h
@@ -24,7 +24,7 @@
#define DYNAMICQMETAOBJECT_H
#include "pysidemacros.h"
-#include <Python.h>
+#include <sbkpython.h>
#include <QMetaObject>
#include <QMetaMethod>
diff --git a/libpyside/dynamicqmetaobject_p.h b/libpyside/dynamicqmetaobject_p.h
index a4a17a1..0c99a2a 100644
--- a/libpyside/dynamicqmetaobject_p.h
+++ b/libpyside/dynamicqmetaobject_p.h
@@ -23,7 +23,7 @@
#ifndef DYNAMICMETAPROPERTY_P_H
#define DYNAMICMETAPROPERTY_P_H
-#include <Python.h>
+#include <sbkpython.h>
#include <QByteArray>
#include <QMetaMethod>
diff --git a/libpyside/globalreceiver.h b/libpyside/globalreceiver.h
index 4eb2b9a..0bec1ae 100644
--- a/libpyside/globalreceiver.h
+++ b/libpyside/globalreceiver.h
@@ -23,7 +23,7 @@
#ifndef GLOBALRECEIVER_H
#define GLOBALRECEIVER_H
-#include <Python.h>
+#include <sbkpython.h>
#include <QObject>
#include <QHash>
#include <QSet>
diff --git a/libpyside/globalreceiverv2.h b/libpyside/globalreceiverv2.h
index 28f4703..f22884a 100644
--- a/libpyside/globalreceiverv2.h
+++ b/libpyside/globalreceiverv2.h
@@ -23,7 +23,7 @@
#ifndef GLOBALRECEIVER_V2_H
#define GLOBALRECEIVER_V2_H
-#include <Python.h>
+#include <sbkpython.h>
#include <QObject>
#include <QHash>
#include <QSet>
diff --git a/libpyside/pyside.h b/libpyside/pyside.h
index 14987ac..779c630 100644
--- a/libpyside/pyside.h
+++ b/libpyside/pyside.h
@@ -23,7 +23,7 @@
#ifndef PYSIDE_H
#define PYSIDE_H
-#include <Python.h>
+#include <sbkpython.h>
#include <pysidemacros.h>
#include <QMetaType>
#include <QHash>
diff --git a/libpyside/pysideclassinfo.cpp b/libpyside/pysideclassinfo.cpp
index 0bd65e4..a1a439c 100644
--- a/libpyside/pysideclassinfo.cpp
+++ b/libpyside/pysideclassinfo.cpp
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <Python.h>
+#include <sbkpython.h>
#include "pysideclassinfo.h"
#include "pysideclassinfo_p.h"
#include "dynamicqmetaobject.h"
diff --git a/libpyside/pysideclassinfo.h b/libpyside/pysideclassinfo.h
index e13049e..ac3e239 100644
--- a/libpyside/pysideclassinfo.h
+++ b/libpyside/pysideclassinfo.h
@@ -24,7 +24,7 @@
#define PYSIDE_CLASSINFO_H
#include <pysidemacros.h>
-#include <Python.h>
+#include <sbkpython.h>
#include <QMap>
#include <QByteArray>
diff --git a/libpyside/pysideclassinfo_p.h b/libpyside/pysideclassinfo_p.h
index 3b96342..773725c 100644
--- a/libpyside/pysideclassinfo_p.h
+++ b/libpyside/pysideclassinfo_p.h
@@ -23,7 +23,7 @@
#ifndef PYSIDE_CLASSINFO_P_H
#define PYSIDE_CLASSINFO_P_H
-#include <Python.h>
+#include <sbkpython.h>
#include <QMetaObject>
#include "pysideclassinfo.h"
diff --git a/libpyside/pysideconversions.h b/libpyside/pysideconversions.h
index 859868c..fa82381 100644
--- a/libpyside/pysideconversions.h
+++ b/libpyside/pysideconversions.h
@@ -23,7 +23,7 @@
#ifndef PYSIDECONVERSIONS_H
#define PYSIDECONVERSIONS_H
-#include <Python.h>
+#include <sbkpython.h>
#include <QFlag>
#include <conversions.h>
#include <pysideqflags.h>
diff --git a/libpyside/pysidemetafunction.cpp b/libpyside/pysidemetafunction.cpp
index 46e20dc..9338f8e 100644
--- a/libpyside/pysidemetafunction.cpp
+++ b/libpyside/pysidemetafunction.cpp
@@ -19,7 +19,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <Python.h>
+#include <sbkpython.h>
#include "pysidemetafunction.h"
#include <shiboken.h>
diff --git a/libpyside/pysidemetafunction.h b/libpyside/pysidemetafunction.h
index 0d4e16f..740cfdc 100644
--- a/libpyside/pysidemetafunction.h
+++ b/libpyside/pysidemetafunction.h
@@ -28,7 +28,7 @@
#include <QStringList>
#include <pysidemacros.h>
-#include <Python.h>
+#include <sbkpython.h>
extern "C"
{
diff --git a/libpyside/pysidemetafunction_p.h b/libpyside/pysidemetafunction_p.h
index 808714e..ebbf424 100644
--- a/libpyside/pysidemetafunction_p.h
+++ b/libpyside/pysidemetafunction_p.h
@@ -23,7 +23,7 @@
#ifndef PYSIDE_METAFUNCTION_P_H
#define PYSIDE_METAFUNCTION_P_H
-#include <Python.h>
+#include <sbkpython.h>
namespace PySide { namespace MetaFunction {
diff --git a/libpyside/pysideproperty.cpp b/libpyside/pysideproperty.cpp
index ef09519..4d253e8 100644
--- a/libpyside/pysideproperty.cpp
+++ b/libpyside/pysideproperty.cpp
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <Python.h>
+#include <sbkpython.h>
#include "pysideproperty.h"
#include "pysideproperty_p.h"
#include "dynamicqmetaobject_p.h"
diff --git a/libpyside/pysideproperty.h b/libpyside/pysideproperty.h
index 21be988..ad6b209 100644
--- a/libpyside/pysideproperty.h
+++ b/libpyside/pysideproperty.h
@@ -24,7 +24,7 @@
#define PYSIDE_PROPERTY_H
#include <pysidemacros.h>
-#include <Python.h>
+#include <sbkpython.h>
#include <QObject>
extern "C"
diff --git a/libpyside/pysideproperty_p.h b/libpyside/pysideproperty_p.h
index 5cef5da..84589e8 100644
--- a/libpyside/pysideproperty_p.h
+++ b/libpyside/pysideproperty_p.h
@@ -23,7 +23,7 @@
#ifndef PYSIDE_QPROPERTY_P_H
#define PYSIDE_QPROPERTY_P_H
-#include <Python.h>
+#include <sbkpython.h>
#include <QMetaObject>
#include "pysideproperty.h"
diff --git a/libpyside/pysideqflags.h b/libpyside/pysideqflags.h
index 4f30c03..6eb91d3 100644
--- a/libpyside/pysideqflags.h
+++ b/libpyside/pysideqflags.h
@@ -23,7 +23,7 @@
#ifndef PYSIDE_QFLAGS_H
#define PYSIDE_QFLAGS_H
-#include <Python.h>
+#include <sbkpython.h>
#include <pysidemacros.h>
diff --git a/libpyside/pysidesignal.cpp b/libpyside/pysidesignal.cpp
index 7b92493..e3a2103 100644
--- a/libpyside/pysidesignal.cpp
+++ b/libpyside/pysidesignal.cpp
@@ -19,7 +19,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <Python.h>
+#include <sbkpython.h>
#include "pysidesignal.h"
#include "pysidesignal_p.h"
#include "signalmanager.h"
diff --git a/libpyside/pysidesignal.h b/libpyside/pysidesignal.h
index a3f2395..314949f 100644
--- a/libpyside/pysidesignal.h
+++ b/libpyside/pysidesignal.h
@@ -28,7 +28,7 @@
#include <QStringList>
#include <pysidemacros.h>
-#include <Python.h>
+#include <sbkpython.h>
#include <basewrapper.h>
extern "C"
diff --git a/libpyside/pysidesignal_p.h b/libpyside/pysidesignal_p.h
index d13e47e..083516f 100644
--- a/libpyside/pysidesignal_p.h
+++ b/libpyside/pysidesignal_p.h
@@ -23,7 +23,7 @@
#ifndef PYSIDE_QSIGNAL_P_H
#define PYSIDE_QSIGNAL_P_H
-#include <Python.h>
+#include <sbkpython.h>
extern "C"
{
diff --git a/libpyside/pysideslot_p.h b/libpyside/pysideslot_p.h
index 1e863d2..ed5b3c5 100644
--- a/libpyside/pysideslot_p.h
+++ b/libpyside/pysideslot_p.h
@@ -22,7 +22,7 @@
#ifndef PYSIDE_SLOT_P_H
#define PYSIDE_SLOT_P_H
-#include <Python.h>
+#include <sbkpython.h>
#define PYSIDE_SLOT_LIST_ATTR "_slots"
namespace PySide { namespace Slot {
diff --git a/libpyside/pysideweakref.cpp b/libpyside/pysideweakref.cpp
index 195206a..3f4dfd7 100644
--- a/libpyside/pysideweakref.cpp
+++ b/libpyside/pysideweakref.cpp
@@ -1,6 +1,6 @@
#include "pysideweakref.h"
-#include <Python.h>
+#include <sbkpython.h>
typedef struct {
PyObject_HEAD
diff --git a/libpyside/pysideweakref.h b/libpyside/pysideweakref.h
index 7bc4ddf..03eabd8 100644
--- a/libpyside/pysideweakref.h
+++ b/libpyside/pysideweakref.h
@@ -2,7 +2,7 @@
#define __PYSIDEWEAKREF__
#include <pysidemacros.h>
-#include <Python.h>
+#include <sbkpython.h>
typedef void (*PySideWeakRefFunction)(void* userData);
diff --git a/libpyside/signalmanager.h b/libpyside/signalmanager.h
index 744cf9e..a464e99 100644
--- a/libpyside/signalmanager.h
+++ b/libpyside/signalmanager.h
@@ -24,7 +24,7 @@
#define SIGNALMANAGER_H
#include "pysidemacros.h"
-#include <Python.h>
+#include <sbkpython.h>
#include <Qt>
#include <QStringList>
#include <QMetaMethod>