\section{KProperties\-Dialog Class Reference}
\label{classKPropertiesDialog}\index{KPropertiesDialog@{KPropertiesDialog}}
The main properties dialog class.  


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

Inheritance diagram for KProperties\-Dialog:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=68pt]{classKPropertiesDialog__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KProperties\-Dialog:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=309pt]{classKPropertiesDialog__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
virtual void {\bf slot\-Ok} ()
\begin{CompactList}\small\item\em Called when the user presses 'Ok'. \item\end{CompactList}\item 
virtual void {\bf slot\-Cancel} ()\label{classKPropertiesDialog_i1}

\end{CompactItemize}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf properties\-Closed} ()
\begin{CompactList}\small\item\em Emitted when we have finished with the properties (be it Apply or Cancel). \item\end{CompactList}\item 
void {\bf applied} ()\label{classKPropertiesDialog_l1}

\item 
void {\bf canceled} ()\label{classKPropertiesDialog_l2}

\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KProperties\-Dialog} ({\bf KFile\-Item} $\ast$item, {\bf QWidget} $\ast$parent=0L, const  char $\ast$name=0L, bool modal=false, bool auto\-Show=true)
\begin{CompactList}\small\item\em Brings up a Properties dialog. \item\end{CompactList}\item 
{\bf KProperties\-Dialog} ({\bf KFile\-Item\-List} \_\-items, {\bf QWidget} $\ast$parent=0L, const  char $\ast$name=0L, bool modal=false, bool auto\-Show=true)
\begin{CompactList}\small\item\em Brings up a Properties dialog. \item\end{CompactList}\item 
{\bf KProperties\-Dialog} (const  {\bf KURL} \&\_\-url, mode\_\-t \_\-mode, {\bf QWidget} $\ast$parent=0L, const  char $\ast$name=0L, bool modal=false, bool auto\-Show=true)
\begin{CompactList}\small\item\em {\bf This class or method is obsolete, it is provided for compatibility only.} \item\end{CompactList}\item 
{\bf KProperties\-Dialog} (const  {\bf KURL} \&\_\-url, {\bf QWidget} $\ast$parent=0L, const  char $\ast$name=0L, bool modal=false, bool auto\-Show=true)
\begin{CompactList}\small\item\em Brings up a Properties dialog. \item\end{CompactList}\item 
{\bf KProperties\-Dialog} (const  {\bf KURL} \&\_\-temp\-Url, const  {\bf KURL} \&\_\-current\-Dir, const  {\bf QString} \&\_\-default\-Name, {\bf QWidget} $\ast$parent=0L, const  char $\ast$name=0L, bool modal=false, bool auto\-Show=true)
\begin{CompactList}\small\item\em Creates a properties dialog for a new .desktop file (whose name is not known yet), based on a template. \item\end{CompactList}\item 
{\bf KProperties\-Dialog} (const  {\bf QString} \&title, {\bf QWidget} $\ast$parent=0L, const  char $\ast$name=0L, bool modal=false)
\begin{CompactList}\small\item\em Creates an empty properties dialog (for applications that want use a standard dialog, but for things not doable via the plugin-mechanism). \item\end{CompactList}\item 
virtual {\bf $\sim$KProperties\-Dialog} ()
\begin{CompactList}\small\item\em Cleans up the properties dialog and frees any associated resources, including the dialog itself. \item\end{CompactList}\item 
void {\bf insert\-Plugin} ({\bf KProps\-Dlg\-Plugin} $\ast$plugin)
\begin{CompactList}\small\item\em Adds a \char`\"{}3rd party\char`\"{} properties plugin to the dialog. \item\end{CompactList}\item 
const  {\bf KURL} \& {\bf kurl} () const 
\item 
{\bf KFile\-Item} $\ast$ {\bf item} ()
\item 
{\bf KFile\-Item\-List} {\bf items} () const 
\item 
{\bf KDialog\-Base} $\ast$ {\bf dialog} ()
\item 
const  {\bf KDialog\-Base} $\ast$ {\bf dialog} () const \label{classKPropertiesDialog_a12}

