mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 22:03:23 +00:00
planner: unslotify two functions in DivePlannerPointsModel
There are a few more candidates, but these conceptually really shouldn't be slots. getSurfacePressure() is an accessor and loadFromDive() initializes the model with a dive. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
8cd389c0af
commit
216a910f56
1 changed files with 2 additions and 2 deletions
|
@ -52,6 +52,7 @@ public:
|
|||
int ascratestopsDisplay();
|
||||
int ascratelast6mDisplay();
|
||||
int descrateDisplay();
|
||||
int getSurfacePressure();
|
||||
|
||||
/**
|
||||
* @return the row number.
|
||||
|
@ -64,6 +65,7 @@ public:
|
|||
static bool addingDeco;
|
||||
struct deco_state final_deco_state;
|
||||
|
||||
void loadFromDive(dive *d);
|
||||
public
|
||||
slots:
|
||||
int addStop(int millimeters = 0, int seconds = 0, int cylinderid_in = -1, int ccpoint = 0, bool entered = true, enum divemode_t = UNDEF_COMP_TYPE);
|
||||
|
@ -73,7 +75,6 @@ slots:
|
|||
void setVpmbConservatism(int level);
|
||||
void setSurfacePressure(int pressure);
|
||||
void setSalinity(int salinity);
|
||||
int getSurfacePressure();
|
||||
void setBottomSac(double sac);
|
||||
void setDecoSac(double sac);
|
||||
void setStartTime(const QTime &t);
|
||||
|
@ -93,7 +94,6 @@ slots:
|
|||
void cancelPlan();
|
||||
void createTemporaryPlan();
|
||||
void deleteTemporaryPlan();
|
||||
void loadFromDive(dive *d);
|
||||
void emitDataChanged();
|
||||
void setRebreatherMode(int mode);
|
||||
void setReserveGas(int reserve);
|
||||
|
|
Loading…
Add table
Reference in a new issue