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

Public Methods | |
KURLPropsPlugin (KPropertiesDialog *_props) | |
Constructor. | |
virtual void | applyChanges () |
Applies all changes to the file. |
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
|
Constructor.
Definition at line 1896 of file kpropertiesdialog.cpp. References KDialogBase::addPage(), KPropsDlgPlugin::changed(), QFile::close(), QObject::connect(), KPropertiesDialog::dialog(), QString::fromLatin1(), QString::isNull(), KPropertiesDialog::kurl(), QFile::open(), KURL::path(), KPropsDlgPlugin::properties, QLabel::setText(), KURLRequester::setURL(), and KDialog::spacingHint(). |
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 1955 of file kpropertiesdialog.cpp. References QFile::close(), KURL::fileName(), QString::fromLatin1(), KPropertiesDialog::kurl(), QString::length(), QFile::open(), KURL::path(), KPropsDlgPlugin::properties, QString::right(), KMessageBox::sorry(), QString::truncate(), and KURLRequester::url(). |
The documentation for this class was generated from the following files: