kdeui Library API Documentation

KRootPermsIcon Class Reference

Icon to show whether or not a user has root permissions. More...

#include <kauthicon.h>

Inheritance diagram for KRootPermsIcon:

KAuthIcon QWidget List of all members.

Public Slots

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


Public Methods

bool status () const
 return whether or not the current user has root permissions.


Protected Methods

virtual void virtual_hook (int id, void *data)

Detailed Description

Icon to show whether or not a user has root permissions.

See also:
KAuthIcon
Author:
Preston Brown <pbrown@kde.org>

Definition at line 99 of file kauthicon.h.


Member Function Documentation

bool KRootPermsIcon::status   const [inline, virtual]
 

return whether or not the current user has root permissions.

Implements KAuthIcon.

Definition at line 110 of file kauthicon.h.

void KRootPermsIcon::updateStatus   [virtual, slot]
 

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 KAuthIcon.

Definition at line 154 of file kauthicon.cpp.

References KAuthIcon::authChanged(), QLabel::setPixmap(), QLabel::setText(), and QWidget::update().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.0.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Oct 8 12:21:07 2003 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001