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

akonadi

Macros
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:
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:168
Akonadi::CollectionPropertiesPage
A single page in a collection properties dialog.
Definition: collectionpropertiespage.h:99
Akonadi::CollectionPropertiesPageFactory::createWidget
virtual CollectionPropertiesPage * createWidget(QWidget *parent=0) const =0
Returns the actual page widget.

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

This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:28 by doxygen 1.8.7 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 API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

Search



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