mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
desktop: make DiveListView::selectDive() private
Thus, it is made clear that these member functions can only be accessed from DiveListView itself. This should make debugging easier. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
d8fabd241c
commit
b6aad78dab
1 changed files with 2 additions and 2 deletions
|
@ -30,8 +30,6 @@ public:
|
||||||
void reload(); // Call to reload model data
|
void reload(); // Call to reload model data
|
||||||
bool eventFilter(QObject *, QEvent *);
|
bool eventFilter(QObject *, QEvent *);
|
||||||
void unselectDives();
|
void unselectDives();
|
||||||
void selectDive(QModelIndex index, bool scrollto = false);
|
|
||||||
void selectDive(int dive_table_idx, bool scrollto = false);
|
|
||||||
void selectDives(const QList<int> &newDiveSelection);
|
void selectDives(const QList<int> &newDiveSelection);
|
||||||
void contextMenuEvent(QContextMenuEvent *event);
|
void contextMenuEvent(QContextMenuEvent *event);
|
||||||
QList<dive_trip *> selectedTrips();
|
QList<dive_trip *> selectedTrips();
|
||||||
|
@ -88,6 +86,8 @@ private:
|
||||||
void addToTrip(int delta);
|
void addToTrip(int delta);
|
||||||
void matchImagesToDives(QStringList fileNames);
|
void matchImagesToDives(QStringList fileNames);
|
||||||
void loadImageFromURL(QUrl url);
|
void loadImageFromURL(QUrl url);
|
||||||
|
void selectDive(QModelIndex index, bool scrollto = false);
|
||||||
|
void selectDive(int dive_table_idx, bool scrollto = false);
|
||||||
QNetworkAccessManager manager;
|
QNetworkAccessManager manager;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue