Akonadi

collectionmaintenancepage.h
1 /*
2  Copyright (C) 2009-2020 Laurent Montel <[email protected]>
3 
4  This program is free software; you can redistribute it and/or
5  modify it under the terms of the GNU General Public
6  License as published by the Free Software Foundation; either
7  version 2 of the License, or (at your option) any later version.
8 
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 GNU
12  General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program; see the file COPYING. If not, write to
16  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  Boston, MA 02110-1301, USA.
18 */
19 
20 #ifndef AKONADI_COLLECTIONMAINTENANCEPAGE_H
21 #define AKONADI_COLLECTIONMAINTENANCEPAGE_H
22 
23 #include "akonadiwidgets_export.h"
24 #include "collectionpropertiespage.h"
25 
26 namespace Akonadi
27 {
28 
29 class AKONADIWIDGETS_EXPORT CollectionMaintenancePage : public Akonadi::CollectionPropertiesPage
30 {
31  Q_OBJECT
32 public:
33  explicit CollectionMaintenancePage(QWidget *parent = nullptr);
34  ~CollectionMaintenancePage() override;
35 
36  void load(const Akonadi::Collection &col) override;
37  void save(Akonadi::Collection &col) override;
38 
39 protected:
40  void init(const Akonadi::Collection &);
41 
42 private:
43  //@cond PRIVATE
44  class Private;
45  Private *const d;
46  //@endcond
47 };
48 
49 AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY(CollectionMaintenancePageFactory, CollectionMaintenancePage)
50 
51 }
52 
53 
54 #endif /* COLLECTIONMAINTENANCEPAGE_H */
55 
Represents a collection of PIM items.
Definition: collection.h:76
A single page in a collection properties dialog.
KDEGAMES_EXPORT QAction * load(const QObject *recvr, const char *slot, QObject *parent)
QCA_EXPORT void init()
KDEGAMES_EXPORT QAction * save(const QObject *recvr, const char *slot, QObject *parent)
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Jun 5 2020 23:08:54 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.