BibleTime
|
#include <btbookshelftreemodel.h>
Public Member Functions | |
Grouping ()=default | |
Grouping (Grouping &©)=default | |
Grouping (Grouping const ©)=default | |
Grouping (std::initializer_list< Group > values) | |
auto const & | list () const noexcept |
bool | loadFrom (BtConfigCore const &config, QString const &key) |
Grouping & | operator= (Grouping &©)=default |
Grouping & | operator= (Grouping const ©)=default |
void | saveTo (BtConfigCore &config, QString const &key) const |
~Grouping ()=default | |
Static Public Attributes | |
static Grouping const | CAT |
static Grouping const | CAT_LANG |
static Grouping const | DEFAULT |
static Grouping const | LANG |
static Grouping const | LANG_CAT |
static Grouping const | NONE |
Private Attributes | |
QList< Group > | m_list |
Friends | |
bool | operator== (Grouping const &lhs, Grouping const &rhs) |
QDataStream & | operator>> (QDataStream &is, BtBookshelfTreeModel::Grouping &o) |
Definition at line 67 of file btbookshelftreemodel.h.
|
default |
|
default |
|
inline |
Definition at line 74 of file btbookshelftreemodel.h.
|
default |
Definition at line 81 of file btbookshelftreemodel.h.
References m_list.
Referenced by BtBookshelfTreeModel::addModule(), BtBookshelfWidget::initMenus(), operator<<(), and BtBookshelfWorksPage::slotGroupingActionTriggered().
bool BtBookshelfTreeModel::Grouping::loadFrom | ( | BtConfigCore const & | config, |
QString const & | key | ||
) |
Definition at line 49 of file btbookshelftreemodel.cpp.
References BT_ASSERT, and BtConfigCore::qVariantValue().
Referenced by BtBookshelfTreeModel::BtBookshelfTreeModel(), and BtBookshelfWorksPage::BtBookshelfWorksPage().
void BtBookshelfTreeModel::Grouping::saveTo | ( | BtConfigCore & | config, |
QString const & | key | ||
) | const |
Definition at line 61 of file btbookshelftreemodel.cpp.
References BT_ASSERT, and BtConfigCore::setValue().
Referenced by BtSearchModuleChooserDialog::BtSearchModuleChooserDialog(), BtOpenWorkActionMenu::postBuildMenu(), and BtBookshelfWorksPage::slotGroupingOrderChanged().
Definition at line 86 of file btbookshelftreemodel.h.
|
friend |
Definition at line 629 of file btbookshelftreemodel.cpp.
|
static |
Definition at line 38 of file btbookshelftreemodel.h.
Referenced by BtBookshelfWorksPage::initializePage().
|
static |
Definition at line 40 of file btbookshelftreemodel.h.
Referenced by BtBookshelfWorksPage::initializePage().
|
static |
Definition at line 99 of file btbookshelftreemodel.h.
Referenced by BtBookshelfTreeModel::BtBookshelfTreeModel(), and BtBookshelfWorksPage::BtBookshelfWorksPage().
|
static |
Definition at line 42 of file btbookshelftreemodel.h.
|
static |
Definition at line 44 of file btbookshelftreemodel.h.
Definition at line 103 of file btbookshelftreemodel.h.
Referenced by list().
|
static |
Definition at line 94 of file btbookshelftreemodel.h.