• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 API Reference
  • KDE Home
  • Contact Us
 

akonadi

Macros
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:
class factoryName : public Akonadi::CollectionPropertiesPageFactory \
{ \
public: \
inline Akonadi::CollectionPropertiesPage *createWidget( QWidget *parent = 0 ) const \
{ \
return new className( parent ); \
} \
};
Akonadi::CollectionPropertiesPageFactory
A factory class for collection properties dialog pages.
Definition: collectionpropertiespage.h:169
Akonadi::CollectionPropertiesPageFactory::createWidget
virtual CollectionPropertiesPage * createWidget(QWidget *parent=0) const =0
Returns the actual page widget.
Akonadi::CollectionPropertiesPage
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.

class MyPage : public Akonadi::CollectionPropertiesPage
{
...
}
AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY( MyPageFactory, MyPage )
AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY
#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-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi

Skip menu "akonadi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Modules
  • Related Pages

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal