Référence de la structure KoDocumentSectionModel::Property

describes a single property of a document section Plus de détails...

#include <KoDocumentSectionModel.h>

Liste de tous les membres

Fonctions membres publiques

 Property ()
 Default constructor. Use if you want to assign the members manually.
 Property (const QString &n, const QIcon &on, const QIcon &off, bool isOn)
 Constructor for a mutable property.
 Property (const QString &n, const QString &s)
 Constructor for a nonmutable property.

Attributs publics

QString name
bool isMutable
QIcon onIcon
QIcon offIcon
QVariant state


Description détaillée

describes a single property of a document section

Définition à la ligne 54 du fichier KoDocumentSectionModel.h.


Documentation des contructeurs et destructeur

KoDocumentSectionModel::Property::Property (  )  [inline]

Default constructor. Use if you want to assign the members manually.

Définition à la ligne 70 du fichier KoDocumentSectionModel.h.

KoDocumentSectionModel::Property::Property ( const QString &  n,
const QIcon &  on,
const QIcon &  off,
bool  isOn 
) [inline]

Constructor for a mutable property.

Définition à la ligne 73 du fichier KoDocumentSectionModel.h.

KoDocumentSectionModel::Property::Property ( const QString &  n,
const QString &  s 
) [inline]

Constructor for a nonmutable property.

Définition à la ligne 77 du fichier KoDocumentSectionModel.h.


Documentation des données membres

QString KoDocumentSectionModel::Property::name

i18n-ed name, suitable for displaying

Définition à la ligne 57 du fichier KoDocumentSectionModel.h.

Référencé par KoDocumentSectionView::PropertyAction::PropertyAction().

bool KoDocumentSectionModel::Property::isMutable

Whether the property is a boolean (e.g. locked, visible) which can be toggled directly from the widget itself.

Définition à la ligne 60 du fichier KoDocumentSectionModel.h.

QIcon KoDocumentSectionModel::Property::onIcon

Provide these if the property isMutable.

Définition à la ligne 63 du fichier KoDocumentSectionModel.h.

Référencé par KoDocumentSectionView::PropertyAction::PropertyAction(), et KoDocumentSectionView::PropertyAction::slotTriggered().

QIcon KoDocumentSectionModel::Property::offIcon

Définition à la ligne 64 du fichier KoDocumentSectionModel.h.

Référencé par KoDocumentSectionView::PropertyAction::PropertyAction(), et KoDocumentSectionView::PropertyAction::slotTriggered().

QVariant KoDocumentSectionModel::Property::state

If the property isMutable, provide a boolean. Otherwise, a string suitable for displaying.

Définition à la ligne 67 du fichier KoDocumentSectionModel.h.

Référencé par KoDocumentSectionView::PropertyAction::PropertyAction(), et KoDocumentSectionView::PropertyAction::slotTriggered().


La documentation de cette structure a été générée à partir du fichier suivant :
Généré le Wed Nov 22 23:45:14 2006 pour KPlato par  doxygen 1.5.1-p1