Astyle kdelibs
[kdepim.git] / pimsettingexporter / gui / dialog / synchronizeresourcedialog.h
blob757fd27ad3886f3fcabec1a7009fe0169bf8b533
1 /*
2 Copyright (c) 2015 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 SYNCHRONIZERESOURCEDIALOG_H
19 #define SYNCHRONIZERESOURCEDIALOG_H
21 #include <QDialog>
22 class QListWidget;
23 class SynchronizeResourceDialog : public QDialog
25 Q_OBJECT
26 public:
27 explicit SynchronizeResourceDialog(QWidget *parent = Q_NULLPTR);
28 ~SynchronizeResourceDialog();
30 void setResources(const QStringList &resources);
31 QStringList resources() const;
33 private Q_SLOTS:
34 void slotAccepted();
36 private:
37 void readConfig();
38 void writeConfig();
39 QListWidget *mListResourceWidget;
42 #endif // SYNCHRONIZERESOURCEDIALOG_H