\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=64pt]{classKFilePropsPlugin__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KFile\-Props\-Plugin:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=310pt]{classKFilePropsPlugin__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KFile\-Props\-Plugin} ({\bf KProperties\-Dialog} $\ast$\_\-props)
\item 
virtual void {\bf apply\-Changes} ()
\item 
void {\bf post\-Apply\-Changes} ()
\item 
void {\bf set\-File\-Name\-Read\-Only} (bool ro)\label{classKFilePropsPlugin_a4}

\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
static bool {\bf supports} ({\bf KFile\-Item\-List} \_\-items)
\end{CompactItemize}
\subsection*{Protected Slots}
\begin{CompactItemize}
\item 
void {\bf slot\-Edit\-File\-Type} ()\label{classKFilePropsPlugin_j0}

\item 
void {\bf slot\-Copy\-Finished} ({\bf KIO::Job} $\ast$)\label{classKFilePropsPlugin_j1}

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

\item 
void {\bf slot\-Dir\-Size\-Update} ()\label{classKFilePropsPlugin_j3}

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

\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_j5}

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

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

\end{CompactItemize}


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



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

References QTool\-Tip::add(), QGrid\-Layout::add\-Layout(), QGrid\-Layout::add\-Multi\-Cell\-Widget(), QGrid\-Layout::add\-Widget(), QString::at(), QObject::connect(), QPtr\-List\-Iterator::current(), KMime\-Type::default\-Mime\-Type(), endl(), QString::find(), KMime\-Type::find\-By\-File\-Content(), KMime\-Type::find\-By\-URL(), KIO::find\-Path\-Mount\-Point(), QString::find\-Rev(), QString::from\-Latin1(), QPixmap::height(), 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(), kd\-Debug(), QString::length(), KFile\-Item::link\-Dest(), KFile\-Item::mime\-Comment(), KFile\-Item::mimetype(), KFile\-Item::mode(), KFile\-Item::name(), QIcon\-Set::pixmap(), KURL::pretty\-URL(), KDisk\-Free\-Sp::read\-DF(), QGrid\-Layout::set\-Col\-Stretch(), KIcon\-Button::set\-Icon(), QPush\-Button::set\-Icon\-Set(), KIcon\-Button::set\-Icon\-Size(), KIcon\-Button::set\-Icon\-Type(), QLabel::set\-Pixmap(), QHBox::set\-Spacing(), KIcon\-Button::set\-Strict\-Icon\-Size(), QLabel::set\-Text(), QDate\-Time::set\-Time\_\-t(), KFile\-Item::size(), QString::strip\-White\-Space(), KFile\-Item::time(), and QPixmap::width().

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

References KProperties\-Dialog::abort\-Applying(), QObject::connect(), KIO::copy(), KIO::encode\-File\-Name(), endl(), QString::ends\-With(), QString::is\-Empty(), kd\-Debug(), KProperties\-Dialog::kurl(), QString::length(), KIO::move(), KURL::path(), KProperties\-Dialog::rename(), KMessage\-Box::sorry(), QString::truncate(), KProperties\-Dialog::update\-Url(), 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 1227 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 1407 of file kpropertiesdialog.cpp.

References QValue\-List::append(), and KProperties\-Dialog::items().

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}
