summaryrefslogtreecommitdiffstats
path: root/profile-widget/profilewidget2.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-03-02 22:48:12 +0100
committerGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-04-07 00:13:35 +0200
commite7b5955be08369ebb5245a53186600a9ebf1a0ed (patch)
tree4959f0883465dec45de08842088e3398ba5b655b /profile-widget/profilewidget2.h
parent70a93c130a44125b02d518f37f638356295e1781 (diff)
downloadsubsurface-e7b5955be08369ebb5245a53186600a9ebf1a0ed.tar.gz
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>
Diffstat (limited to 'profile-widget/profilewidget2.h')
-rw-r--r--profile-widget/profilewidget2.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h
index bc049781d..0c1db3f62 100644
--- a/profile-widget/profilewidget2.h
+++ b/profile-widget/profilewidget2.h
@@ -115,10 +115,6 @@ slots: // Necessary to call from QAction's signals.
void removePictures(const QVector<QString> &fileUrls);
void setPlanState();
void setAddState();
- void unhideEvents();
- void makeFirstDC();
- void deleteCurrentDC();
- void splitCurrentDC();
void pointInserted(const QModelIndex &parent, int start, int end);
void pointsRemoved(const QModelIndex &, int start, int end);
void updateThumbnail(QString filename, QImage thumbnail, duration_t duration);
@@ -175,6 +171,10 @@ private:
void removeEvent(DiveEventItem *item);
void hideEvents(DiveEventItem *item);
void editName(DiveEventItem *item);
+ void unhideEvents();
+ void makeFirstDC();
+ void deleteCurrentDC();
+ void splitCurrentDC();
private:
DivePlotDataModel *dataModel;
int zoomLevel;