KRootPermsIcon Class Reference
Icon to show whether or not a user has root permissions. More...
#include <kauthicon.h>
Inheritance diagram for KRootPermsIcon:


Public Slots | |
void | updateStatus () |
Re-implement this method if you want the icon to update itself when something external has changed (i.e. | |
Public Member Functions | |
KRootPermsIcon (QWidget *parent=0, const char *name=0) | |
bool | status () const |
return whether or not the current user has root permissions. | |
Protected Member Functions | |
virtual void | virtual_hook (int id, void *data) |
Protected Attributes | |
bool | root |
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
|
return whether or not the current user has root permissions.
Implements KAuthIcon. Definition at line 110 of file kauthicon.h. |
|
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: