\section{KFile\-Permissions\-Props\-Plugin Class Reference}
\label{classKFilePermissionsPropsPlugin}\index{KFilePermissionsPropsPlugin@{KFilePermissionsPropsPlugin}}
'Permissions' plugin In this plugin you can modify permissions and change the owner of a file.  


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

Inheritance diagram for KFile\-Permissions\-Props\-Plugin:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=95pt]{classKFilePermissionsPropsPlugin__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KFile\-Permissions\-Props\-Plugin:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=281pt]{classKFilePermissionsPropsPlugin__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KFile\-Permissions\-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 to the file. \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 file specified by \_\-items needs a 'Permissions' plugin. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
'Permissions' plugin In this plugin you can modify permissions and change the owner of a file. 



Definition at line 460 of file kpropertiesdialog.h.

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


Constructor. 



Definition at line 1227 of file kpropertiesdialog.cpp.

References KCompletion::add\-Item(), QGrid\-Layout::add\-Multi\-Cell\-Widget(), KDialog\-Base::add\-Page(), QBox\-Layout::add\-Stretch(), QGrid\-Layout::add\-Widget(), QBox\-Layout::add\-Widget(), KProps\-Dlg\-Plugin::changed(), KGlobal\-Settings::Completion\-Auto, KGlobal\-Settings::Completion\-None, KCompletion\-Base::completion\-Object(), QObject::connect(), QPtr\-List::count(), QPtr\-List\-Iterator::current(), KProperties\-Dialog::dialog(), KURL::file\-Name(), QString::from\-Latin1(), QString::from\-Local8Bit(), KFile\-Item::group(), QCombo\-Box::insert\-String\-List(), KFile\-Item::is\-Dir(), QString::is\-Empty(), KFile\-Item::is\-Link(), KURL::is\-Local\-File(), KProperties\-Dialog::item(), KProperties\-Dialog::items(), KProperties\-Dialog::kurl(), KStd\-Accel::name(), QObject::name(), KURL::path(), KFile\-Item::permissions(), KProps\-Dlg\-Plugin::properties, KCompletion\-Base::set\-Auto\-Delete\-Completion\-Object(), QCheck\-Box::set\-Checked(), QGrid\-Layout::set\-Col\-Stretch(), KLine\-Edit::set\-Completion\-Mode(), KLine\-Edit::set\-Completion\-Object(), QCombo\-Box::set\-Current\-Item(), KCompletion::set\-Items(), QCheck\-Box::set\-No\-Change(), QString::set\-Num(), KCompletion::set\-Order(), QLabel::set\-Text(), QLine\-Edit::set\-Text(), QCheck\-Box::set\-Tristate(), QSize::set\-Width(), KCompletion::Sorted, KDialog::spacing\-Hint(), KFile\-Item::user(), and QSize::width().

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

References KIO::chmod(), QObject::connect(), QCombo\-Box::current\-Text(), QPtr\-List::first(), QString::is\-Empty(), KProperties\-Dialog::items(), QString::number(), KProps\-Dlg\-Plugin::properties, QCheck\-Box::state(), and QLine\-Edit::text().\index{KFilePermissionsPropsPlugin@{KFile\-Permissions\-Props\-Plugin}!supports@{supports}}
\index{supports@{supports}!KFilePermissionsPropsPlugin@{KFile\-Permissions\-Props\-Plugin}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KFile\-Permissions\-Props\-Plugin::supports ({\bf KFile\-Item\-List} {\em \_\-items})\hspace{0.3cm}{\tt  [static]}}\label{classKFilePermissionsPropsPlugin_e0}


Tests whether the file specified by \_\-items needs a 'Permissions' plugin. 



Definition at line 1534 of file kpropertiesdialog.cpp.

Referenced by KProperties\-Dialog::can\-Display().

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