summaryrefslogtreecommitdiff
path: root/event_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'event_list.h')
-rw-r--r--event_list.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/event_list.h b/event_list.h
index 1c50c59..21932ad 100644
--- a/event_list.h
+++ b/event_list.h
@@ -20,8 +20,8 @@ public:
bool setData(const QModelIndex& index, const QVariant& value, int role);
public slots:
- int insert(const int time = -1);
- bool removeRows(int row, int count = 1, const QModelIndex &parent = {});
+ int insert(const QString& tag = {}, const int time = -1);
+ bool removeRows(int row, int count = 1, const QModelIndex& parent = {});
void load(const QJsonObject& json);
QJsonObject save() const;
@@ -36,8 +36,8 @@ private:
};
enum Role { Time = Qt::UserRole + 1, Tag, Values };
- QStringList tagsOrder;
QJsonObject tags;
+ QStringList tagsOrder;
QList<Event> events;
int find(long long time) const;