kaddressbook
ViewFactory Class Reference
#include <kaddressbookview.h>
Inheritance diagram for ViewFactory:

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:
KDE 4.2 API Reference