BibleTime
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
Functions
a
b
c
d
e
f
g
h
i
l
m
n
p
q
r
s
t
v
Variables
a
b
c
d
g
h
i
k
l
m
p
r
s
u
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
w
Properties
Related Symbols
Files
File List
File Members
All
a
b
c
e
f
h
i
j
k
l
m
o
p
r
s
t
u
w
Functions
b
c
f
i
j
l
m
o
p
r
t
Variables
Typedefs
Enumerations
Enumerator
Macros
a
b
c
i
l
m
r
s
t
u
w
src
backend
bookshelfmodel
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
15
#include "
btbookshelftreemodel.h
"
16
17
18
namespace
BookshelfModel
{
19
20
QVariant
ModuleItem::data
(
int
const
role)
const
{
21
// Dispatch request to tree model:
22
return
m_parentModel
.
data
(
m_moduleInfo
, role);
23
}
20
QVariant
ModuleItem::data
(
int
const
role)
const
{
…
}
24
25
}
// namespace BookshelfModel
btbookshelftreemodel.h
BookshelfModel::ModuleItem::m_moduleInfo
CSwordModuleInfo & m_moduleInfo
Definition
moduleitem.h:48
BookshelfModel::ModuleItem::data
QVariant data(int role=Qt::DisplayRole) const override
Definition
moduleitem.cpp:20
BookshelfModel::ModuleItem::m_parentModel
BtBookshelfTreeModel & m_parentModel
Definition
moduleitem.h:49
BtBookshelfTreeModel::data
QVariant data(QModelIndex const &index, int role=Qt::DisplayRole) const override
Definition
btbookshelftreemodel.cpp:142
moduleitem.h
BookshelfModel
Definition
btbookshelftreemodel.h:33
Generated by
1.9.8