File indexing completed on 2025-01-05 04:47:06
0001 /* 0002 SPDX-FileCopyrightText: 2018 Daniel Vrátil <dvratil@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QDialog> 0010 0011 #include "akonadiwidgets_export.h" 0012 0013 #include <memory> 0014 0015 namespace Akonadi 0016 { 0017 class AgentInstance; 0018 class AgentConfigurationDialogPrivate; 0019 0020 class AKONADIWIDGETS_EXPORT AgentConfigurationDialog : public QDialog 0021 { 0022 Q_OBJECT 0023 public: 0024 explicit AgentConfigurationDialog(const AgentInstance &instance, QWidget *parent = nullptr); 0025 ~AgentConfigurationDialog() override; 0026 0027 void accept() override; 0028 0029 private: 0030 std::unique_ptr<AgentConfigurationDialogPrivate> const d; 0031 }; 0032 0033 }