File indexing completed on 2024-06-09 05:03:33
0001 /* 0002 SPDX-FileCopyrightText: 2006 Thomas Baumgart <ipwizard@users.sourceforge.net> 0003 SPDX-FileCopyrightText: 2017 Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com> 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "kintropage.h" 0008 0009 // ---------------------------------------------------------------------------- 0010 // QT Includes 0011 0012 // ---------------------------------------------------------------------------- 0013 // KDE Includes 0014 0015 // ---------------------------------------------------------------------------- 0016 // Project Includes 0017 0018 #include "ui_kintropage.h" 0019 0020 #include "knewuserwizard.h" 0021 #include "knewuserwizard_p.h" 0022 #include "kgeneralpage.h" 0023 0024 class KMyMoneyWizardPage; 0025 0026 namespace NewUserWizard 0027 { 0028 class IntroPagePrivate : public WizardPagePrivate<Wizard> 0029 { 0030 Q_DISABLE_COPY(IntroPagePrivate) 0031 0032 public: 0033 IntroPagePrivate(QObject* parent) : 0034 WizardPagePrivate<Wizard>(parent), 0035 ui(new Ui::KIntroPage) 0036 { 0037 } 0038 0039 ~IntroPagePrivate() 0040 { 0041 delete ui; 0042 } 0043 0044 Ui::KIntroPage *ui; 0045 }; 0046 0047 IntroPage::IntroPage(Wizard* wizard) : 0048 QWidget(wizard), 0049 WizardPage<Wizard>(*new IntroPagePrivate(wizard), stepCount++, this, wizard) 0050 { 0051 Q_D(IntroPage); 0052 d->ui->setupUi(this); 0053 } 0054 0055 IntroPage::~IntroPage() 0056 { 0057 } 0058 0059 KMyMoneyWizardPage* IntroPage::nextPage() const 0060 { 0061 Q_D(const IntroPage); 0062 return d->m_wizard->d_func()->m_generalPage; 0063 } 0064 0065 }