Akonadi::SubscriptionDialog Class

Header: #include <Akonadi/SubscriptionDialog>
CMake: find_package(KPim6 REQUIRED COMPONENTS AkonadiWidgets)
target_link_libraries(mytarget PRIVATE KPim6::AkonadiWidgets)

Public Functions

SubscriptionDialog(QWidget *parent = nullptr)
SubscriptionDialog(const QStringList &mimetypes, QWidget *parent = nullptr)
virtual ~SubscriptionDialog() override
void showHiddenCollection(bool showHidden)

Detailed Description

Local subscription dialog.

Member Function Documentation

[explicit] SubscriptionDialog::SubscriptionDialog(QWidget *parent = nullptr)

Creates a new subscription dialog.

parent The parent widget.

[explicit] SubscriptionDialog::SubscriptionDialog(const QStringList &mimetypes, QWidget *parent = nullptr)

Creates a new subscription dialog.

parent The parent widget. mimetypes The specific mimetypes

[override virtual noexcept] SubscriptionDialog::~SubscriptionDialog()

Destroys the subscription dialog.

Note: Don't call the destructor manually, the dialog will be destructed automatically as soon as all changes are written back to the server.

void SubscriptionDialog::showHiddenCollection(bool showHidden)

showHidden shows hidden collections if set as \ true