\section{KWrite\-Perms\-Icon Class Reference}
\label{classKWritePermsIcon}\index{KWritePermsIcon@{KWritePermsIcon}}
Auth icon for write permission display.  


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

Inheritance diagram for KWrite\-Perms\-Icon:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=67pt]{classKWritePermsIcon__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KWrite\-Perms\-Icon:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=253pt]{classKWritePermsIcon__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
void {\bf update\-Status} ()
\begin{CompactList}\small\item\em Re-implement this method if you want the icon to update itself when something external has changed (i.e. \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KWrite\-Perms\-Icon} (const  {\bf QString} \&file\-Name, {\bf QWidget} $\ast$parent=0, const  char $\ast$name=0)\label{classKWritePermsIcon_a0}

\item 
bool {\bf status} () const 
\item 
void {\bf set\-File\-Name} (const  {\bf QString} \&file\-Name)
\begin{CompactList}\small\item\em make the icon watch a new filename. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKWritePermsIcon_b0}

\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
bool {\bf writable}\label{classKWritePermsIcon_p0}

\item 
{\bf QFile\-Info} {\bf fi}\label{classKWritePermsIcon_p1}

\end{CompactItemize}


\subsection{Detailed Description}
Auth icon for write permission display. 

\begin{Desc}
\item[See also:]{\bf KAuth\-Icon}{\rm (p.\,\pageref{classKAuthIcon})} \end{Desc}
\begin{Desc}
\item[Author:]Preston Brown $<${\tt pbrown@kde.org}$>$ \end{Desc}




Definition at line 131 of file kauthicon.h.

\subsection{Member Function Documentation}
\index{KWritePermsIcon@{KWrite\-Perms\-Icon}!status@{status}}
\index{status@{status}!KWritePermsIcon@{KWrite\-Perms\-Icon}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KWrite\-Perms\-Icon::status () const\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classKWritePermsIcon_a2}


\begin{Desc}
\item[Returns:]whether or not the monitored file is writable. \end{Desc}


Implements {\bf KAuth\-Icon} {\rm (p.\,\pageref{classKAuthIcon_a3})}.

Definition at line 141 of file kauthicon.h.\index{KWritePermsIcon@{KWrite\-Perms\-Icon}!setFileName@{setFileName}}
\index{setFileName@{setFileName}!KWritePermsIcon@{KWrite\-Perms\-Icon}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KWrite\-Perms\-Icon::set\-File\-Name (const {\bf QString} \& {\em file\-Name})\hspace{0.3cm}{\tt  [inline]}}\label{classKWritePermsIcon_a3}


make the icon watch a new filename. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em file\-Name}]the new file to monitor / display status for. \end{description}
\end{Desc}


Definition at line 147 of file kauthicon.h.

References QFile\-Info::set\-File(), and update\-Status().\index{KWritePermsIcon@{KWrite\-Perms\-Icon}!updateStatus@{updateStatus}}
\index{updateStatus@{updateStatus}!KWritePermsIcon@{KWrite\-Perms\-Icon}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KWrite\-Perms\-Icon::update\-Status ()\hspace{0.3cm}{\tt  [virtual, slot]}}\label{classKWritePermsIcon_i0}


Re-implement this method if you want the icon to update itself when something external has changed (i.e. 

a file on disk, uid/gid). 

Implements {\bf KAuth\-Icon} {\rm (p.\,\pageref{classKAuthIcon_i0})}.

Definition at line 182 of file kauthicon.cpp.

References KAuth\-Icon::auth\-Changed(), QFile\-Info::is\-Writable(), QLabel::set\-Pixmap(), QLabel::set\-Text(), and QWidget::update().

Referenced by set\-File\-Name().

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