1 /***************************************************************************
2                              kbrokeragepage.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 KBROKERAGEPAGE_H
19 #define KBROKERAGEPAGE_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 BrokeragePagePrivate;
39   class BrokeragePage : public QWidget, public WizardPage<Wizard>
40   {
41     Q_OBJECT
42     Q_DISABLE_COPY(BrokeragePage)
43 
44   public:
45     explicit BrokeragePage(Wizard* parent);
46     ~BrokeragePage() override;
47 
48     KMyMoneyWizardPage* nextPage() const override;
49     void enterPage() override;
50 
51     QWidget* initialFocusWidget() const override;
52 
53   private Q_SLOTS:
54     void slotLoadWidgets();
55 
56   private:
57     Q_DECLARE_PRIVATE_D(WizardPage<Wizard>::d_ptr, BrokeragePage)
58     friend class Wizard;
59     friend class AccountSummaryPage;
60   };
61 } // namespace
62 
63 #endif
64