Changeset View
Changeset View
Standalone View
Standalone View
src/service/Activities.h
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Line(s) | 69 | public Q_SLOTS: | |||
---|---|---|---|---|---|
74 | 74 | | |||
75 | /** | 75 | /** | ||
76 | * Sets the current activity | 76 | * Sets the current activity | ||
77 | * @param activity id of the activity to make current | 77 | * @param activity id of the activity to make current | ||
78 | */ | 78 | */ | ||
79 | bool SetCurrentActivity(const QString &activity); | 79 | bool SetCurrentActivity(const QString &activity); | ||
80 | 80 | | |||
81 | /** | 81 | /** | ||
82 | * Switches to the previous activity | ||||
83 | */ | ||||
84 | bool PreviousActivity(); | ||||
85 | | ||||
86 | /** | ||||
87 | * Switches to the next activity | ||||
88 | */ | ||||
89 | bool NextActivity(); | ||||
90 | | ||||
91 | /** | ||||
82 | * Adds a new activity | 92 | * Adds a new activity | ||
83 | * @param name name of the activity | 93 | * @param name name of the activity | ||
84 | * @returns id of the newly created activity | 94 | * @returns id of the newly created activity | ||
85 | */ | 95 | */ | ||
86 | QString AddActivity(const QString &name); | 96 | QString AddActivity(const QString &name); | ||
87 | 97 | | |||
88 | /** | 98 | /** | ||
89 | * Starts the specified activity | 99 | * Starts the specified activity | ||
▲ Show 20 Lines • Show All 153 Lines • Show Last 20 Lines |