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


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

Inheritance diagram for KApplication\-Props\-Plugin:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=86pt]{classKApplicationPropsPlugin__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KApplication\-Props\-Plugin:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=294pt]{classKApplicationPropsPlugin__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
void {\bf slot\-Del\-Extension} ()\label{classKApplicationPropsPlugin_i0}

\item 
void {\bf slot\-Add\-Extension} ()\label{classKApplicationPropsPlugin_i1}

\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KApplication\-Props\-Plugin} ({\bf KProperties\-Dialog} $\ast$\_\-props)
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
virtual void {\bf apply\-Changes} ()
\begin{CompactList}\small\item\em Applies all changes to the file. \item\end{CompactList}\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
bool {\bf supports} ({\bf KFile\-Item\-List} \_\-items)\label{classKApplicationPropsPlugin_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 kpanel and kfm. 



Definition at line 608 of file kpropertiesdialog.h.

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


Constructor. 



Definition at line 2011 of file kpropertiesdialog.cpp.

References QGrid\-Layout::add\-Multi\-Cell\-Widget(), KDialog\-Base::add\-Page(), QGrid\-Layout::add\-Widget(), KMime\-Type::all\-Mime\-Types(), QValue\-List::begin(), KProps\-Dlg\-Plugin::changed(), QFile::close(), QObject::connect(), KProperties\-Dialog::dialog(), QValue\-List::end(), QString::from\-Latin1(), QPixmap::height(), QList\-Box::insert\-Item(), QString::is\-Empty(), KProperties\-Dialog::kurl(), QFile::open(), KURL::path(), QIcon\-Set::pixmap(), KProps\-Dlg\-Plugin::properties, KConfig\-Base::read\-Entry(), KConfig\-Base::read\-List\-Entry(), QGrid\-Layout::set\-Col\-Stretch(), KConfig\-Base::set\-Desktop\-Group(), QPush\-Button::set\-Icon\-Set(), QGrid\-Layout::set\-Row\-Stretch(), QList\-Box::set\-Selection\-Mode(), QLine\-Edit::set\-Text(), QString\-List::sort(), KDialog::spacing\-Hint(), and QPixmap::width().

\subsection{Member Function Documentation}
\index{KApplicationPropsPlugin@{KApplication\-Props\-Plugin}!applyChanges@{applyChanges}}
\index{applyChanges@{applyChanges}!KApplicationPropsPlugin@{KApplication\-Props\-Plugin}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KApplication\-Props\-Plugin::apply\-Changes ()\hspace{0.3cm}{\tt  [virtual]}}\label{classKApplicationPropsPlugin_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 2192 of file kpropertiesdialog.cpp.

References QFile::close(), QList\-Box::count(), KURL::file\-Name(), QString::from\-Latin1(), QString::is\-Empty(), KProperties\-Dialog::kurl(), QString::length(), QFile::open(), KURL::path(), KProps\-Dlg\-Plugin::properties, QString::right(), KConfig\-Base::set\-Desktop\-Group(), KMessage\-Box::sorry(), KSimple\-Config::sync(), QList\-Box::text(), QLine\-Edit::text(), QString::truncate(), and KConfig\-Base::write\-Entry().

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