BibleTime
|
Class for generic book support. More...
#include <cswordbookmoduleinfo.h>
Public Member Functions | |
CSwordKey * | createKey () const final override |
CSwordBookModuleInfo (sword::SWModule &module, CSwordBackend &usedBackend) | |
int | depth () const noexcept |
sword::TreeKeyIdx * | tree () const |
Public Member Functions inherited from CSwordModuleInfo | |
QString | aboutText () const |
void | buildIndex () |
CSwordModuleInfo::Category | category () const |
QString | config (const CSwordModuleInfo::ConfigEntry entry) const |
CSwordModuleInfo (CSwordModuleInfo &&)=delete | |
CSwordModuleInfo (CSwordModuleInfo const &)=delete | |
void | deleteEntry (CSwordKey *const key) |
void | deleteIndex () |
QString | getModuleBaseIndexLocation () const |
QString | getModuleStandardIndexLocation () const |
QString | getUnlockInfo () |
std::shared_ptr< Language const > | glossaryTargetlanguage () const |
bool | has (CSwordModuleInfo::Feature const feature) const noexcept |
bool | has (CSwordModuleInfo::FilterOption const &) const |
bool | hasIndex () const |
bool | hasVersion () const |
::qint64 | indexSize () const |
bool | isEncrypted () const |
bool | isHidden () const |
bool | isLocked () const |
bool | isUnicode () const noexcept |
virtual bool | isWritable () const |
std::shared_ptr< Language const > | language () const |
sword::SWVersion | minimumSwordVersion () const |
QIcon | moduleIcon () const |
QString const & | name () const |
CSwordModuleInfo & | operator= (CSwordModuleInfo &&)=delete |
CSwordModuleInfo & | operator= (CSwordModuleInfo const &)=delete |
CSwordModuleSearch::ModuleResultList | searchIndexed (QString const &searchedText, sword::ListKey const &scope) const |
bool | setHidden (bool hide) |
virtual bool | snap () const |
sword::SWModule & | swordModule () const |
CSwordModuleInfo::TextDirection | textDirection () const |
char const * | textDirectionAsHtml () const |
ModuleType | type () const |
bool | unlock (const QString &unlockKey) |
bool | unlockKeyIsValid () const |
void | write (CSwordKey *key, const QString &newText) |
Private Attributes | |
int const | m_depth |
Class for generic book support.
Definition at line 28 of file cswordbookmoduleinfo.h.
CSwordBookModuleInfo::CSwordBookModuleInfo | ( | sword::SWModule & | module, |
CSwordBackend & | usedBackend | ||
) |
module | The module which belongs to this object. |
backend | The parent backend for this book module. |
Definition at line 37 of file cswordbookmoduleinfo.cpp.
|
finaloverridevirtual |
Implements CSwordModuleInfo.
Definition at line 70 of file cswordbookmoduleinfo.cpp.
References tree().
|
inlinenoexcept |
Definition at line 41 of file cswordbookmoduleinfo.h.
References m_depth.
Referenced by CSwordBookModuleInfo().
sword::TreeKeyIdx * CSwordBookModuleInfo::tree | ( | ) | const |
Definition at line 64 of file cswordbookmoduleinfo.cpp.
References BT_ASSERT, and CSwordModuleInfo::swordModule().
Referenced by BtModuleTextModel::bookData(), createKey(), CSwordBookModuleInfo(), and BtModuleTextModel::indexToBookKey().
|
private |
Definition at line 53 of file cswordbookmoduleinfo.h.
Referenced by depth().