\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=65pt]{classKWritePermsIcon__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KWrite\-Perms\-Icon:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=226pt]{classKWritePermsIcon__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
void {\bf update\-Status} ()
\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)
\item 
{\bf QString} {\bf file\-Name} () const 
\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*{Properties}
\begin{CompactItemize}
\item 
{\bf QString} {\bf file\-Name}\label{classKWritePermsIcon_00}

\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 135 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 146 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 152 of file kauthicon.h.

References KAuth\-Icon::update\-Status().\index{KWritePermsIcon@{KWrite\-Perms\-Icon}!fileName@{fileName}}
\index{fileName@{fileName}!KWritePermsIcon@{KWrite\-Perms\-Icon}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KWrite\-Perms\-Icon::file\-Name () const\hspace{0.3cm}{\tt  [inline]}}\label{classKWritePermsIcon_a4}


return the filename of the currently watched file. 

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


Definition at line 158 of file kauthicon.h.\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 181 of file kauthicon.cpp.

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

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