aboutsummaryrefslogtreecommitdiffstats
path: root/libpyside/dynamicqmetaobject.h
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2011-05-19 18:12:52 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:54:25 -0300
commite13ce9212afb46f86e11f78fee98a1d1e1b1557e (patch)
tree75b6a9c5e616596b2fa5ccda2573d34f22a7dcd3 /libpyside/dynamicqmetaobject.h
parent5805ea4e01c463e5eae029a51978bdb1b910aad4 (diff)
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>
Diffstat (limited to 'libpyside/dynamicqmetaobject.h')
-rw-r--r--libpyside/dynamicqmetaobject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpyside/dynamicqmetaobject.h b/libpyside/dynamicqmetaobject.h
index 2efeef165..d137e3057 100644
--- a/libpyside/dynamicqmetaobject.h
+++ b/libpyside/dynamicqmetaobject.h
@@ -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);