Remove Qt jargon from comments
This commit is contained in:
parent
429c896f5a
commit
ff48f9c7ee
|
|
@ -22,22 +22,23 @@ class DocumentModel : public QAbstractListModel {
|
|||
Q_PROPERTY(QString document READ document WRITE setDocument NOTIFY documentChanged)
|
||||
|
||||
public:
|
||||
// Section fields exposed to QML
|
||||
enum Roles {
|
||||
TitleRole = Qt::UserRole + 1,
|
||||
KeywordRole,
|
||||
PriorityRole,
|
||||
TagsRole, // QStringList
|
||||
TagsRole,
|
||||
LevelRole,
|
||||
ScheduledRole,
|
||||
DeadlineRole,
|
||||
SectionIdRole,
|
||||
PathRole, // full namespace path of the section directory
|
||||
IsTodoRole, // keyword is non-empty
|
||||
IsDoneRole, // keyword is a "done" state (DONE/CANCELLED)
|
||||
BodyRole, // section content beneath the headline (lazy)
|
||||
PropertiesRole, // QVariantMap of property key -> value
|
||||
HasChildrenRole, // true if section has children
|
||||
ExpandedRole, // true if section is expanded (children visible)
|
||||
PathRole,
|
||||
IsTodoRole,
|
||||
IsDoneRole,
|
||||
BodyRole,
|
||||
PropertiesRole,
|
||||
HasChildrenRole,
|
||||
ExpandedRole,
|
||||
};
|
||||
Q_ENUM(Roles)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue