summaryrefslogtreecommitdiffstats
path: root/libpyside/dynamicqmetaobject.h
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2011-05-19 18:12:52 -0300
committerRenato Filho <renato.filho@openbossa.org>2011-05-23 17:43:27 -0300
commit04be2b1ca26d5d4b51d7187542488e7f2f296e77 (patch)
tree2921fb7d29cef0f1d233b447f146409ffa64be13 /libpyside/dynamicqmetaobject.h
parentfe06dba43ca7cd7ed5864b1035bfca46acc3dadb (diff)
downloadpyside-04be2b1ca26d5d4b51d7187542488e7f2f296e77.tar.gz
pyside-04be2b1ca26d5d4b51d7187542488e7f2f296e77.tar.xz
pyside-04be2b1ca26d5d4b51d7187542488e7f2f296e77.zip
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 2efeef1..d137e30 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);