BibleTime
Public Member Functions | Private Attributes | List of all members
BookmarkItem Class Referencefinal

#include <BookmarkItem.h>

Public Member Functions

 BookmarkItem (QString module, QString key, QString description)
 
QString const & description () const noexcept
 
QString const & key () const noexcept
 
QString const & module () const noexcept
 

Private Attributes

QString m_description
 
QString m_key
 
QString m_moduleName
 

Detailed Description

Class which represents a bookmark. Includes key, module name and description, all QStrings which have getter methods.

Definition at line 23 of file BookmarkItem.h.

Constructor & Destructor Documentation

◆ BookmarkItem()

BookmarkItem::BookmarkItem ( QString  module,
QString  key,
QString  description 
)
inline

Definition at line 27 of file BookmarkItem.h.

Member Function Documentation

◆ description()

QString const& BookmarkItem::description ( ) const
inlinenoexcept
Returns
the bookmark description

Definition at line 40 of file BookmarkItem.h.

References m_description.

Referenced by BtBookmarksModelPrivate::saveItem(), and anonymous_namespace{btbookmarksmodel.cpp}::BookmarkItem::setDescription().

◆ key()

QString BookmarkItem::key ( ) const
inlinenoexcept
Returns
the key

here we only translate

Parameters
keyinto current book name language

Definition at line 37 of file BookmarkItem.h.

References m_key.

Referenced by BtQuickWidget::dropEvent(), and anonymous_namespace{btbookmarksmodel.cpp}::BookmarkItem::setKey().

◆ module()

CSwordModuleInfo * BookmarkItem::module ( ) const
inlinenoexcept
Returns
the module name

Definition at line 34 of file BookmarkItem.h.

References m_moduleName.

Referenced by BtBookmarksModelPrivate::saveItem().

Member Data Documentation

◆ m_description

QString BookmarkItem::m_description
private

◆ m_key

QString BookmarkItem::m_key
private

◆ m_moduleName

QString BookmarkItem::m_moduleName
private

The documentation for this class was generated from the following files: