~ubuntu-branches/ubuntu/natty/pyside/natty

« back to all changes in this revision

Viewing changes to libpyside/pyside.h

  • Committer: Bazaar Package Importer
  • Author(s): Didier Raboud
  • Date: 2011-02-18 18:01:00 UTC
  • mfrom: (1.2.3 upstream) (6.1.6 experimental)
  • Revision ID: james.westby@ubuntu.com-20110218180100-vaczjij7g08fzfme
Tags: 1.0.0~rc1-1
* New 1.0.0~rc1 upstream release
  - Bump the B-D chain versions:
    + apiextractor to 0.10.0-2~
    + generatorrunner to 0.6.6
    + shiboken to 1.0.0~rc1
* Update patches to ~rc1.
* debian/watch: update to handle Release Candidates too.
* Bump XS-Python-Version to >= 2.6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
#include <QHash>
30
30
#include <QList>
31
31
 
 
32
class SbkObjectType;
 
33
 
32
34
namespace PySide
33
35
{
34
36
 
75
77
struct initQtMetaType<T, false> {
76
78
};
77
79
 
 
80
PYSIDE_API void initDynamicMetaObject(SbkObjectType* type, const QMetaObject* base);
 
81
PYSIDE_API void initQObjectSubType(SbkObjectType* type, PyObject* args, PyObject* kwds);
78
82
 
79
83
typedef void (*CleanupFunction)(void);
80
84
 
84
88
PYSIDE_API void registerCleanupFunction(CleanupFunction func);
85
89
PYSIDE_API void runCleanupFunctions();
86
90
 
 
91
/**
 
92
 * Destroy a QCoreApplication taking care of destroy all instances of QObject first.
 
93
 */
 
94
PYSIDE_API void destroyQCoreApplication();
 
95
 
 
96
/**
 
97
 * Check for properties and signals registered on MetaObject and return these
 
98
 * \param cppSelf Is the QObject which contains the metaobject
 
99
 * \param self Python object of cppSelf
 
100
 * \param name Name of the argument which the function will try retrieve from MetaData
 
101
 * \return The Python object which contains the Data obtained in metaObject or the Python attribute related with name
 
102
 */
 
103
PYSIDE_API PyObject* getMetaDataFromQObject(QObject* cppSelf, PyObject* self, PyObject* name);
 
104
 
87
105
} //namespace PySide
88
106
 
89
107