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

Public Slots | |
void | slotAddFiletype () |
void | slotDelFiletype () |
void | slotBrowseExec () |
void | slotAdvanced () |
void | slotSelectMimetype () |
Public Member Functions | |
KDesktopPropsPlugin (KPropertiesDialog *_props) | |
virtual void | applyChanges () |
Static Public Member Functions | |
bool | supports (KFileItemList _items) |
Detailed Description
Used to edit the files containing [Desktop Entry] Type=Application.Such files are used to represent a program in kicker and konqueror.
Definition at line 679 of file kpropertiesdialog.h.
Constructor & Destructor Documentation
|
Constructor.
Definition at line 2781 of file kpropertiesdialog.cpp. References KDialogBase::addPage(), KPropsDlgPlugin::changed(), KMimeType::defaultMimeTypePtr(), KConfigBase::hasKey(), KDesktopPropsPlugin(), KPropertiesDialog::kurl(), KURL::path(), KConfigBase::readBoolEntry(), KConfigBase::readEntry(), KConfigBase::readListEntry(), KConfigBase::readPathEntry(), KConfigBase::setDesktopGroup(), and KConfigBase::setDollarExpansion(). Referenced by KDesktopPropsPlugin(). |
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 3008 of file kpropertiesdialog.cpp. References KGlobal::dirs(), endl(), kdDebug(), KPropertiesDialog::kurl(), KURL::path(), KStandardDirs::relativeLocation(), KConfigBase::setDesktopGroup(), KSimpleConfig::sync(), KConfigBase::writeEntry(), and KConfigBase::writePathEntry(). |
The documentation for this class was generated from the following files: