summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/command.h')
-rw-r--r--desktop-widgets/command.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop-widgets/command.h b/desktop-widgets/command.h
index 134bb0147..4c31baa6e 100644
--- a/desktop-widgets/command.h
+++ b/desktop-widgets/command.h
@@ -10,7 +10,6 @@
namespace Command {
// 1) General commands
-
void clear(); // Reset the undo stack. Delete all commands.
QAction *undoAction(QObject *parent); // Create an undo action.
QAction *redoAction(QObject *parent); // Create an redo action.
@@ -51,6 +50,10 @@ void addDiveSite(const QString &name);
void mergeDiveSites(dive_site *ds, const QVector<dive_site *> &sites);
void purgeUnusedDiveSites();
+// 4) Dive editing related commands
+
+void editNotes(const QVector<dive *> dives, const QString &newValue, const QString &oldValue);
+
} // namespace Command
#endif // COMMAND_H