summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/profilewidget2.h
diff options
context:
space:
mode:
authorGravatar Yosef Hamza <jo.adam.93@gmail.com>2014-04-03 21:16:15 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-04-03 12:49:22 -0700
commit0f5664e584fc402be13754d9ee4ee33e1eca3e25 (patch)
tree3fcbf7460e56a56b5f512ad3cf158a473029ac6e /qt-ui/profile/profilewidget2.h
parentc268b757dfc0aa9aa4d1b7fcd500660709e4d284 (diff)
downloadsubsurface-0f5664e584fc402be13754d9ee4ee33e1eca3e25.tar.gz
Edit name option for bookmarks
Add the option to edit the name of a bookmark to be more meaningful for the user they prefer. It works just as simple bookmarks and can be removed and hidden. It won't accept names longer than 22 characters because longer names will display as garbage text. Also changed the code from displaying flag depending on event name to depending on event type. Signed-off-by: Yousef Hamza <jo.adama.93@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.h')
-rw-r--r--qt-ui/profile/profilewidget2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/profile/profilewidget2.h b/qt-ui/profile/profilewidget2.h
index eb7486e8d..d00cb26c1 100644
--- a/qt-ui/profile/profilewidget2.h
+++ b/qt-ui/profile/profilewidget2.h
@@ -79,6 +79,7 @@ slots: // Necessary to call from QAction's signals.
void hideEvents();
void unhideEvents();
void removeEvent();
+ void editName();
protected:
virtual void resizeEvent(QResizeEvent *event);