MailImporter

filterinfogui.h
1 /*
2  Copyright (c) 2012-2020 Laurent Montel <[email protected]>
3 
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; either version 2 of the License, or
7  (at your option) any later version.
8 
9  This program is distributed in the hope that it will be useful, but
10  WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License along
15  with this program; if not, write to the Free Software Foundation, Inc.,
16  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18 
19 #ifndef FILTERINFOGUI_H
20 #define FILTERINFOGUI_H
21 
22 #include "filters.h"
23 
24 namespace MailImporter {
29 class MAILIMPORTER_EXPORT FilterInfoGui
30 {
31 public:
32  explicit FilterInfoGui();
33  virtual ~FilterInfoGui();
34  virtual void setStatusMessage(const QString &status);
35  virtual void setFrom(const QString &from);
36  virtual void setTo(const QString &to);
37  virtual void setCurrent(const QString &current);
38  virtual void setCurrent(int percent = 0);
39  virtual void setOverall(int percent = 0);
40 
41  virtual void addInfoLogEntry(const QString &log);
42  virtual void addErrorLogEntry(const QString &log);
43 
44  virtual void clear();
45  virtual void alert(const QString &message);
46  virtual QWidget *parent() const;
47 };
48 }
49 
50 #endif /* FILTERINFOGUI_H */
QString from() const
QString to() const
The FilterInfoGui class.
Definition: filterinfogui.h:29
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 1 2020 23:02:54 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.