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

kaddressbook

ViewConfigureWidget Class Reference

#include <viewconfigurewidget.h>

Inheritance diagram for ViewConfigureWidget:

Inheritance graph
[legend]

List of all members.


Detailed Description

This widget is the base class for all view configuration widgets.

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

Definition at line 50 of file viewconfigurewidget.h.


Public Member Functions

KVBox * addPage (const QString &item, const QString &header=QString(), const QPixmap &pixmap=QPixmap())
virtual void restoreSettings (const KConfigGroup &config)
virtual void saveSettings (KConfigGroup &config)
 ViewConfigureWidget (KABC::AddressBook *ab, QWidget *parent)
virtual ~ViewConfigureWidget ()

Constructor & Destructor Documentation

ViewConfigureWidget::ViewConfigureWidget ( KABC::AddressBook *  ab,
QWidget *  parent 
)

Definition at line 42 of file viewconfigurewidget.cpp.

ViewConfigureWidget::~ViewConfigureWidget (  )  [virtual]

Definition at line 69 of file viewconfigurewidget.cpp.


Member Function Documentation

KVBox * ViewConfigureWidget::addPage ( const QString &  item,
const QString &  header = QString(),
const QPixmap &  pixmap = QPixmap() 
)

Use this method to add new pages to the widget.

Definition at line 85 of file viewconfigurewidget.cpp.

void ViewConfigureWidget::restoreSettings ( const KConfigGroup &  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.

Reimplemented from KAB::ConfigureWidget.

Reimplemented in ConfigureCardViewWidget, and ConfigureTableViewWidget.

Definition at line 73 of file viewconfigurewidget.cpp.

void ViewConfigureWidget::saveSettings ( KConfigGroup &  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.

Reimplemented from KAB::ConfigureWidget.

Reimplemented in ConfigureCardViewWidget, and ConfigureTableViewWidget.

Definition at line 79 of file viewconfigurewidget.cpp.


The documentation for this class was generated from the following files:
  • viewconfigurewidget.h
  • viewconfigurewidget.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