Public Slots |
Public Member Functions |
Protected Member Functions |
Protected Attributes |
List of all members
KRootPermsIcon Class Reference
#include <kauthicon.h>
Inheritance diagram for KRootPermsIcon:
Public Slots | |
| void | updateStatus () |
Public Slots inherited from KAuthIcon | |
| virtual void | updateStatus ()=0 |
Public Member Functions | |
| KRootPermsIcon (TQWidget *parent=0, const char *name=0) | |
| bool | status () const |
Public Member Functions inherited from KAuthIcon | |
| KAuthIcon (TQWidget *parent=0, const char *name=0) | |
| virtual TQSize | sizeHint () const |
| virtual bool | status () const =0 |
Protected Member Functions | |
| virtual void | virtual_hook (int id, void *data) |
| virtual void | virtual_hook (int id, void *data) |
Protected Attributes | |
| bool | root |
Protected Attributes inherited from KAuthIcon | |
| TQHBoxLayout * | layout |
| TQLabel * | lockBox |
| TQLabel * | lockLabel |
| TQPixmap | lockPM |
| TQPixmap | openLockPM |
| TQString | lockText |
| TQString | openLockText |
Additional Inherited Members | |
Signals inherited from KAuthIcon | |
| void | authChanged (bool authorized) |
Detailed Description
Icon to show whether or not a user has root permissions.
- See also
- KAuthIcon
Definition at line 103 of file kauthicon.h.
Constructor & Destructor Documentation
◆ KRootPermsIcon()
| KRootPermsIcon::KRootPermsIcon | ( | TQWidget * | parent = 0, |
| const char * | name = 0 |
||
| ) |
Definition at line 143 of file kauthicon.cpp.
◆ ~KRootPermsIcon()
| KRootPermsIcon::~KRootPermsIcon | ( | ) |
Definition at line 150 of file kauthicon.cpp.
Member Function Documentation
◆ status()
|
inlinevirtual |
return whether or not the current user has root permissions.
Implements KAuthIcon.
Definition at line 114 of file kauthicon.h.
◆ updateStatus
|
slot |
Definition at line 154 of file kauthicon.cpp.
◆ virtual_hook()
|
protectedvirtual |
Reimplemented from KAuthIcon.
Definition at line 197 of file kauthicon.cpp.
Member Data Documentation
◆ root
|
protected |
Definition at line 120 of file kauthicon.h.
The documentation for this class was generated from the following files:
Trinity API Reference
Public Slots inherited from