kaddressbook Library API Documentation

ConfigureViewDialog Class Reference

This dialog is the base class for all view configuration dialogs. More...

#include <configureviewdialog.h>

Inheritance diagram for ConfigureViewDialog:

ConfigureCardViewDialog ConfigureTableViewDialog List of all members.

Public Member Functions

 ConfigureViewDialog (const QString &viewName, KABC::AddressBook *document, QWidget *parent, const char *name)
virtual void readConfig (KConfig *config)
 Reads the configuration from the config object and sets the values in the GUI.

virtual void writeConfig (KConfig *config)
 Writes the configuration from the GUI to the config object.


Detailed Description

This dialog is the base class for all view configuration dialogs.

The author of a view may wish to inherit from this dialog and add config pages that add custom config options. The default implementation of this dialog is to show a page with the select fields widget. For simple views this may be sufficient.

This dialog is based on an IconList version of KDialogBase. See the KDialogBase documentation for more information on adding pages.

Definition at line 43 of file configureviewdialog.h.


Member Function Documentation

void ConfigureViewDialog::readConfig KConfig *  config  )  [virtual]
 

Reads the configuration from the config object and sets the values in the GUI.

If this method is overloaded, be sure to call the base class's method.

Do not change the group of the config object in this method.

Reimplemented in ConfigureCardViewDialog, and ConfigureTableViewDialog.

Definition at line 52 of file configureviewdialog.cpp.

Referenced by ViewManager::modifyView(), ConfigureTableViewDialog::readConfig(), and ConfigureCardViewDialog::readConfig().

void ConfigureViewDialog::writeConfig KConfig *  config  )  [virtual]
 

Writes the configuration from the GUI to the config object.

If this method is overloaded, be sure to call the base class's method.

Do not change the group of the config object in this method.

Reimplemented in ConfigureCardViewDialog, and ConfigureTableViewDialog.

Definition at line 64 of file configureviewdialog.cpp.

Referenced by ViewManager::modifyView(), ConfigureTableViewDialog::writeConfig(), and ConfigureCardViewDialog::writeConfig().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.4.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sat Oct 18 02:47:10 2003 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001