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-2021 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 
26  Q_OBJECT
27 
28 public: // 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;
37  QVariant headerData(int section,
38  Qt::Orientation orientation,
39  int role = Qt::DisplayRole) const final override;
40 
41 }; /* class BtInstallPageModel */
QModelIndex parent(const QModelIndex &index) const override
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const override
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
BtInstallPageModel(Grouping const &grouping, QObject *const parent=nullptr)
int columnCount(QModelIndex const &parent=QModelIndex()) const final override