\section{KDevice\-Props\-Plugin Class Reference}
\label{classKDevicePropsPlugin}\index{KDevicePropsPlugin@{KDevicePropsPlugin}}
Properties plugin for device .desktop files.  


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

Inheritance diagram for KDevice\-Props\-Plugin:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=74pt]{classKDevicePropsPlugin__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KDevice\-Props\-Plugin:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=248pt]{classKDevicePropsPlugin__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KDevice\-Props\-Plugin} ({\bf KProperties\-Dialog} $\ast$\_\-props)\label{classKDevicePropsPlugin_a0}

\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{classKDevicePropsPlugin_e0}

\end{CompactItemize}


\subsection{Detailed Description}
Properties plugin for device .desktop files. 



Definition at line 680 of file kpropertiesdialog.h.

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

References QFile::close(), QString::from\-Latin1(), KIcon\-Button::icon(), QCheck\-Box::is\-Checked(), KProperties\-Dialog::kurl(), QFile::open(), KURL::path(), KProps\-Dlg\-Plugin::properties, KConfig\-Base::set\-Desktop\-Group(), KMessage\-Box::sorry(), KSimple\-Config::sync(), QLabel::text(), 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}
