BibleTime
|
Public Member Functions | |
BookmarkItem (BookmarkFolder *parent) | |
BookmarkItem (const BookmarkItem &other) | |
BookmarkItem (const CSwordModuleInfo &module, const QString &key, const QString &description, const QString &title) | |
QString const & | description () const |
QString const & | englishKey () const |
Qt::ItemFlags | flags () const noexcept final override |
QIcon const & | icon () const noexcept final override |
QString | key () const |
CSwordModuleInfo * | module () const |
QString const & | moduleName () const |
void | setDescription (QString const &description) |
void | setKey (QString const &key) |
void | setModule (QString const &moduleName) |
QString | toolTip () const override |
Public Member Functions inherited from anonymous_namespace{btbookmarksmodel.cpp}::BookmarkItemBase | |
BookmarkItemBase (BookmarkFolder *parent=nullptr) | |
BookmarkItemBase (const BookmarkItemBase &other) | |
int | index () const |
BookmarkFolder * | parent () const |
void | setParent (BookmarkFolder *parent) |
void | setText (QString const &text) |
QString const & | text () const |
virtual | ~BookmarkItemBase () |
Private Attributes | |
QString | m_description |
QString | m_key |
QString | m_moduleName |
Definition at line 103 of file btbookmarksmodel.cpp.
BookmarkItem::BookmarkItem | ( | BookmarkFolder * | parent | ) |
Definition at line 491 of file btbookmarksmodel.cpp.
References key(), module(), anonymous_namespace{btbookmarksmodel.cpp}::BookmarkItemBase::setText(), and anonymous_namespace{btbookmarksmodel.cpp}::toHeader().
anonymous_namespace{btbookmarksmodel.cpp}::BookmarkItem::BookmarkItem | ( | const CSwordModuleInfo & | module, |
const QString & | key, | ||
const QString & | description, | ||
const QString & | title | ||
) |
Creates a bookmark with module, key and description.
BookmarkItem::BookmarkItem | ( | const BookmarkItem & | other | ) |
Creates a copy.
Definition at line 496 of file btbookmarksmodel.cpp.
References key(), module(), anonymous_namespace{btbookmarksmodel.cpp}::BookmarkItemBase::setText(), and anonymous_namespace{btbookmarksmodel.cpp}::toHeader().
|
inline |
Returns the used description.
Definition at line 133 of file btbookmarksmodel.cpp.
References BookmarkItem::m_description.
Referenced by toolTip().
|
inline |
Returns the english key.
Definition at line 142 of file btbookmarksmodel.cpp.
References BookmarkItem::m_key.
|
inlinefinaloverridevirtualnoexcept |
Reimplemented from anonymous_namespace{btbookmarksmodel.cpp}::BookmarkItemBase.
Definition at line 115 of file btbookmarksmodel.cpp.
|
inlinefinaloverridevirtualnoexcept |
Reimplemented from anonymous_namespace{btbookmarksmodel.cpp}::BookmarkItemBase.
Definition at line 121 of file btbookmarksmodel.cpp.
QString anonymous_namespace{btbookmarksmodel.cpp}::BookmarkItem::key | ( | ) | const |
Returns the used key.
Referenced by BookmarkItem(), and toolTip().
CSwordModuleInfo* anonymous_namespace{btbookmarksmodel.cpp}::BookmarkItem::module | ( | ) | const |
Returns the used module, 0 if there is no such module.
Referenced by BookmarkItem(), and toolTip().
|
inline |
Definition at line 147 of file btbookmarksmodel.cpp.
References BookmarkItem::m_moduleName.
|
inline |
Definition at line 135 of file btbookmarksmodel.cpp.
References BookmarkItem::description(), and BookmarkItem::m_description.
|
inline |
Definition at line 130 of file btbookmarksmodel.cpp.
References BookmarkItem::key(), and BookmarkItem::m_key.
|
inline |
Definition at line 144 of file btbookmarksmodel.cpp.
References BookmarkItem::m_moduleName.
|
overridevirtual |
Returns a tooltip for this bookmark.
Reimplemented from anonymous_namespace{btbookmarksmodel.cpp}::BookmarkItemBase.
Definition at line 527 of file btbookmarksmodel.cpp.
References BT_ASSERT, btConfig(), description(), FilterOptions::footnotes, BtConfig::getFilterOptions(), CSwordBackend::instance(), key(), module(), FilterOptions::scriptureReferences, CSwordBackend::setFilterOptions(), anonymous_namespace{btbookmarksmodel.cpp}::BookmarkItemBase::text(), and anonymous_namespace{btbookmarksmodel.cpp}::toHeader().
|
private |
Definition at line 151 of file btbookmarksmodel.cpp.
|
private |
Definition at line 150 of file btbookmarksmodel.cpp.
|
private |
Definition at line 152 of file btbookmarksmodel.cpp.