\section{KDesktop\-Props\-Plugin Class Reference}
\label{classKDesktopPropsPlugin}\index{KDesktopPropsPlugin@{KDesktopPropsPlugin}}
Used to edit the files containing [Desktop Entry] Type=Application.  


{\tt \#include $<$kpropertiesdialog.h$>$}

Inheritance diagram for KDesktop\-Props\-Plugin:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=74pt]{classKDesktopPropsPlugin__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KDesktop\-Props\-Plugin:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=167pt]{classKDesktopPropsPlugin__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
void {\bf slot\-Add\-Filetype} ()\label{classKDesktopPropsPlugin_i0}

\item 
void {\bf slot\-Del\-Filetype} ()\label{classKDesktopPropsPlugin_i1}

\item 
void {\bf slot\-Browse\-Exec} ()\label{classKDesktopPropsPlugin_i2}

\item 
void {\bf slot\-Advanced} ()\label{classKDesktopPropsPlugin_i3}

\item 
void {\bf slot\-Select\-Mimetype} ()\label{classKDesktopPropsPlugin_i4}

\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KDesktop\-Props\-Plugin} ({\bf KProperties\-Dialog} $\ast$\_\-props)
\item 
virtual void {\bf apply\-Changes} ()
\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
static bool {\bf supports} ({\bf KFile\-Item\-List} \_\-items)\label{classKDesktopPropsPlugin_e0}

\end{CompactItemize}


\subsection{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 774 of file kpropertiesdialog.h.

\subsection{Constructor \& Destructor Documentation}
\index{KDesktopPropsPlugin@{KDesktop\-Props\-Plugin}!KDesktopPropsPlugin@{KDesktopPropsPlugin}}
\index{KDesktopPropsPlugin@{KDesktopPropsPlugin}!KDesktopPropsPlugin@{KDesktop\-Props\-Plugin}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KDesktop\-Props\-Plugin::KDesktop\-Props\-Plugin ({\bf KProperties\-Dialog} $\ast$ {\em \_\-props})}\label{classKDesktopPropsPlugin_a0}


Constructor. 



Definition at line 2914 of file kpropertiesdialog.cpp.

References KDialog\-Base::add\-Page(), KProps\-Dlg\-Plugin::changed(), QFile::close(), QObject::connect(), KMime\-Type::default\-Mime\-Type\-Ptr(), KConfig\-Base::has\-Key(), QString::is\-Empty(), QString::left(), QString::lower(), KMime\-Type::mime\-Type(), QFile::open(), KConfig\-Base::read\-Bool\-Entry(), KConfig\-Base::read\-Entry(), KConfig\-Base::read\-List\-Entry(), KConfig\-Base::read\-Path\-Entry(), QString::remove(), KConfig\-Base::set\-Desktop\-Group(), and KConfig\-Base::set\-Dollar\-Expansion().

\subsection{Member Function Documentation}
\index{KDesktopPropsPlugin@{KDesktop\-Props\-Plugin}!applyChanges@{applyChanges}}
\index{applyChanges@{applyChanges}!KDesktopPropsPlugin@{KDesktop\-Props\-Plugin}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KDesktop\-Props\-Plugin::apply\-Changes ()\hspace{0.3cm}{\tt  [virtual]}}\label{classKDesktopPropsPlugin_a2}


Applies all changes to the file. 

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

Reimplemented from {\bf KProps\-Dlg\-Plugin} {\rm (p.\,\pageref{classKPropsDlgPlugin_a2})}.

Definition at line 3157 of file kpropertiesdialog.cpp.

References QFile::close(), KGlobal::dirs(), endl(), QList\-View\-Item::first\-Child(), QString::is\-Empty(), kd\-Debug(), KProperties\-Dialog::kurl(), QList\-View\-Item::next\-Sibling(), QFile::open(), KURL::path(), KService::rebuild\-KSycoca(), KStandard\-Dirs::relative\-Location(), KConfig\-Base::set\-Desktop\-Group(), KMessage\-Box::sorry(), QString::starts\-With(), KSimple\-Config::sync(), QList\-View\-Item::text(), KConfig\-Base::write\-Entry(), and KConfig\-Base::write\-Path\-Entry().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
kpropertiesdialog.h\item 
kpropertiesdialog.cpp\end{CompactItemize}
