\section{KRoot\-Perms\-Icon Class Reference}
\label{classKRootPermsIcon}\index{KRootPermsIcon@{KRootPermsIcon}}
Icon to show whether or not a user has root permissions.  


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

Inheritance diagram for KRoot\-Perms\-Icon:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=64pt]{classKRootPermsIcon__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KRoot\-Perms\-Icon:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=226pt]{classKRootPermsIcon__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 KRoot\-Perms\-Icon} ({\bf QWidget} $\ast$parent=0, const char $\ast$name=0)\label{classKRootPermsIcon_a0}

\item 
bool {\bf status} () const 
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKRootPermsIcon_b0}

\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
bool {\bf root}\label{classKRootPermsIcon_p0}

\end{CompactItemize}


\subsection{Detailed Description}
Icon to show whether or not a user has root permissions. 

\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 103 of file kauthicon.h.

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


return whether or not the current user has root permissions. 



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

Definition at line 114 of file kauthicon.h.\index{KRootPermsIcon@{KRoot\-Perms\-Icon}!updateStatus@{updateStatus}}
\index{updateStatus@{updateStatus}!KRootPermsIcon@{KRoot\-Perms\-Icon}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KRoot\-Perms\-Icon::update\-Status ()\hspace{0.3cm}{\tt  [virtual, slot]}}\label{classKRootPermsIcon_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 154 of file kauthicon.cpp.

References KAuth\-Icon::auth\-Changed(), 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}
