#include <KoDocumentSectionModel.h>
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 |
Définition à la ligne 54 du fichier KoDocumentSectionModel.h.
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] |
KoDocumentSectionModel::Property::Property | ( | const QString & | n, | |
const QString & | s | |||
) | [inline] |
Constructor for a nonmutable property.
Définition à la ligne 77 du fichier KoDocumentSectionModel.h.
i18n-ed name, suitable for displaying
Définition à la ligne 57 du fichier KoDocumentSectionModel.h.
Référencé par KoDocumentSectionView::PropertyAction::PropertyAction().
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.
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().
Définition à la ligne 64 du fichier KoDocumentSectionModel.h.
Référencé par KoDocumentSectionView::PropertyAction::PropertyAction(), et KoDocumentSectionView::PropertyAction::slotTriggered().
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().