akonadi
Akonadi Macros
Macros | |
#define | AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY(factoryName, className) |
Detailed Description
Macro Definition Documentation
◆ AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY
#define AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY | ( | factoryName, | |
className ) |
Value:
{ \
public: \
{ \
return new className( parent ); \
} \
};
A factory class for collection properties dialog pages.
Definition collectionpropertiespage.h:169
virtual CollectionPropertiesPage * createWidget(QWidget *parent=0) const =0
Returns the actual page widget.
A single page in a collection properties dialog.
Definition collectionpropertiespage.h:100
The AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY macro can be used to create a factory for a custom collection properties page.
{
...
}
AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY( MyPageFactory, MyPage )
#define AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY(factoryName, className)
The AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY macro can be used to create a factory for a custom col...
Definition collectionpropertiespage.h:207
The macro takes two arguments, where the first one is the name of the factory class that shall be created and the second arguments is the name of the custom collection properties page class.
Definition at line 207 of file collectionpropertiespage.h.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.