mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: demote slots in ProfileWidget2 to private functions
Since we call these with lambdas, they don't need to be slots anymore. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
70a93c130a
commit
e7b5955be0
1 changed files with 4 additions and 4 deletions
|
@ -115,10 +115,6 @@ slots: // Necessary to call from QAction's signals.
|
||||||
void removePictures(const QVector<QString> &fileUrls);
|
void removePictures(const QVector<QString> &fileUrls);
|
||||||
void setPlanState();
|
void setPlanState();
|
||||||
void setAddState();
|
void setAddState();
|
||||||
void unhideEvents();
|
|
||||||
void makeFirstDC();
|
|
||||||
void deleteCurrentDC();
|
|
||||||
void splitCurrentDC();
|
|
||||||
void pointInserted(const QModelIndex &parent, int start, int end);
|
void pointInserted(const QModelIndex &parent, int start, int end);
|
||||||
void pointsRemoved(const QModelIndex &, int start, int end);
|
void pointsRemoved(const QModelIndex &, int start, int end);
|
||||||
void updateThumbnail(QString filename, QImage thumbnail, duration_t duration);
|
void updateThumbnail(QString filename, QImage thumbnail, duration_t duration);
|
||||||
|
@ -175,6 +171,10 @@ private:
|
||||||
void removeEvent(DiveEventItem *item);
|
void removeEvent(DiveEventItem *item);
|
||||||
void hideEvents(DiveEventItem *item);
|
void hideEvents(DiveEventItem *item);
|
||||||
void editName(DiveEventItem *item);
|
void editName(DiveEventItem *item);
|
||||||
|
void unhideEvents();
|
||||||
|
void makeFirstDC();
|
||||||
|
void deleteCurrentDC();
|
||||||
|
void splitCurrentDC();
|
||||||
private:
|
private:
|
||||||
DivePlotDataModel *dataModel;
|
DivePlotDataModel *dataModel;
|
||||||
int zoomLevel;
|
int zoomLevel;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue