kio Library API Documentation

KBindingPropsPlugin Class Reference

Used to edit the files containing [Desktop Entry] Type=MimeType. More...

#include <kpropertiesdialog.h>

Inheritance diagram for KBindingPropsPlugin:

KPropsDlgPlugin QObject List of all members.

Public Member Functions

 KBindingPropsPlugin (KPropertiesDialog *_props)
virtual void applyChanges ()

Static Public Member Functions

bool supports (KFileItemList _items)

Detailed Description

Used to edit the files containing [Desktop Entry] Type=MimeType.

Definition at line 604 of file kpropertiesdialog.h.


Constructor & Destructor Documentation

KBindingPropsPlugin::KBindingPropsPlugin KPropertiesDialog _props  ) 
 

Constructor.

Definition at line 2412 of file kpropertiesdialog.cpp.

References KDialogBase::addPage(), QBoxLayout::addWidget(), KPropsDlgPlugin::changed(), KConfigBase::hasKey(), KPropertiesDialog::kurl(), KURL::path(), KConfigBase::readBoolEntry(), KConfigBase::readEntry(), and KConfigBase::setDesktopGroup().


Member Function Documentation

void KBindingPropsPlugin::applyChanges  )  [virtual]
 

Applies all changes to the file.

This function is called when the user presses 'Ok'. The last plugin inserted is called first.

Reimplemented from KPropsDlgPlugin.

Definition at line 2521 of file kpropertiesdialog.cpp.

References KConfigBase::deleteEntry(), KPropertiesDialog::kurl(), KURL::path(), KConfigBase::setDesktopGroup(), KMessageBox::sorry(), KSimpleConfig::sync(), and KConfigBase::writeEntry().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kio Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Jan 21 09:57:59 2005 by doxygen 1.3.6 written by Dimitri van Heesch, © 1997-2003