3
* In the name of the Father, and of the Son, and of the Holy Spirit.
5
* This file is part of BibleTime's source code, http://www.bibletime.info/.
7
* Copyright 1999-2009 by the BibleTime developers.
8
* The BibleTime source code is licensed under the GNU General Public License
13
#include "indexingitem.h"
16
namespace BookshelfModel {
18
IndexingItem::IndexingItem(CSwordModuleInfo *module)
19
: Item(Item::ITEM_INDEXING), m_indexed(module->hasIndex()) {
20
// Intentionally empty
23
QVariant IndexingItem::data(int role) const {
27
return QObject::tr("Indexed works");
30
return QObject::tr("Unindexed works");
33
return Item::data(role);
37
} // namespace BookshelfModel