Implemented PySide::ClassInfo Object.

This class reproduce the Qt macro Q_CLASSINFO behavior.

Eg.:
    @QtCore.ClassInfo(author='PySide', url='http://www.pyside.org')

fixes bug #705.

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
This commit is contained in:
Renato Filho 2011-05-19 18:12:52 -03:00
commit 04be2b1ca2
7 changed files with 317 additions and 11 deletions

View file

@ -43,6 +43,8 @@ public:
void addSignal(const char* signal, const char* type = 0);
void addSlot(const char* slot, const char* type = 0);
void addProperty(const char* property, PyObject* data);
void addInfo(const char* key, const char* value);
void addInfo(QMap<QByteArray, QByteArray> info);
void removeSignal(uint idex);
void removeSlot(uint index);