1 /*************************************************************************** 2 kcreditcardschedulepage.h 3 ------------------- 4 begin : Tue Sep 25 2007 5 copyright : (C) 2007 Thomas Baumgart 6 email : Thomas Baumgart <ipwizard@users.sourceforge.net> 7 ***************************************************************************/ 8 9 /*************************************************************************** 10 * * 11 * This program is free software; you can redistribute it and/or modify * 12 * it under the terms of the GNU General Public License as published by * 13 * the Free Software Foundation; either version 2 of the License, or * 14 * (at your option) any later version. * 15 * * 16 ***************************************************************************/ 17 18 #ifndef KCREDITCARDSCHEDULE_H 19 #define KCREDITCARDSCHEDULE_H 20 21 // ---------------------------------------------------------------------------- 22 // QT Includes 23 24 #include <QWidget> 25 26 // ---------------------------------------------------------------------------- 27 // KDE Includes 28 29 // ---------------------------------------------------------------------------- 30 // Project Includes 31 32 #include "wizardpage.h" 33 34 namespace NewAccountWizard 35 { 36 class Wizard; 37 38 class CreditCardSchedulePagePrivate; 39 class CreditCardSchedulePage : public QWidget, public WizardPage<Wizard> 40 { 41 Q_OBJECT 42 Q_DISABLE_COPY(CreditCardSchedulePage) 43 44 public: 45 explicit CreditCardSchedulePage(Wizard* parent); 46 ~CreditCardSchedulePage() override; 47 48 KMyMoneyWizardPage* nextPage() const override; 49 virtual bool isComplete() const override; 50 void enterPage() override; 51 52 QWidget* initialFocusWidget() const override; 53 54 private Q_SLOTS: 55 void slotLoadWidgets(); 56 57 private: 58 Q_DECLARE_PRIVATE_D(WizardPage<Wizard>::d_ptr, CreditCardSchedulePage) 59 friend class Wizard; 60 friend class AccountSummaryPage; 61 }; 62 63 } // namespace 64 65 #endif 66