BibleTime
src
frontend
bookshelfwizard
btbookshelfwizardpage.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-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
#include "
btbookshelfwizardpage.h
"
14
15
#include <QWizard>
16
#include "
btbookshelfwizard.h
"
17
#include "../../util/btassert.h"
18
19
20
BtBookshelfWizardPage::BtBookshelfWizardPage
(
QWidget
* parent)
21
:
QWizardPage
(parent)
22
{}
23
24
BtBookshelfWizard
&
BtBookshelfWizardPage::btWizard
() const noexcept {
25
BtBookshelfWizard
*
const
w =
26
qobject_cast<BtBookshelfWizard *>(wizard());
27
BT_ASSERT
(w);
28
return
*w;
29
}
BT_ASSERT
#define BT_ASSERT(...)
Definition:
btassert.h:17
btbookshelfwizard.h
btbookshelfwizardpage.h
BtBookshelfWizardPage::btWizard
BtBookshelfWizard & btWizard() const noexcept
Definition:
btbookshelfwizardpage.cpp:24
BtBookshelfWizardPage::BtBookshelfWizardPage
BtBookshelfWizardPage(QWidget *parent=nullptr)
Definition:
btbookshelfwizardpage.cpp:20
BtBookshelfWizard
The Bookshelf Manager wizard.
Definition:
btbookshelfwizard.h:36
QWidget
QWizardPage
Generated by
1.9.1