• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kaddressbook

ViewFactory Class Reference

#include <kaddressbookview.h>

Inheritance diagram for ViewFactory:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 274 of file kaddressbookview.h.


Public Member Functions

virtual ViewConfigureWidget * configureWidget (KABC::AddressBook *ab, QWidget *parent)
virtual QString description () const =0
virtual QString type () const =0
virtual KAddressBookView * view (KAB::Core *core, QWidget *parent)=0

Member Function Documentation

ViewConfigureWidget * ViewFactory::configureWidget ( KABC::AddressBook *  ab,
QWidget *  parent 
) [virtual]

Creates a config dialog for the view type.

The default implementation will return a ViewConfigDialog. This default dialog will allow the user to set the visible fields only. If you need more config options (as most views will), this method can be overloaded to return your sublcass of ViewConfigDialog. If this method is over loaded the base classes method should not be called.

Definition at line 197 of file kaddressbookview.cpp.

virtual QString ViewFactory::description (  )  const [pure virtual]

Returns:
The description of the view.

This should be a 3 to 4 line string (don't actually use return characters in the string) describing the features offered by the view.

virtual QString ViewFactory::type (  )  const [pure virtual]

Returns:
The type of the view.

This is normally a small one word string (ie: Table, Icon, Tree, etc).

virtual KAddressBookView* ViewFactory::view ( KAB::Core *  core,
QWidget *  parent 
) [pure virtual]


The documentation for this class was generated from the following files:
  • kaddressbookview.h
  • kaddressbookview.cpp

kaddressbook

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

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
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