Don't use const'ref for QChar
[kdepim.git] / akonadiconsole / agentconfigdialog.h
blobff27c2952ab40f9b266e661343ca8443b264b92f
1 /*
2 Copyright (c) 2010 Volker Krause <vkrause@kde.org>
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.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
17 USA.
20 #ifndef AKONADICONSOLE_AGENTCONFIGDIALOG_H
21 #define AKONADICONSOLE_AGENTCONFIGDIALOG_H
23 #include "ui_agentconfigdialog.h"
24 #include <AkonadiCore/AgentInstance>
25 #include <QDialog>
26 #include <KConfigGroup>
28 class AgentConfigModel;
30 class AgentConfigDialog : public QDialog
32 Q_OBJECT
33 public:
34 explicit AgentConfigDialog(QWidget *parent = Q_NULLPTR);
35 void setAgentInstance(const Akonadi::AgentInstance &instance);
37 private Q_SLOTS:
38 void reconfigure();
40 private:
41 Ui::AgentConfigDialog ui;
42 AgentConfigModel *m_model;
43 Akonadi::AgentInstance m_instance;
46 #endif