KURLPropsPlugin Class Reference
Used to edit the files containing [Desktop Entry] URL=.... More...
#include <kpropertiesdialog.h>
Inheritance diagram for KURLPropsPlugin:


Public Member Functions | |
KURLPropsPlugin (KPropertiesDialog *_props) | |
Constructor. | |
virtual void | applyChanges () |
Applies all changes to the file. | |
Static Public Member Functions | |
bool | supports (KFileItemList _items) |
Detailed Description
Used to edit the files containing [Desktop Entry] URL=....Such files are used to represent a program in kpanel and kfm.
Definition at line 572 of file kpropertiesdialog.h.
Constructor & Destructor Documentation
|
Member Function Documentation
|
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 1960 of file kpropertiesdialog.cpp. References QFile::close(), KURL::fileName(), QString::fromLatin1(), KConfigBase::hasKey(), KPropertiesDialog::kurl(), QString::length(), QFile::open(), KURL::path(), KPropsDlgPlugin::properties, QString::right(), KConfigBase::setDesktopGroup(), KMessageBox::sorry(), QString::truncate(), KURLRequester::url(), and KConfigBase::writeEntry(). |
The documentation for this class was generated from the following files: