Pimcommon

annotationdialog.h
1 /* SPDX-FileCopyrightText: 2010 Thomas McGuire <[email protected]>
2 
3  SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
4 */
5 
6 #pragma once
7 
8 #include "pimcommonakonadi_export.h"
9 
10 #include <QDialog>
11 
12 namespace Akonadi
13 {
14 class Item;
15 }
16 
17 namespace PimCommon
18 {
19 /**
20  * @short A dialog for editing annotations of an email.
21  *
22  * @author Thomas McGuire <[email protected]>
23  */
24 class PIMCOMMONAKONADI_EXPORT AnnotationEditDialog : public QDialog
25 {
26  Q_OBJECT
27 
28 public:
29  /**
30  * Creates a new annotation edit dialog.
31  *
32  * @param item The item.
33  * @param parent The parent widget.
34  */
35  explicit AnnotationEditDialog(const Akonadi::Item &item, QWidget *parent = nullptr);
36 
37  /**
38  * Destroys the annotation edit dialog.
39  */
40  ~AnnotationEditDialog() override;
41 
42 private:
43  void readConfig();
44  void writeConfig();
45  void slotAccepted();
46  void slotDeleteNote();
47  //@cond PRIVATE
48  class AnnotationEditDialogPrivate;
49  std::unique_ptr<AnnotationEditDialogPrivate> const d;
50  //@endcond
51 };
52 }
A dialog for editing annotations of an email.
folderdialogacltab.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri May 27 2022 03:54:14 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.