summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/profilewidget2.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-15 21:12:34 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-15 21:12:34 -0700
commit401aa210ffb33cfefc94906a4cc476e00c4b1cff (patch)
tree0203c269ae5f824422ca91c0f7d6e5378996eb89 /qt-ui/profile/profilewidget2.h
parentcb41f34826e7cc1caf0fd0358f99266030f8c0c3 (diff)
downloadsubsurface-401aa210ffb33cfefc94906a4cc476e00c4b1cff.tar.gz
New profile: add event manipulation to context menu
This got lost when we switched to the new profile. Remove event works. Hide events does call hide() on the DiveEventItem but for some reason it stays visible. I'll hope for one of the more experienced Qt people to fix that. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.h')
-rw-r--r--qt-ui/profile/profilewidget2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/profile/profilewidget2.h b/qt-ui/profile/profilewidget2.h
index b5339edef..f02ca4058 100644
--- a/qt-ui/profile/profilewidget2.h
+++ b/qt-ui/profile/profilewidget2.h
@@ -74,6 +74,10 @@ slots: // Necessary to call from QAction's signals.
void setEmptyState();
void setProfileState();
void changeGas();
+ void addBookmark();
+ void hideEvents();
+ void unhideEvents();
+ void removeEvent();
protected:
virtual void resizeEvent(QResizeEvent *event);