Remove Qt jargon from comments

This commit is contained in:
Levi Neely 2026-10-01 10:01:22 +02:00
parent 429c896f5a
commit ff48f9c7ee
1 changed files with 9 additions and 8 deletions

View File

@ -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)