aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorrenato araujo <renato@renatoPC.indt.org>2011-05-30 16:25:38 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:54:26 -0300
commit3800537912667b9291623baf96a0504f5de73f3b (patch)
tree20ecbd59f520e1c76f574f592f3ba2a7cd855905 /doc
parentcbf60dce5415891bf856112950672de7b0e4a827 (diff)
Created ClassInfo documentation.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente <hugo.lima@openbossa.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/extras/PySide.QtCore.ClassInfo.rst23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/extras/PySide.QtCore.ClassInfo.rst b/doc/extras/PySide.QtCore.ClassInfo.rst
new file mode 100644
index 000000000..39edf3f60
--- /dev/null
+++ b/doc/extras/PySide.QtCore.ClassInfo.rst
@@ -0,0 +1,23 @@
+.. module:: PySide.QtCore
+.. _ClassInfo:
+
+ClassInfo
+*********
+
+This class is used to associates extra information to the class, which is available
+using QObject.metaObject(). Qt and PySide doesn't use this information.
+
+The extra information takes the form of a dictionary with key and value in a literal string.
+
+.. note:: This Class is a implementation of Q_CLASSINFO macro.
+
+
+Example
+-------
+
+::
+
+ @ClassInfo(Author='PySide Team', URL='http://www.pyside.org')
+ class MyObject(QObject):
+ ...
+