french -> French
[kdepim.git] / importwizard / importfilterinfogui.h
blob493e5030c792335decad3e45ca3b79bbc9639973
1 /*
2 Copyright (c) 2012-2013 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 IMPORTFILTERINFOGUI_H
19 #define IMPORTFILTERINFOGUI_H
21 #include "filterinfogui.h"
22 class ImportMailPage;
24 class ImportFilterInfoGui : public MailImporter::FilterInfoGui
26 public:
27 explicit ImportFilterInfoGui(ImportMailPage *parent);
28 ~ImportFilterInfoGui();
30 void setStatusMessage( const QString& status );
31 void setFrom( const QString& from );
32 void setTo( const QString& to );
33 void setCurrent( const QString& current );
34 void setCurrent( int percent = 0 );
35 void setOverall( int percent = 0 );
36 void addErrorLogEntry( const QString& log );
37 void addInfoLogEntry( const QString& log );
38 void clear();
39 void alert( const QString& message );
40 QWidget *parent();
42 private:
43 ImportMailPage *m_parent;
47 #endif /* IMPORTFILTERINFOGUI_H */