Unify the code used to do QObject meta calls.

This commit is contained in:
Hugo Parente Lima 2011-10-26 20:17:56 -02:00
commit 67d6455fa5
3 changed files with 97 additions and 110 deletions

View file

@ -24,10 +24,18 @@
#define PYSIDE_METAFUNCTION_P_H
#include <sbkpython.h>
#include <QList>
#include <QByteArray>
class QObject;
namespace PySide { namespace MetaFunction {
void init(PyObject* module);
void init(PyObject* module);
/**
* Does a Qt metacall on a QObject
*/
bool call(QObject* self, int methodIndex, PyObject* args, PyObject** retVal = 0);
} //namespace MetaFunction
} //namespace PySide