\item 
const  {\bf KURL} \& {\bf current\-Dir} () const 
\begin{CompactList}\small\item\em If we are building this dialog from a template,. \item\end{CompactList}\item 
const  {\bf QString} \& {\bf default\-Name} () const 
\begin{CompactList}\small\item\em If we are building this dialog from a template,. \item\end{CompactList}\item 
void {\bf update\-Url} (const  {\bf KURL} \&\_\-new\-Url)
\begin{CompactList}\small\item\em Updates the item url (either called by rename or because a global apps/mimelnk desktop file is being saved) Can only be called if the dialog applies to a single file/URL. \item\end{CompactList}\item 
void {\bf rename} (const  {\bf QString} \&\_\-name)
\begin{CompactList}\small\item\em \#see File\-Props\-Plugin::apply\-Changes Can only be called if the dialog applies to a single file/URL. \item\end{CompactList}\item 
void {\bf abort\-Applying} ()
\begin{CompactList}\small\item\em To abort applying changes. \item\end{CompactList}\item 
void {\bf show\-File\-Sharing\-Page} ()
\begin{CompactList}\small\item\em \begin{Desc}
\item[Since:]3.1 \end{Desc}
\item\end{CompactList}\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
bool {\bf can\-Display} ({\bf KFile\-Item\-List} \_\-items)
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKPropertiesDialog_b0}

\end{CompactItemize}


\subsection{Detailed Description}
The main properties dialog class. 

A Properties Dialog is a dialog which displays various information about a particular file or URL, or several ones. This main class holds various related classes, which are instantiated in the form of tab entries in the tabbed dialog that this class provides. The various tabs themselves will let the user view or change information about the file or URL.

This class must be created with (void)new KProperties\-Dialog(...) It will take care of deleting itself. 



Definition at line 64 of file kpropertiesdialog.h.

\subsection{Constructor \& Destructor Documentation}
\index{KPropertiesDialog@{KProperties\-Dialog}!KPropertiesDialog@{KPropertiesDialog}}
\index{KPropertiesDialog@{KPropertiesDialog}!KPropertiesDialog@{KProperties\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KProperties\-Dialog::KProperties\-Dialog ({\bf KFile\-Item} $\ast$ {\em item}, {\bf QWidget} $\ast$ {\em parent} = 0L, const char $\ast$ {\em name} = 0L, bool {\em modal} = false, bool {\em auto\-Show} = true)}\label{classKPropertiesDialog_a0}


Brings up a Properties dialog. 

Normal constructor for file-manager-like applications. Normally you will use this method rather than the one below.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em item}]file item whose properties should be displayed. \item[{\em parent}]is the parent of the dialog widget. \item[{\em name}]is the internal name. \item[{\em modal}]tells the dialog whether it should be modal. \item[{\em auto\-Show}]tells the dialog whethr it should show itself automatically. \end{description}
\end{Desc}


Definition at line 132 of file kpropertiesdialog.cpp.

References QPtr\-List::append(), KIO::decode\-File\-Name(), KURL::is\-Empty(), KStd\-Accel::name(), and KFile\-Item::url().\index{KPropertiesDialog@{KProperties\-Dialog}!KPropertiesDialog@{KPropertiesDialog}}
\index{KPropertiesDialog@{KPropertiesDialog}!KPropertiesDialog@{KProperties\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KProperties\-Dialog::KProperties\-Dialog ({\bf KFile\-Item\-List} {\em \_\-items}, {\bf QWidget} $\ast$ {\em parent} = 0L, const char $\ast$ {\em name} = 0L, bool {\em modal} = false, bool {\em auto\-Show} = true)}\label{classKPropertiesDialog_a1}


Brings up a Properties dialog. 

Normal constructor for file-manager-like applications.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-items}]list of file items whose properties should be displayed.\item[{\em parent}]is the parent of the dialog widget. \item[{\em name}]is the internal name. \item[{\em modal}]tells the dialog whether it should be modal. \item[{\em auto\-Show}]tells the dialog whethr it should show itself automatically. \end{description}
\end{Desc}


Definition at line 160 of file kpropertiesdialog.cpp.

References QPtr\-List::append(), QPtr\-List\-Iterator::current(), KIO::decode\-File\-Name(), QPtr\-List::first(), KURL::is\-Empty(), QPtr\-List::is\-Empty(), and KStd\-Accel::name().\index{KPropertiesDialog@{KProperties\-Dialog}!KPropertiesDialog@{KPropertiesDialog}}
\index{KPropertiesDialog@{KPropertiesDialog}!KPropertiesDialog@{KProperties\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KProperties\-Dialog::KProperties\-Dialog (const {\bf KURL} \& {\em \_\-url}, mode\_\-t {\em \_\-mode}, {\bf QWidget} $\ast$ {\em parent} = 0L, const char $\ast$ {\em name} = 0L, bool {\em modal} = false, bool {\em auto\-Show} = true)}\label{classKPropertiesDialog_a2}


{\bf This class or method is obsolete, it is provided for compatibility only.} 

Brings up a Properties dialog. Convenience constructor for non-file-manager applications.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-url}]the URL whose properties should be displayed \item[{\em \_\-mode}]unused. \item[{\em parent}]is the parent of the dialog widget. \item[{\em name}]is the internal name. \item[{\em modal}]tells the dialog whether it should be modal. \item[{\em auto\-Show}]tells the dialog whethr it should show itself automatically. \end{description}
\end{Desc}


Definition at line 182 of file kpropertiesdialog.cpp.

References KIO::decode\-File\-Name(), KURL::is\-Empty(), KStd\-Accel::name(), QDialog::result(), and KIO::stat().\index{KPropertiesDialog@{KProperties\-Dialog}!KPropertiesDialog@{KPropertiesDialog}}
\index{KPropertiesDialog@{KPropertiesDialog}!KPropertiesDialog@{KProperties\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KProperties\-Dialog::KProperties\-Dialog (const {\bf KURL} \& {\em \_\-url}, {\bf QWidget} $\ast$ {\em parent} = 0L, const char $\ast$ {\em name} = 0L, bool {\em modal} = false, bool {\em auto\-Show} = true)}\label{classKPropertiesDialog_a3}


Brings up a Properties dialog. 

Convenience constructor for non-file-manager applications.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-url}]the URL whose properties should be displayed \item[{\em parent}]is the parent of the dialog widget. \item[{\em name}]is the internal name. \item[{\em modal}]tells the dialog whether it should be modal. IMPORTANT: This constructor, together with modal=true, leads to a grave display bug (due to {\bf KIO::stat()}{\rm (p.\,\pageref{namespaceKIO_a203})} being run before the dialog has all the necessary information). Do not use this combination for now. For local files with a known mimetype, simply create a {\bf KFile\-Item}{\rm (p.\,\pageref{classKFileItem})} and pass it to the other constructor.\item[{\em auto\-Show}]tells the dialog whethr it should show itself automatically. \end{description}
\end{Desc}


Definition at line 202 of file kpropertiesdialog.cpp.

References KIO::decode\-File\-Name(), KURL::is\-Empty(), KStd\-Accel::name(), QDialog::result(), and KIO::stat().\index{KPropertiesDialog@{KProperties\-Dialog}!KPropertiesDialog@{KPropertiesDialog}}
\index{KPropertiesDialog@{KPropertiesDialog}!KPropertiesDialog@{KProperties\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KProperties\-Dialog::KProperties\-Dialog (const {\bf KURL} \& {\em \_\-temp\-Url}, const {\bf KURL} \& {\em \_\-current\-Dir}, const {\bf QString} \& {\em \_\-default\-Name}, {\bf QWidget} $\ast$ {\em parent} = 0L, const char $\ast$ {\em name} = 0L, bool {\em modal} = false, bool {\em auto\-Show} = true)}\label{classKPropertiesDialog_a4}


Creates a properties dialog for a new .desktop file (whose name is not known yet), based on a template. 

Special constructor for \char`\"{}File / New\char`\"{} in file-manager applications.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-templ\-Url}]template used for reading only \item[{\em \_\-current\-Dir}]directory where the file will be written to \item[{\em \_\-default\-Name}]something to put in the name field, like mimetype.desktop \item[{\em parent}]is the parent of the dialog widget. \item[{\em name}]is the internal name. \item[{\em modal}]tells the dialog whether it should be modal. \item[{\em auto\-Show}]tells the dialog whethr it should show itself automatically. \end{description}
\end{Desc}


Definition at line 221 of file kpropertiesdialog.cpp.

References QPtr\-List::append(), KIO::decode\-File\-Name(), KURL::is\-Empty(), and KStd\-Accel::name().\index{KPropertiesDialog@{KProperties\-Dialog}!KPropertiesDialog@{KPropertiesDialog}}
\index{KPropertiesDialog@{KPropertiesDialog}!KPropertiesDialog@{KProperties\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KProperties\-Dialog::KProperties\-Dialog (const {\bf QString} \& {\em title}, {\bf QWidget} $\ast$ {\em parent} = 0L, const char $\ast$ {\em name} = 0L, bool {\em modal} = false)}\label{classKPropertiesDialog_a5}


Creates an empty properties dialog (for applications that want use a standard dialog, but for things not doable via the plugin-mechanism). 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em title}]is the string display as the \char`\"{}filename\char`\"{} in the caption of the dialog. \item[{\em parent}]is the parent of the dialog widget. \item[{\em name}]is the internal name. \item[{\em modal}]tells the dialog whether it should be modal. \end{description}
\end{Desc}


Definition at line 149 of file kpropertiesdialog.cpp.

References KStd\-Accel::name().\index{KPropertiesDialog@{KProperties\-Dialog}!~KPropertiesDialog@{$\sim$KPropertiesDialog}}
\index{~KPropertiesDialog@{$\sim$KPropertiesDialog}!KPropertiesDialog@{KProperties\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KProperties\-Dialog::$\sim${\bf KProperties\-Dialog} ()\hspace{0.3cm}{\tt  [virtual]}}\label{classKPropertiesDialog_a6}


Cleans up the properties dialog and frees any associated resources, including the dialog itself. 

Note that when a properties dialog is closed it cleans up and deletes itself. 

Definition at line 304 of file kpropertiesdialog.cpp.

References QPtr\-List$<$ KProps\-Dlg\-Plugin $>$::clear().

\subsection{Member Function Documentation}
\index{KPropertiesDialog@{KProperties\-Dialog}!canDisplay@{canDisplay}}
\index{canDisplay@{canDisplay}!KPropertiesDialog@{KProperties\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KProperties\-Dialog::can\-Display ({\bf KFile\-Item\-List} {\em \_\-items})\hspace{0.3cm}{\tt  [static]}}\label{classKPropertiesDialog_e0}


\begin{Desc}
\item[Returns:]whether there are any property pages available for the given file items \end{Desc}


Definition at line 318 of file kpropertiesdialog.cpp.

References KFile\-Meta\-Props\-Plugin::supports(), KFile\-Permissions\-Props\-Plugin::supports(), and KFile\-Props\-Plugin::supports().\index{KPropertiesDialog@{KProperties\-Dialog}!insertPlugin@{insertPlugin}}
\index{insertPlugin@{insertPlugin}!KPropertiesDialog@{KProperties\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KProperties\-Dialog::insert\-Plugin ({\bf KProps\-Dlg\-Plugin} $\ast$ {\em plugin})}\label{classKPropertiesDialog_a7}


Adds a \char`\"{}3rd party\char`\"{} properties plugin to the dialog. 

Useful for extending the properties mechanism.

To create a new plugin type, inherit from the base class KProps\-Plugin and implement all the methods. If you define a service .desktop file for your plugin, you do not need to call {\bf insert\-Plugin()}{\rm (p.\,\pageref{classKPropertiesDialog_a7})}.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em plugin}]is a pointer to the Props\-Plugin. The Properties dialog will do destruction for you. The KProps\-Plugin MUST have been created with the KProperties\-Dialog as its parent. \end{description}
\end{Desc}
\begin{Desc}
\item[See also:]{\bf KProps\-Dlg\-Plugin}{\rm (p.\,\pageref{classKPropsDlgPlugin})} \end{Desc}


Definition at line 310 of file kpropertiesdialog.cpp.

References QPtr\-List$<$ KProps\-Dlg\-Plugin $>$::append().\index{KPropertiesDialog@{KProperties\-Dialog}!kurl@{kurl}}
\index{kurl@{kurl}!KPropertiesDialog@{KProperties\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf KURL}\& KProperties\-Dialog::kurl () const\hspace{0.3cm}{\tt  [inline]}}\label{classKPropertiesDialog_a8}


\begin{Desc}
\item[Returns:]a parsed URL. Valid only if dialog shown for one file/url. \end{Desc}


Definition at line 202 of file kpropertiesdialog.h.

Referenced by KDevice\-Props\-Plugin::apply\-Changes(), KBinding\-Props\-Plugin::apply\-Changes(), KApplication\-Props\-Plugin::apply\-Changes(), KURLProps\-Plugin::apply\-Changes(), KExec\-Props\-Plugin::apply\-Changes(), KFile\-Props\-Plugin::apply\-Changes(), KApplication\-Props\-Plugin::KApplication\-Props\-Plugin(), KFile\-Meta\-Props\-Plugin::KFile\-Meta\-Props\-Plugin(), KFile\-Permissions\-Props\-Plugin::KFile\-Permissions\-Props\-Plugin(), KFile\-Props\-Plugin::KFile\-Props\-Plugin(), and KURLProps\-Plugin::KURLProps\-Plugin().\index{KPropertiesDialog@{KProperties\-Dialog}!item@{item}}
\index{item@{item}!KPropertiesDialog@{KProperties\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KFile\-Item}$\ast$ KProperties\-Dialog::item ()\hspace{0.3cm}{\tt  [inline]}}\label{classKPropertiesDialog_a9}


\begin{Desc}
\item[Returns:]the file item for which the dialog is shown Warning, it returns the first item of the list. This means, use this only if you are sure the dialog is used for a single item. \end{Desc}


Definition at line 210 of file kpropertiesdialog.h.

References QPtr\-List::first().

Referenced by KFile\-Meta\-Props\-Plugin::KFile\-Meta\-Props\-Plugin(), KFile\-Permissions\-Props\-Plugin::KFile\-Permissions\-Props\-Plugin(), and KFile\-Props\-Plugin::KFile\-Props\-Plugin().\index{KPropertiesDialog@{KProperties\-Dialog}!items@{items}}
\index{items@{items}!KPropertiesDialog@{KProperties\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KFile\-Item\-List} KProperties\-Dialog::items () const\hspace{0.3cm}{\tt  [inline]}}\label{classKPropertiesDialog_a10}


\begin{Desc}
\item[Returns:]the items for which the dialog is shown \end{Desc}


Definition at line 215 of file kpropertiesdialog.h.

Referenced by KFile\-Permissions\-Props\-Plugin::apply\-Changes(), KFile\-Share\-Props\-Plugin::apply\-Changes(), KFile\-Meta\-Props\-Plugin::KFile\-Meta\-Props\-Plugin(), KFile\-Permissions\-Props\-Plugin::KFile\-Permissions\-Props\-Plugin(), KFile\-Props\-Plugin::KFile\-Props\-Plugin(), and KFile\-Props\-Plugin::post\-Apply\-Changes().\index{KPropertiesDialog@{KProperties\-Dialog}!dialog@{dialog}}
\index{dialog@{dialog}!KPropertiesDialog@{KProperties\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KDialog\-Base}$\ast$ KProperties\-Dialog::dialog ()\hspace{0.3cm}{\tt  [inline]}}\label{classKPropertiesDialog_a11}


\begin{Desc}
\item[Returns:]a pointer to the dialog {\bf This class or method is obsolete, it is provided for compatibility only.} \end{Desc}


Definition at line 221 of file kpropertiesdialog.h.

Referenced by KApplication\-Props\-Plugin::KApplication\-Props\-Plugin(), KBinding\-Props\-Plugin::KBinding\-Props\-Plugin(), KExec\-Props\-Plugin::KExec\-Props\-Plugin(), KFile\-Permissions\-Props\-Plugin::KFile\-Permissions\-Props\-Plugin(), KFile\-Props\-Plugin::KFile\-Props\-Plugin(), KProps\-Dlg\-Plugin::KProps\-Dlg\-Plugin(), and KURLProps\-Plugin::KURLProps\-Plugin().\index{KPropertiesDialog@{KProperties\-Dialog}!currentDir@{currentDir}}
\index{currentDir@{currentDir}!KPropertiesDialog@{KProperties\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf KURL}\& KProperties\-Dialog::current\-Dir () const\hspace{0.3cm}{\tt  [inline]}}\label{classKPropertiesDialog_a13}


If we are building this dialog from a template,. 

\begin{Desc}
\item[Returns:]the current directory QString::null means no template used \end{Desc}


Definition at line 229 of file kpropertiesdialog.h.

Referenced by KFile\-Props\-Plugin::KFile\-Props\-Plugin().\index{KPropertiesDialog@{KProperties\-Dialog}!defaultName@{defaultName}}
\index{defaultName@{defaultName}!KPropertiesDialog@{KProperties\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf QString}\& KProperties\-Dialog::default\-Name () const\hspace{0.3cm}{\tt  [inline]}}\label{classKPropertiesDialog_a14}


If we are building this dialog from a template,. 

\begin{Desc}
\item[Returns:]the default name (see 3rd constructor) QString::null means no template used \end{Desc}


Definition at line 236 of file kpropertiesdialog.h.

Referenced by KFile\-Props\-Plugin::KFile\-Props\-Plugin().\index{KPropertiesDialog@{KProperties\-Dialog}!updateUrl@{updateUrl}}
\index{updateUrl@{updateUrl}!KPropertiesDialog@{KProperties\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KProperties\-Dialog::update\-Url (const {\bf KURL} \& {\em \_\-new\-Url})}\label{classKPropertiesDialog_a15}


Updates the item url (either called by rename or because a global apps/mimelnk desktop file is being saved) Can only be called if the dialog applies to a single file/URL. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-name}]new URL \end{description}
\end{Desc}


Definition at line 476 of file kpropertiesdialog.cpp.

References QPtr\-List::count(), QPtr\-List\-Iterator::current(), QPtr\-List::first(), KURL::is\-Empty(), and KURL::url().

Referenced by rename().\index{KPropertiesDialog@{KProperties\-Dialog}!rename@{rename}}
\index{rename@{rename}!KPropertiesDialog@{KProperties\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KProperties\-Dialog::rename (const {\bf QString} \& {\em \_\-name})}\label{classKPropertiesDialog_a16}


\#see File\-Props\-Plugin::apply\-Changes Can only be called if the dialog applies to a single file/URL. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-name}]new filename, encoded. \end{description}
\end{Desc}


Definition at line 494 of file kpropertiesdialog.cpp.

References KURL::add\-Path(), QString::at(), QPtr\-List::count(), KURL::is\-Empty(), QString::length(), KURL::set\-File\-Name(), QString::truncate(), update\-Url(), and KURL::url().

Referenced by KFile\-Props\-Plugin::apply\-Changes().\index{KPropertiesDialog@{KProperties\-Dialog}!abortApplying@{abortApplying}}
\index{abortApplying@{abortApplying}!KPropertiesDialog@{KProperties\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KProperties\-Dialog::abort\-Applying ()}\label{classKPropertiesDialog_a17}


To abort applying changes. 



Definition at line 517 of file kpropertiesdialog.cpp.

Referenced by KFile\-Props\-Plugin::apply\-Changes().\index{KPropertiesDialog@{KProperties\-Dialog}!showFileSharingPage@{showFileSharingPage}}
\index{showFileSharingPage@{showFileSharingPage}!KPropertiesDialog@{KProperties\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KProperties\-Dialog::show\-File\-Sharing\-Page ()}\label{classKPropertiesDialog_a18}


\begin{Desc}
\item[Since:]3.1 \end{Desc}




Definition at line 274 of file kpropertiesdialog.cpp.

References QPtr\-List$<$ KProps\-Dlg\-Plugin $>$::first(), QPtr\-List$<$ KProps\-Dlg\-Plugin $>$::next(), KFile\-Share\-Props\-Plugin::page(), KDialog\-Base::page\-Index(), and KDialog\-Base::show\-Page().\index{KPropertiesDialog@{KProperties\-Dialog}!slotOk@{slotOk}}
\index{slotOk@{slotOk}!KPropertiesDialog@{KProperties\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KProperties\-Dialog::slot\-Ok ()\hspace{0.3cm}{\tt  [virtual, slot]}}\label{classKPropertiesDialog_i0}


Called when the user presses 'Ok'. 



Reimplemented from {\bf KDialog\-Base}.

Definition at line 330 of file kpropertiesdialog.cpp.

References QDialog::accept(), KProps\-Dlg\-Plugin::apply\-Changes(), QObject::class\-Name(), QPtr\-List$<$ KProps\-Dlg\-Plugin $>$::first(), KProps\-Dlg\-Plugin::is\-Dirty(), QPtr\-List$<$ KProps\-Dlg\-Plugin $>$::next(), KFile\-Props\-Plugin::post\-Apply\-Changes(), properties\-Closed(), and KProps\-Dlg\-Plugin::set\-Dirty().\index{KPropertiesDialog@{KProperties\-Dialog}!propertiesClosed@{propertiesClosed}}
\index{propertiesClosed@{propertiesClosed}!KPropertiesDialog@{KProperties\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KProperties\-Dialog::properties\-Closed ()\hspace{0.3cm}{\tt  [signal]}}\label{classKPropertiesDialog_l0}


Emitted when we have finished with the properties (be it Apply or Cancel). 



Referenced by slot\-Ok().

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