BibleTime
Public Member Functions | List of all members
BtBookshelfTreeModel::Grouping Class Reference

#include <btbookshelftreemodel.h>

Inheritance diagram for BtBookshelfTreeModel::Grouping:

Public Member Functions

 Grouping (bool empty=false)
 
 Grouping (BtConfigCore const &config, QString const &key)
 
 Grouping (Group group)
 
 Grouping (Grouping const &copy)=default
 
bool loadFrom (BtConfigCore const &config, QString const &key)
 
Groupingoperator= (Grouping const &copy)=default
 
void saveTo (BtConfigCore &config, QString const &key) const
 

Detailed Description

Definition at line 66 of file btbookshelftreemodel.h.

Constructor & Destructor Documentation

◆ Grouping() [1/4]

BtBookshelfTreeModel::Grouping::Grouping ( bool  empty = false)
inlineexplicit
Warning
Be careful using this constructor!

Definition at line 73 of file btbookshelftreemodel.h.

References BtBookshelfTreeModel::GROUP_CATEGORY, and BtBookshelfTreeModel::GROUP_LANGUAGE.

◆ Grouping() [2/4]

BtBookshelfTreeModel::Grouping::Grouping ( Group  group)
inlineexplicit

Definition at line 80 of file btbookshelftreemodel.h.

◆ Grouping() [3/4]

BtBookshelfTreeModel::Grouping::Grouping ( BtConfigCore const &  config,
QString const &  key 
)
inline

◆ Grouping() [4/4]

BtBookshelfTreeModel::Grouping::Grouping ( Grouping const &  copy)
default

Member Function Documentation

◆ loadFrom()

bool BtBookshelfTreeModel::Grouping::loadFrom ( BtConfigCore const &  config,
QString const &  key 
)

Definition at line 35 of file btbookshelftreemodel.cpp.

References BT_ASSERT, and BtConfigCore::qVariantValue().

Referenced by Grouping().

◆ operator=()

Grouping& BtBookshelfTreeModel::Grouping::operator= ( Grouping const &  copy)
default

◆ saveTo()

void BtBookshelfTreeModel::Grouping::saveTo ( BtConfigCore config,
QString const &  key 
) const

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