\section{KFile\-Props\-Plugin Class Reference}
\label{classKFilePropsPlugin}\index{KFilePropsPlugin@{KFilePropsPlugin}}
'General' plugin This plugin displays the name of the file, its size and access times.  


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

Inheritance diagram for KFile\-Props\-Plugin:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=66pt]{classKFilePropsPlugin__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KFile\-Props\-Plugin:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=207pt]{classKFilePropsPlugin__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KFile\-Props\-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 made. \item\end{CompactList}\item 
void {\bf post\-Apply\-Changes} ()
\begin{CompactList}\small\item\em Called after all plugins applied their changes. \item\end{CompactList}\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
bool {\bf supports} ({\bf KFile\-Item\-List} \_\-items)
\begin{CompactList}\small\item\em Tests whether the files specified by \_\-items need a 'General' plugin. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Slots}
\begin{CompactItemize}
\item 
void {\bf slot\-Copy\-Finished} ({\bf KIO::Job} $\ast$)\label{classKFilePropsPlugin_j0}

\item 
void {\bf slot\-File\-Renamed} ({\bf KIO::Job} $\ast$, const  {\bf KURL} \&, const  {\bf KURL} \&)\label{classKFilePropsPlugin_j1}

\item 
void {\bf slot\-Dir\-Size\-Finished} ({\bf KIO::Job} $\ast$)\label{classKFilePropsPlugin_j2}

\item 
void {\bf slot\-Found\-Mount\-Point} (const  {\bf QString} \&mp, unsigned long k\-BSize, unsigned long k\-BUsed, unsigned long k\-BAvail)\label{classKFilePropsPlugin_j3}

\item 
void {\bf slot\-Size\-Stop} ()\label{classKFilePropsPlugin_j4}

\item 
void {\bf slot\-Size\-Determine} ()\label{classKFilePropsPlugin_j5}

\end{CompactItemize}


\subsection{Detailed Description}
'General' plugin This plugin displays the name of the file, its size and access times. 



Definition at line 392 of file kpropertiesdialog.h.

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


Constructor. 



Definition at line 612 of file kpropertiesdialog.cpp.

References QGrid\-Layout::add\-Layout(), QGrid\-Layout::add\-Multi\-Cell\-Widget(), KDialog\-Base::add\-Page(), QGrid\-Layout::add\-Widget(), KProps\-Dlg\-Plugin::changed(), QObject::connect(), QPtr\-List::count(), QPtr\-List\-Iterator::current(), KProperties\-Dialog::current\-Dir(), KIO::decode\-File\-Name(), KMime\-Type::default\-Mime\-Type(), KProperties\-Dialog::default\-Name(), KIcon::Device, KProperties\-Dialog::dialog(), KURL::directory(), KURL::file\-Name(), KMime\-Type::find\-By\-File\-Content(), KMime\-Type::find\-By\-URL(), KIO::find\-Path\-Mount\-Point(), QString::from\-Latin1(), KMime\-Type::icon\-For\-URL(), KProps\-Dlg\-Plugin::is\-Desktop\-File(), KFile\-Item::is\-Dir(), QString::is\-Empty(), KFile\-Item::is\-Link(), KURL::is\-Local\-File(), QString::is\-Null(), KProperties\-Dialog::item(), KProperties\-Dialog::items(), KProperties\-Dialog::kurl(), KFile\-Item::link\-Dest(), KGlobal::locale(), KDialog::margin\-Hint(), KFile\-Item::mime\-Comment(), KFile\-Item::mode(), KURL::path(), KURL::pretty\-URL(), KProps\-Dlg\-Plugin::properties, KURL::protocol(), KDisk\-Free\-Sp::read\-DF(), KConfig\-Base::read\-Entry(), QGrid\-Layout::set\-Col\-Stretch(), KConfig\-Base::set\-Desktop\-Group(), KIcon\-Button::set\-Icon(), KIcon\-Button::set\-Icon\-Type(), QLabel::set\-Pixmap(), KIcon\-Button::set\-Strict\-Icon\-Size(), QPush\-Button::set\-Text(), QLine\-Edit::set\-Text(), QLabel::set\-Text(), QDate\-Time::set\-Time\_\-t(), KFile\-Item::size(), KDialog::spacing\-Hint(), KFile\-Item::time(), KGlobal\-Settings::trash\-Path(), and KFile\-Item::url().

\subsection{Member Function Documentation}
\index{KFilePropsPlugin@{KFile\-Props\-Plugin}!applyChanges@{applyChanges}}
\index{applyChanges@{applyChanges}!KFilePropsPlugin@{KFile\-Props\-Plugin}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Props\-Plugin::apply\-Changes ()\hspace{0.3cm}{\tt  [virtual]}}\label{classKFilePropsPlugin_a2}


Applies all changes made. 

This plugin must be always the first plugin in the dialog, since this function may rename the file which may confuse other apply\-Changes functions. 

Reimplemented from {\bf KProps\-Dlg\-Plugin} {\rm (p.\,\pageref{classKPropsDlgPlugin_a2})}.

Definition at line 1054 of file kpropertiesdialog.cpp.

References KProperties\-Dialog::abort\-Applying(), QObject::connect(), KIO::copy(), KIO::encode\-File\-Name(), QString::is\-Empty(), KProperties\-Dialog::kurl(), QString::length(), KIO::move(), KURL::path(), KProps\-Dlg\-Plugin::properties, KProperties\-Dialog::rename(), KMessage\-Box::sorry(), QString::truncate(), and KURL::url().\index{KFilePropsPlugin@{KFile\-Props\-Plugin}!supports@{supports}}
\index{supports@{supports}!KFilePropsPlugin@{KFile\-Props\-Plugin}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KFile\-Props\-Plugin::supports ({\bf KFile\-Item\-List} {\em \_\-items})\hspace{0.3cm}{\tt  [static]}}\label{classKFilePropsPlugin_e0}


Tests whether the files specified by \_\-items need a 'General' plugin. 



Definition at line 1045 of file kpropertiesdialog.cpp.

Referenced by KProperties\-Dialog::can\-Display().\index{KFilePropsPlugin@{KFile\-Props\-Plugin}!postApplyChanges@{postApplyChanges}}
\index{postApplyChanges@{postApplyChanges}!KFilePropsPlugin@{KFile\-Props\-Plugin}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Props\-Plugin::post\-Apply\-Changes ()}\label{classKFilePropsPlugin_a3}


Called after all plugins applied their changes. 



Definition at line 1202 of file kpropertiesdialog.cpp.

References QValue\-List$<$ KURL $>$::append(), QPtr\-List\-Iterator::current(), KProperties\-Dialog::items(), and KProps\-Dlg\-Plugin::properties.

Referenced by KProperties\-Dialog::slot\-Ok().

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