Implemented help function to connect signal with python callback.

Updated QAction unittest to work with signal connection on constructor.

Reviewer: Hugo Parente <hugo.lima@openbossa.org>
          Luciano Wolf <luciano.wolf@openbossa.org>
This commit is contained in:
Renato Filho 2010-08-16 18:21:25 -03:00
commit aedea32f13
3 changed files with 19 additions and 2 deletions

View file

@ -59,6 +59,7 @@ extern "C"
PYSIDE_API PyAPI_FUNC(PyObject*) signalNew(const char* name, ...);
PYSIDE_API void signalUpdateSource(PyObject* source);
PYSIDE_API bool signal_connect(PyObject* source, const char* signal, PyObject* callback);
} //namespace PySide