SVN_SILENT made messages (after extraction)
[kdepim.git] / sieveeditor / sieveserversettings.h
blob28c18a83e37f3e5fd72cf436cc667158658a288c
1 /*
2 Copyright (c) 2014-2016 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.
20 #ifndef SieveServerSettings_H
21 #define SieveServerSettings_H
23 #include <QObject>
24 namespace KWallet
26 class Wallet;
28 class SieveServerSettings : public QObject
30 Q_OBJECT
31 public:
32 ~SieveServerSettings();
33 static SieveServerSettings *self();
35 KWallet::Wallet *wallet();
37 void closeWallet();
38 private Q_SLOTS:
39 void slotWalletClosed();
41 private:
42 explicit SieveServerSettings(QObject *parent = Q_NULLPTR);
43 friend class SieveServerSettingsPrivate;
44 KWallet::Wallet *mWallet;
47 #endif // SieveServerSettings_H