BibleTime
moduleitem.cpp
Go to the documentation of this file.
1/*********
2*
3* In the name of the Father, and of the Son, and of the Holy Spirit.
4*
5* This file is part of BibleTime's source code, https://bibletime.info/
6*
7* Copyright 1999-2025 by the BibleTime developers.
8* The BibleTime source code is licensed under the GNU General Public License
9* version 2.0.
10*
11**********/
12
13#include "moduleitem.h"
14
16
17
18namespace BookshelfModel {
19
20QVariant ModuleItem::data(int const role) const {
21 // Dispatch request to tree model:
22 return m_parentModel.data(m_moduleInfo, role);
23}
24
25} // namespace BookshelfModel
CSwordModuleInfo & m_moduleInfo
Definition moduleitem.h:48
QVariant data(int role=Qt::DisplayRole) const override
BtBookshelfTreeModel & m_parentModel
Definition moduleitem.h:49
QVariant data(QModelIndex const &index, int role=Qt::DisplayRole) const override