\section{KURLProps\-Plugin Class Reference}
\label{classKURLPropsPlugin}\index{KURLPropsPlugin@{KURLPropsPlugin}}
Used to edit the files containing [Desktop Entry] URL=....  


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

Inheritance diagram for KURLProps\-Plugin:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=70pt]{classKURLPropsPlugin__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KURLProps\-Plugin:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=265pt]{classKURLPropsPlugin__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KURLProps\-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{classKURLPropsPlugin_e0}

\end{CompactItemize}


\subsection{Detailed Description}
Used to edit the files containing [Desktop Entry] URL=.... 

Such files are used to represent a program in kpanel and kfm. 



Definition at line 572 of file kpropertiesdialog.h.

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


Constructor. 



Definition at line 1901 of file kpropertiesdialog.cpp.

References KDialog\-Base::add\-Page(), KProps\-Dlg\-Plugin::changed(), QFile::close(), QObject::connect(), KProperties\-Dialog::dialog(), QString::from\-Latin1(), QString::is\-Null(), KProperties\-Dialog::kurl(), QFile::open(), KURL::path(), KProps\-Dlg\-Plugin::properties, KConfig\-Base::read\-Path\-Entry(), KConfig\-Base::set\-Desktop\-Group(), QLabel::set\-Text(), KURLRequester::set\-URL(), and KDialog::spacing\-Hint().

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

References QFile::close(), KURL::file\-Name(), QString::from\-Latin1(), KConfig\-Base::has\-Key(), KProperties\-Dialog::kurl(), QString::length(), QFile::open(), KURL::path(), KProps\-Dlg\-Plugin::properties, QString::right(), KConfig\-Base::set\-Desktop\-Group(), KMessage\-Box::sorry(), QString::truncate(), KURLRequester::url(), 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}
