mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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));
|
execute(new PasteDives(d, what));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Trip editing related commands
|
||||||
void editTripLocation(dive_trip *trip, const QString &s)
|
void editTripLocation(dive_trip *trip, const QString &s)
|
||||||
{
|
{
|
||||||
execute(new EditTripLocation(trip, s));
|
execute(new EditTripLocation(trip, s));
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
namespace Command {
|
namespace Command {
|
||||||
|
|
||||||
// 1) General commands
|
// 1) General commands
|
||||||
|
|
||||||
void init(); // Setup signals to inform frontend of clean status.
|
void init(); // Setup signals to inform frontend of clean status.
|
||||||
void clear(); // Reset the undo stack. Delete all commands.
|
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.
|
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);
|
int editDiveMaster(const QStringList &newList, bool currentDiveOnly);
|
||||||
void pasteDives(const dive *d, dive_components what);
|
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 editTripLocation(dive_trip *trip, const QString &s);
|
||||||
void editTripNotes(dive_trip *trip, const QString &s);
|
void editTripNotes(dive_trip *trip, const QString &s);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue