diff options
Diffstat (limited to 'src/frontend/bookmarks/btbookmarkitem.h')
-rw-r--r-- | src/frontend/bookmarks/btbookmarkitem.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/frontend/bookmarks/btbookmarkitem.h b/src/frontend/bookmarks/btbookmarkitem.h index 3166e61..89fd412 100644 --- a/src/frontend/bookmarks/btbookmarkitem.h +++ b/src/frontend/bookmarks/btbookmarkitem.h @@ -31,8 +31,6 @@ class BtBookmarkItem : public BtBookmarkItemBase { /** Creates a copy. */ BtBookmarkItem(const BtBookmarkItem& other); - ~BtBookmarkItem() {} - /** Returns the used module, 0 if there is no such module. */ CSwordModuleInfo *module() const; @@ -49,18 +47,19 @@ class BtBookmarkItem : public BtBookmarkItemBase { return m_title; } - /** Returns a tooltip for this bookmark. */ - virtual QString toolTip() const; - /** Returns whether the action is supported by this item. */ virtual bool enableAction(MenuAction action); /** Changes this bookmark. */ virtual void rename(); - void update(); + virtual void update(); private: + + /** Returns a tooltip for this bookmark. */ + QString toolTip() const; + /** Returns the english key.*/ inline const QString &englishKey() const { return m_key; |