french -> French
[kdepim.git] / mailimporter / selectthunderbirdprofilewidget.h
blobce86657a1cbfb39de20004afb13669a1de2d049b
1 /*
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 SELECTTHUNDERBIRDPROFILEWIDGET_H
19 #define SELECTTHUNDERBIRDPROFILEWIDGET_H
21 #include "mailimporter_export.h"
22 #include <KDialog>
24 #include <QMap>
26 namespace Ui {
27 class SelectThunderbirdProfileWidget;
30 class MAILIMPORTER_EXPORT SelectThunderbirdProfileWidget : public QWidget
32 Q_OBJECT
34 public:
35 explicit SelectThunderbirdProfileWidget(QWidget *parent = 0);
36 ~SelectThunderbirdProfileWidget();
38 void fillProfile(const QMap<QString,QString>& map, const QString&defaultProfile);
39 QString selectedProfile() const;
41 private:
42 Ui::SelectThunderbirdProfileWidget *ui;
46 class SelectThunderbirdProfileDialog : public KDialog
48 Q_OBJECT
49 public:
50 explicit SelectThunderbirdProfileDialog(QWidget *parent = 0);
51 ~SelectThunderbirdProfileDialog();
52 QString selectedProfile() const;
53 void fillProfile(const QMap<QString,QString>& map, const QString &defaultProfile);
55 private:
56 SelectThunderbirdProfileWidget *mSelectProfile;
61 #endif // SELECTTHUNDERBIRDPROFILEWIDGET_H