#include <DiagnosisModel.h>
◆ SectionModel()
SectionModel::SectionModel |
( |
QObject * |
pParent = nullptr | ) |
|
|
explicit |
◆ addItem() [1/2]
void SectionModel::addItem |
( |
const QSharedPointer< ContentItem > & |
pContentItem | ) |
|
◆ addItem() [2/2]
void SectionModel::addItem |
( |
const QString & |
pTitle, |
|
|
const QString & |
pContent |
|
) |
| |
◆ addItemWithoutTitle()
void SectionModel::addItemWithoutTitle |
( |
const QString & |
pContent | ) |
|
◆ addTitleWithoutContent()
void SectionModel::addTitleWithoutContent |
( |
const QString & |
pTitle | ) |
|
◆ data()
QVariant SectionModel::data |
( |
const QModelIndex & |
pIndex, |
|
|
int |
pRole = Qt::DisplayRole |
|
) |
| const |
|
override |
◆ emitDataChangedForItem()
void SectionModel::emitDataChangedForItem |
( |
const QSharedPointer< ContentItem > & |
pItem | ) |
|
◆ getAsPlaintext()
QStringList SectionModel::getAsPlaintext |
( |
const QString & |
pPrependString = QString() | ) |
const |
◆ removeAllItems()
void SectionModel::removeAllItems |
( |
| ) |
|
◆ replaceWithSections()
void SectionModel::replaceWithSections |
( |
QVector< QSharedPointer< SectionModel >> |
pSections | ) |
|
◆ roleNames()
QHash< int, QByteArray > SectionModel::roleNames |
( |
| ) |
const |
|
override |
◆ rowCount()
int SectionModel::rowCount |
( |
const QModelIndex & |
pParent = QModelIndex() | ) |
const |
|
override |
◆ ::test_DiagnosisModel
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: