Akonadi::CollectionPropertiesPageFactory Class

A factory class for collection properties dialog pages. More...

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

Public Functions

virtual ~CollectionPropertiesPageFactory()
virtual Akonadi::CollectionPropertiesPage *createWidget(QWidget *parent = nullptr) const = 0

Detailed Description

The factory encapsulates the creation of the collection properties dialog page. You can use the AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY macro to create a factory class automatically.

Author: Volker Krause <vkrause@kde.org>

Member Function Documentation

[virtual noexcept] CollectionPropertiesPageFactory::~CollectionPropertiesPageFactory()

Destroys the collection properties page factory.

[pure virtual] Akonadi::CollectionPropertiesPage *CollectionPropertiesPageFactory::createWidget(QWidget *parent = nullptr) const

Returns the actual page widget.

parent The parent widget.