QMetaClassInfo

Inheritance diagram of QMetaClassInfo

Synopsis

Functions

def name ()
def value ()

Detailed Description

The QMetaClassInfo class provides additional information about a class.

Class information items are simple namevalue pairs that are specified using Q_CLASSINFO() in the source code. The information can be retrieved using QMetaClassInfo.name() and QMetaClassInfo.value() . For example:

class MyClass:
    Q_CLASSINFO("author", "Sabrina Schweinsteiger")
    Q_CLASSINFO("url", "http://doc.moosesoft.co.uk/1.0/")

This mechanism is free for you to use in your Qt applications. Qt doesn’t use it for any of its classes.

See also

QMetaObject

class PySide.QtCore.QMetaClassInfo(QMetaClassInfo)
class PySide.QtCore.QMetaClassInfo
Parameter:QMetaClassInfo – QMetaClassInfo
QMetaClassInfo.name()
Return type:char

Returns the name of this item.

QMetaClassInfo.value()
Return type:char

Returns the value of this item.