kutils Library API Documentation

KSettings::ComponentsDialog Class Reference

Dialog for selecting which plugins should be active for an application. More...

#include <componentsdialog.h>

Inheritance diagram for KSettings::ComponentsDialog:

Inheritance graph
[legend]
Collaboration diagram for KSettings::ComponentsDialog:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ComponentsDialog (QWidget *parent=0, const char *name=0)
void setPluginInfos (const QMap< QString, KPluginInfo * > &plugininfos)
void setPluginInfos (const QValueList< KPluginInfo * > &plugins)
void show ()

Protected Slots

void slotOk ()
void slotApply ()

Detailed Description

Dialog for selecting which plugins should be active for an application.

Set the list of available plugins with setPluginInfos(). The dialog will save the configuration on clicking ok or apply to the applications config file. Connect to the okClicked() and applyClicked() signals to be notified about configuration changes.

Definition at line 38 of file componentsdialog.h.


Constructor & Destructor Documentation

KSettings::ComponentsDialog::ComponentsDialog QWidget parent = 0,
const char *  name = 0
 

Create Dialog.

Parameters:
parent parent widget
name name

Definition at line 47 of file componentsdialog.cpp.

References KStdAccel::name(), KDialogBase::setMainWidget(), and KDialog::spacingHint().


Member Function Documentation

void KSettings::ComponentsDialog::setPluginInfos const QMap< QString, KPluginInfo * > &  plugininfos  ) 
 

Set list of plugins the dialog offers for selection.

Definition at line 88 of file componentsdialog.cpp.

References QMap::begin(), and QMap::end().

void KSettings::ComponentsDialog::setPluginInfos const QValueList< KPluginInfo * > &  plugins  ) 
 

Set list of plugins the dialog offers for selection.

Definition at line 98 of file componentsdialog.cpp.

void KSettings::ComponentsDialog::show  ) 
 

Reimplemented from QDialog.

Definition at line 103 of file componentsdialog.cpp.

References QCheckListItem::setOn(), and QDialog::show().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kutils Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed May 12 09:08:11 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2003