Akonadi

agenttypedialog.h
1 /*
2  Copyright (c) 2006 Tobias Koenig <[email protected]>
3  Copyright (c) 2008 Omat Holding B.V. <[email protected]>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Lesser General Public
7  License as published by the Free Software Foundation; either
8  version 2.1 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public
16  License along with this library. If not, see <https://www.gnu.org/licenses/>.
17 */
18 
19 #ifndef AKONADI_AGENTTYPEDIALOG_H
20 #define AKONADI_AGENTTYPEDIALOG_H
21 
22 #include "agenttypewidget.h"
23 #include "agenttype.h"
24 
25 #include <QDialog>
26 
27 namespace Akonadi
28 {
29 
54 class AKONADIWIDGETS_EXPORT AgentTypeDialog : public QDialog
55 {
56  Q_OBJECT
57 
58 public:
64  explicit AgentTypeDialog(QWidget *parent = nullptr);
65 
69  ~AgentTypeDialog() override;
70 
75  Q_REQUIRED_RESULT AgentType agentType() const;
76 
82  Q_REQUIRED_RESULT AgentFilterProxyModel *agentFilterProxyModel() const;
83 
84 public Q_SLOTS:
85  void done(int result) override;
86 
87 private:
88  //@cond PRIVATE
89  class Private;
90  Private *const d;
91  //@endcond
92 };
93 
94 }
95 
96 #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 Tue May 26 2020 22:46:17 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.