mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-03 18:23:19 +00:00
Add 'Time' and 'Tags' as proper task's properties, also add raw format handling
This commit is contained in:
parent
3e7d8b4b70
commit
bae67e6851
15 changed files with 142 additions and 49 deletions
|
@ -17,6 +17,7 @@
|
|||
struct QMLTaskItem {
|
||||
|
||||
Q_GADGET
|
||||
Q_PROPERTY(QString rawFormat READ getRawFormat)
|
||||
Q_PROPERTY(QString text READ getText)
|
||||
Q_PROPERTY(QString state READ getState)
|
||||
Q_PROPERTY(QString date READ getDate)
|
||||
|
@ -26,6 +27,7 @@ struct QMLTaskItem {
|
|||
public:
|
||||
|
||||
QString getText();
|
||||
QString getRawFormat();
|
||||
QString getState();
|
||||
QString getDate();
|
||||
bool getShouldShowDate();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue