BibleTime
Public Member Functions | Public Attributes | List of all members
anonymous_namespace{btmodulechoosermenu.cpp}::SortModel Struct Referencefinal
Inheritance diagram for anonymous_namespace{btmodulechoosermenu.cpp}::SortModel:

Public Member Functions

bool filterAcceptsRow (int sourceRow, QModelIndex const &sourceParentIndex) const final override
 
bool filterAcceptsRowNoHiddenCheck (int sourceRow, QModelIndex const &sourceParentIndex) const
 
 SortModel (CSwordModuleInfo::ModuleType moduleType, QObject *parent=nullptr)
 

Public Attributes

CSwordModuleInfo::ModuleType const m_moduleType
 
bool const m_showHidden
 
BtBookshelfTreeModel *const m_sourceModel
 

Detailed Description

Definition at line 34 of file btmodulechoosermenu.cpp.

Constructor & Destructor Documentation

◆ SortModel()

anonymous_namespace{btmodulechoosermenu.cpp}::SortModel::SortModel ( CSwordModuleInfo::ModuleType  moduleType,
QObject parent = nullptr 
)
inline

Definition at line 38 of file btmodulechoosermenu.cpp.

References CSwordBackend::instance().

Member Function Documentation

◆ filterAcceptsRow()

bool anonymous_namespace{btmodulechoosermenu.cpp}::SortModel::filterAcceptsRow ( int  sourceRow,
QModelIndex const &  sourceParentIndex 
) const
inlinefinaloverride

Definition at line 51 of file btmodulechoosermenu.cpp.

References BtBookshelfModel::ModuleHiddenRole.

◆ filterAcceptsRowNoHiddenCheck()

bool anonymous_namespace{btmodulechoosermenu.cpp}::SortModel::filterAcceptsRowNoHiddenCheck ( int  sourceRow,
QModelIndex const &  sourceParentIndex 
) const
inline

Member Data Documentation

◆ m_moduleType

CSwordModuleInfo::ModuleType const anonymous_namespace{btmodulechoosermenu.cpp}::SortModel::m_moduleType

Definition at line 93 of file btmodulechoosermenu.cpp.

◆ m_showHidden

bool const anonymous_namespace{btmodulechoosermenu.cpp}::SortModel::m_showHidden

Definition at line 94 of file btmodulechoosermenu.cpp.

◆ m_sourceModel

BtBookshelfTreeModel* const anonymous_namespace{btmodulechoosermenu.cpp}::SortModel::m_sourceModel

Definition at line 95 of file btmodulechoosermenu.cpp.


The documentation for this struct was generated from the following file: