#include <QObject>Go to the source code of this file.
Defines | |
| #define | DECLARE_CLASS_TYPE(TYPE) |
| #define | DECLARE_CLASS_CATEGORY(CATEGORY) |
| #define | DECLARE_CLASS_KEY(KEY) |
| #define | DECLARE_CLASS_KEY_NONREF(KEY) |
| #define | DECLARE_CLASS_TITLE(TITLE) |
| #define | DECLARE_CLASS_TITLE_NONREF(TITLE) |
| #define | DECLARE_CLASS_TITLE_NONTR(TITLE) |
| #define | DECLARE_CLASS_DESCRIPTION(DESCRIPTION) |
| #define | DECLARE_CLASS_DESCRIPTION_NONREF(DESCRIPTION) |
| #define | DECLARE_CLASS_DESCRIPTION_NONTR(DESCRIPTION) |
| #define | DECLARE_CLASS_DESCRIPTION_METHODS |
| #define | DECLARE_CLASS_DESCRIPTION_METHODS_NONREF |
| #define DECLARE_CLASS_CATEGORY | ( | CATEGORY | ) |
Value:
static int classCategory() { return CATEGORY; } \ virtual int category() const { return CATEGORY; }
| #define DECLARE_CLASS_DESCRIPTION | ( | DESCRIPTION | ) |
Value:
static const QString& classDescription() { \ static const QString str( QObject::tr(DESCRIPTION) ); \ return str; \ } \ virtual const QString& description() const { return classDescription(); }
| #define DECLARE_CLASS_DESCRIPTION_METHODS |
Value:
static const QString& classDescription(); \ virtual const QString& description() const { return classDescription(); }
| #define DECLARE_CLASS_DESCRIPTION_METHODS_NONREF |
Value:
static QString classDescription(); \ virtual QString description() const { return classDescription(); }
| #define DECLARE_CLASS_DESCRIPTION_NONREF | ( | DESCRIPTION | ) |
Value:
static QString classDescription() { \ static const QString str( QObject::tr(DESCRIPTION) ); \ return str; \ } \ virtual QString description() const { return classDescription(); }
| #define DECLARE_CLASS_DESCRIPTION_NONTR | ( | DESCRIPTION | ) |
Value:
static const QString& classDescription() { \ static const QString str( DESCRIPTION ); \ return str; \ } \ virtual const QString& description() const { return classDescription(); }
| #define DECLARE_CLASS_KEY | ( | KEY | ) |
Value:
static const QByteArray& classKey() { \ static const QByteArray str(KEY); \ return str; \ } \ virtual const QByteArray& key() const { return classKey(); }
| #define DECLARE_CLASS_KEY_NONREF | ( | KEY | ) |
Value:
static QByteArray classKey() { \ static const QByteArray str(KEY); \ return str; \ } \ virtual QByteArray key() const { return classKey(); }
| #define DECLARE_CLASS_TITLE | ( | TITLE | ) |
Value:
static const QString& classTitle() { \ static const QString str( QObject::tr(TITLE) ); \ return str; \ } \ virtual const QString& title() const { return classTitle(); }
| #define DECLARE_CLASS_TITLE_NONREF | ( | TITLE | ) |
Value:
static QString classTitle() { \ static const QString str( QObject::tr(TITLE) ); \ return str; \ } \ virtual QString title() const { return classTitle(); }
| #define DECLARE_CLASS_TITLE_NONTR | ( | TITLE | ) |
Value:
static const QString& classTitle() { \ static const QString str( TITLE ); \ return str; \ } \ virtual const QString& title() const { return classTitle(); }
| #define DECLARE_CLASS_TYPE | ( | TYPE | ) |
Value:
static int classType() { return TYPE; } \ virtual int type() const { return TYPE; }
1.5.2