akonadi
Akonadi Macros
Macros | |
#define | AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY(factoryName, className) |
Detailed Description
Macro Definition Documentation
#define AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY | ( | factoryName, | |
className | |||
) |
Value:
{ \
public: \
inline Akonadi::CollectionPropertiesPage* createWidget( QWidget *parent = 0 ) const \
{ \
return new className( parent ); \
} \
};
The AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY macro can be used to create a factory for a custom collection properties page.
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-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:27:45 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:27:45 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.