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 IMPORTFILTERINFOGUI_H
19 #define IMPORTFILTERINFOGUI_H
21 #include "filterinfogui.h"
24 class ImportFilterInfoGui
: public MailImporter::FilterInfoGui
27 explicit ImportFilterInfoGui(ImportMailPage
*parent
);
28 ~ImportFilterInfoGui();
29 void setStatusMessage( const QString
& status
);
30 void setFrom( const QString
& from
);
31 void setTo( const QString
& to
);
32 void setCurrent( const QString
& current
);
33 void setCurrent( int percent
= 0 );
34 void setOverall( int percent
= 0 );
35 void addErrorLogEntry( const QString
& log
);
36 void addInfoLogEntry( const QString
& log
);
38 void alert( const QString
& message
);
41 ImportMailPage
*m_parent
;
45 #endif /* IMPORTFILTERINFOGUI_H */