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>
This commit is contained in:
parent
0229e5413b
commit
22b7485419
4 changed files with 81 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue