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 #include "filterinfogui.h"
19 #include <KMessageBox>
20 #include <KApplication>
22 using namespace MailImporter
;
24 FilterInfoGui::FilterInfoGui()
28 FilterInfoGui::~FilterInfoGui()
31 void FilterInfoGui::setStatusMessage( const QString
&status
)
36 void FilterInfoGui::setFrom( const QString
&from
)
41 void FilterInfoGui::setTo( const QString
&to
)
46 void FilterInfoGui::setCurrent( const QString
¤t
)
51 void FilterInfoGui::setCurrent( int percent
)
56 void FilterInfoGui::setOverall( int percent
)
61 void FilterInfoGui::addErrorLogEntry( const QString
&log
)
66 void FilterInfoGui::addInfoLogEntry( const QString
&log
)
71 void FilterInfoGui::clear()
75 void FilterInfoGui::alert( const QString
&message
)
80 QWidget
*FilterInfoGui::parent()