SVN_SILENT made messages (.desktop file)
[kdepim.git] / storageservicemanager / storageservicelogdialog.h
blobcbf053a6c62f9ddffc77a7122b4baf6ae7b59d02
1 /*
2 Copyright (c) 2014 Montel Laurent <montel@kde.org>
4 This library is free software; you can redistribute it and/or modify it
5 under the terms of the GNU Library General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or (at your
7 option) any later version.
9 This library is distributed in the hope that it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
12 License for more details.
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to the
16 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17 02110-1301, USA.
22 #ifndef STORAGESERVICELOGDIALOG_H
23 #define STORAGESERVICELOGDIALOG_H
25 #include <KDialog>
26 namespace PimCommon {
27 class RichTextEditorWidget;
29 class StorageServiceLogDialog : public KDialog
31 Q_OBJECT
32 public:
33 explicit StorageServiceLogDialog(QWidget *parent=0);
34 ~StorageServiceLogDialog();
36 void setLog(const QString &log);
38 Q_SIGNALS:
39 void clearLog();
41 private slots:
42 void slotSaveAs();
43 void slotClearLog();
44 void slotTextChanged();
45 private:
46 void readConfig();
47 void writeConfig();
48 PimCommon::RichTextEditorWidget *mLog;
51 #endif // STORAGESERVICELOGDIALOG_H