Akonadi

agenttypedialog.h
1 /*
2  SPDX-FileCopyrightText: 2006 Tobias Koenig <[email protected]>
3  SPDX-FileCopyrightText: 2008 Omat Holding B.V. <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.1-or-later
6 */
7 
8 #ifndef AKONADI_AGENTTYPEDIALOG_H
9 #define AKONADI_AGENTTYPEDIALOG_H
10 
11 #include "agenttypewidget.h"
12 #include "agenttype.h"
13 
14 #include <QDialog>
15 
16 namespace Akonadi
17 {
18 
43 class AKONADIWIDGETS_EXPORT AgentTypeDialog : public QDialog
44 {
45  Q_OBJECT
46 
47 public:
53  explicit AgentTypeDialog(QWidget *parent = nullptr);
54 
58  ~AgentTypeDialog() override;
59 
64  Q_REQUIRED_RESULT AgentType agentType() const;
65 
71  Q_REQUIRED_RESULT AgentFilterProxyModel *agentFilterProxyModel() const;
72 
73 public Q_SLOTS:
74  void done(int result) override;
75 
76 private:
77  //@cond PRIVATE
78  class Private;
79  Private *const d;
80  //@endcond
81 };
82 
83 }
84 
85 #endif
A representation of an agent type.
Helper integration between Akonadi and Qt.
A proxy model for filtering AgentType or AgentInstance.
A dialog to select an available agent type.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Nov 27 2020 23:19:00 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.