Created utility function to call a python method usign args received in

qt_metacall.

Reviewed by: Hugo Parente <hugo.lima@openbossa.org>
             Luciano Wolf <luciano.wolf@openbossa.org>
This commit is contained in:
Renato Filho 2011-08-26 15:38:23 -03:00 • committed by Hugo Parente Lima
commit d5b645d3ab
3 changed files with 140 additions and 130 deletions

View file

@ -79,6 +79,8 @@ public:
// Disconnect all signals managed by Globalreceiver
void clear();
// Utility function to call a python method usign args received in qt_metacall
static int callPythonMetaMethod(const QMetaMethod& method, void** args, PyObject* obj, bool isShortCuit);
PYSIDE_DEPRECATED(QObject* globalReceiver());
PYSIDE_DEPRECATED(void addGlobalSlot(const char* slot, PyObject* callback));