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:
Berthold Stoeger 2020-03-02 22:48:12 +01:00
parent 70a93c130a
commit e7b5955be0

View file

@ -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;