BibleTime
btinstallpagemodel.h
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#pragma once
14
15#include "../../backend/bookshelfmodel/btbookshelftreemodel.h"
16
17#include <QModelIndex>
18#include <QObject>
19#include <QString>
20#include <QVariant>
21#include <Qt>
22
23
25
27
28public: // methods:
29
30 BtInstallPageModel(Grouping const & grouping,
31 QObject * const parent = nullptr);
32
33 QVariant data(QModelIndex const & index,
34 int role = Qt::DisplayRole) const final override;
35 int columnCount(QModelIndex const & parent = QModelIndex())
36 const final override;
38 Qt::Orientation orientation,
39 int role = Qt::DisplayRole) const final override;
40
41}; /* class BtInstallPageModel */
QModelIndex index(int row, int column, QModelIndex const &parent=QModelIndex()) const override
QModelIndex parent(QModelIndex const &index) const override
QModelIndex getGroup(CSwordModuleInfo const &module, QModelIndex const parentIndex, bool &beginInsert)
QVariant data(QModelIndex const &index, int role=Qt::DisplayRole) const final override
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const final override
int columnCount(QModelIndex const &parent=QModelIndex()) const final override