aboutsummaryrefslogtreecommitdiffstats
path: root/libpyside/pyside.cpp
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-08-10 18:00:58 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:54:43 -0300
commitb633bd4c2e575ff6101f2ae9ae39e192bad7fcb4 (patch)
tree5eef57515002a6317c3219df3af0fc2cecb42484 /libpyside/pyside.cpp
parenta87d1142102d5bde730dd1186838227a9e003fc8 (diff)
Deprecated functions marked as deprecated.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'libpyside/pyside.cpp')
-rw-r--r--libpyside/pyside.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpyside/pyside.cpp b/libpyside/pyside.cpp
index 45ada8f47..0eb1e7a55 100644
--- a/libpyside/pyside.cpp
+++ b/libpyside/pyside.cpp
@@ -80,7 +80,7 @@ bool fillQtProperties(PyObject* qObj, const QMetaObject* metaObj, PyObject* kwds
Shiboken::AutoDecRef retval(PyObject_CallObject(propSetter, args));
} else {
PyObject* attr = PyObject_GenericGetAttr(qObj, key);
- if (PySide::Property::isPropertyType(attr))
+ if (PySide::Property::checkType(attr))
PySide::Property::setValue(reinterpret_cast<PySideProperty*>(attr), qObj, value);
}
} else {
@@ -216,7 +216,7 @@ PyObject* getMetaDataFromQObject(QObject* cppSelf, PyObject* self, PyObject* nam
if (!Shiboken::Object::isValid(reinterpret_cast<SbkObject*>(self), false))
return attr;
- if (attr && Property::isPropertyType(attr)) {
+ if (attr && Property::checkType(attr)) {
PyObject *value = Property::getValue(reinterpret_cast<PySideProperty*>(attr), self);
Py_DECREF(attr);
if (!value)