• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

akonadi

Akonadi Macros


Defines

#define AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY(factoryName, className)

Define Documentation

#define AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY ( factoryName,
className   ) 

Value:

class factoryName: public CollectionPropertiesPageFactory \
{ \
  public: \
    inline 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.

 class MyPage : public Akonadi::CollectionPropertiesPage
 {
   ...
 }

 AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY( MyPageFactory, MyPage )

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 206 of file collectionpropertiespage.h.

akonadi

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

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.6
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal