mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Cleanup: unify comments in desktop-widgets/command.h
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
03d5e641e1
commit
bd7196d93e
2 changed files with 4 additions and 1 deletions
|
@ -234,6 +234,7 @@ void pasteDives(const dive *d, dive_components what)
|
|||
execute(new PasteDives(d, what));
|
||||
}
|
||||
|
||||
// Trip editing related commands
|
||||
void editTripLocation(dive_trip *trip, const QString &s)
|
||||
{
|
||||
execute(new EditTripLocation(trip, s));
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
namespace Command {
|
||||
|
||||
// 1) General commands
|
||||
|
||||
void init(); // Setup signals to inform frontend of clean status.
|
||||
void clear(); // Reset the undo stack. Delete all commands.
|
||||
void setClean(); // Call after save - this marks a state where no changes need to be saved.
|
||||
|
@ -73,7 +74,8 @@ int editBuddies(const QStringList &newList, bool currentDiveOnly);
|
|||
int editDiveMaster(const QStringList &newList, bool currentDiveOnly);
|
||||
void pasteDives(const dive *d, dive_components what);
|
||||
|
||||
// 4) Trip editing commands
|
||||
// 5) Trip editing commands
|
||||
|
||||
void editTripLocation(dive_trip *trip, const QString &s);
|
||||
void editTripNotes(dive_trip *trip, const QString &s);
|
||||
|
||||
|
|
Loading…
Reference in a new issue