\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=71pt]{classKDevicePropsPlugin__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KDevice\-Props\-Plugin:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=221pt]{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} ()
\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
static 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 722 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 2879 of file kpropertiesdialog.cpp.

References QFile::close(), endl(), KIcon\-Button::icon, QCheck\-Box::is\-Checked(), kd\-Debug(), KProperties\-Dialog::kurl(), QFile::open(), KURL::path(), 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}
