diff options
author | Roberto C. Sanchez <roberto@connexer.com> | 2014-10-21 22:48:40 -0400 |
---|---|---|
committer | Roberto C. Sanchez <roberto@connexer.com> | 2014-10-21 22:48:40 -0400 |
commit | 00bc0a3de99e088902379dcb2905fb1546c7eca2 (patch) | |
tree | d248b25166e49de203f8b85702a8c88af52c0339 /src/frontend/bookmarks/btbookmarkitem.h | |
parent | df8f1d512c60a96f9041f9663b3fdc2db51cba33 (diff) |
Imported Upstream version 2.9.1
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; |