diff options
author | Renato Araujo Oliveira Filho <renato.filho@openbossa.org> | 2010-12-15 17:52:29 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:47:58 -0300 |
commit | 22b74854195c888b82b1f246d87e16ea18b2c978 (patch) | |
tree | 9f10603159dce14365142e3613d9dacb2489c34a /libpyside/pyside.h | |
parent | 0229e5413b18df40d76d152074e24a548fdbab69 (diff) |
Created function used in PyObject getAttro.
Moved the code generated to a function in libpyside.
Create unit test for bug #525.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'libpyside/pyside.h')
-rw-r--r-- | libpyside/pyside.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libpyside/pyside.h b/libpyside/pyside.h index d84040d55..fae1b420f 100644 --- a/libpyside/pyside.h +++ b/libpyside/pyside.h @@ -93,6 +93,15 @@ PYSIDE_API void runCleanupFunctions(); */ PYSIDE_API void destroyQCoreApplication(); +/** + * Check for properties and signals registered on MetaObject and return these + * \param cppSelf Is the QObject which contains the metaobject + * \param self Python object of cppSelf + * \param name Name of the argument which the function will try retrieve from MetaData + * \return The Python object which contains the Data obtained in metaObject or the Python attribute related with name + */ +PYSIDE_API PyObject* getMetaDataFromQObject(QObject* cppSelf, PyObject* self, PyObject* name); + } //namespace PySide |