Pimcommon

manageserversidesubscriptionjob.h
1 /*
2  SPDX-FileCopyrightText: 2014-2022 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "pimcommonakonadi_export.h"
10 #include <Akonadi/Collection>
11 #include <QObject>
12 #include <QSharedPointer>
14 namespace PimCommon
15 {
16 class ManageServerSideSubscriptionJobPrivate;
17 /**
18  * @brief The ManageServerSideSubscriptionJob class
19  * @author Laurent Montel <[email protected]>
20  */
21 class PIMCOMMONAKONADI_EXPORT ManageServerSideSubscriptionJob : public QObject
22 {
23  Q_OBJECT
24 public:
25  explicit ManageServerSideSubscriptionJob(QObject *parent = nullptr);
26 
28 
29  void start();
30  void setCurrentCollection(const Akonadi::Collection &col);
31 
32  void setParentWidget(QWidget *parentWidget);
33 
34 private:
35  void slotConfigureSubscriptionFinished(QDBusPendingCallWatcher *watcher);
36  std::unique_ptr<ManageServerSideSubscriptionJobPrivate> const d;
37 };
38 }
folderdialogacltab.h
Q_SCRIPTABLE Q_NOREPLY void start()
The ManageServerSideSubscriptionJob class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 12 2022 03:51:53 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.