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 Methods

 KBindingPropsPlugin (KPropertiesDialog *_props)
 Constructor.

virtual void applyChanges ()
 Applies all changes to the file.


Detailed Description

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

Definition at line 650 of file kpropertiesdialog.h.


Constructor & Destructor Documentation

KBindingPropsPlugin::KBindingPropsPlugin KPropertiesDialog   _props
 

Constructor.

Definition at line 2293 of file kpropertiesdialog.cpp.

References KDialogBase::addPage(), QBoxLayout::addStretch(), QBoxLayout::addWidget(), KPropsDlgPlugin::changed(), QFile::close(), QObject::connect(), KPropertiesDialog::dialog(), QString::fromLatin1(), QString::isEmpty(), QFile::open(), KPropsDlgPlugin::properties, QCheckBox::setChecked(), QLineEdit::setMaxLength(), QCheckBox::setNoChange(), QLineEdit::setText(), QLabel::setText(), QCheckBox::setTristate(), QLineEdit::sizeHint(), and KDialog::spacingHint().


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 2402 of file kpropertiesdialog.cpp.

References QFile::close(), QString::fromLatin1(), QCheckBox::isChecked(), KPropertiesDialog::kurl(), QFile::open(), KURL::path(), KPropsDlgPlugin::properties, KMessageBox::sorry(), QCheckBox::state(), KSimpleConfig::sync(), and QLineEdit::text().


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.0.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Oct 8 12:21:34 2003 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001