2 Copyright (c) 2012 Montel Laurent <montel@kde.org>
4 This program is free software; you can redistribute it and/or modify it
5 under the terms of the GNU General Public License, version 2, as
6 published by the Free Software Foundation.
8 This program is distributed in the hope that it will be useful, but
9 WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 General Public License for more details.
13 You should have received a copy of the GNU General Public License along
14 with this program; if not, write to the Free Software Foundation, Inc.,
15 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 #ifndef IMPORTWIZARD_H
19 #define IMPORTWIZARD_H
21 #include <kapplication.h>
22 #include <KAssistantDialog>
24 class KPageWidgetItem
;
25 class CheckProgramPage
;
26 class SelectComponentPage
;
28 class ImportFilterPage
;
29 class ImportSettingPage
;
30 class ImportAddressbookPage
;
31 class PimImportAbstract
;
33 class ImportWizard
: public KAssistantDialog
{
36 ImportWizard( QWidget
* parent
=0);
44 void slotProgramSelected(const QString
& program
);
47 void addImportModule(PimImportAbstract
*);
50 QMap
<QString
, PimImportAbstract
*> mlistImport
;
52 PimImportAbstract
*mSelectedPim
;
54 KPageWidgetItem
*mPage1
;
55 KPageWidgetItem
*mPage2
;
56 KPageWidgetItem
*mPage3
;
57 KPageWidgetItem
*mPage4
;
58 KPageWidgetItem
*mPage5
;
59 KPageWidgetItem
*mPage6
;
61 CheckProgramPage
*mCheckProgramPage
;
62 SelectComponentPage
*mSelectComponentPage
;
63 ImportMailPage
*mImportMailPage
;
64 ImportFilterPage
*mImportFilterPage
;
65 ImportSettingPage
*mImportSettingPage
;
66 ImportAddressbookPage
*mImportAddressbookPage
;
69 #endif /* IMPORTWIZARD_H */