\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=66pt]{classKURLPropsPlugin__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KURLProps\-Plugin:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=242pt]{classKURLPropsPlugin__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KURLProps\-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{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 kicker and konqueror. 



Definition at line 657 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 2383 of file kpropertiesdialog.cpp.

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

\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 2442 of file kpropertiesdialog.cpp.

References QFile::close(), KURL::file\-Name(), KConfig\-Base::has\-Key(), KProperties\-Dialog::kurl(), QFile::open(), KURL::path(), KConfig\-Base::set\-Desktop\-Group(), KMessage\-Box::sorry(), KURLRequester::url, 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}
