• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kdeui

KRootPermsIcon Class Reference

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

#include <kauthicon.h>

Inheritance diagram for KRootPermsIcon:

Inheritance graph
[legend]

List of all members.


Public Slots

void updateStatus ()

Public Member Functions

 KRootPermsIcon (QWidget *parent=0, const char *name=0)
bool status () const
 ~KRootPermsIcon ()

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


Constructor & Destructor Documentation

KRootPermsIcon::KRootPermsIcon ( QWidget *  parent = 0,
const char *  name = 0 
)

Definition at line 143 of file kauthicon.cpp.

KRootPermsIcon::~KRootPermsIcon (  ) 

Definition at line 150 of file kauthicon.cpp.


Member Function Documentation

bool KRootPermsIcon::status (  )  const [inline, virtual]

return whether or not the current user has root permissions.

Implements KAuthIcon.

Definition at line 114 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.

void KRootPermsIcon::virtual_hook ( int  id,
void *  data 
) [protected, virtual]

Reimplemented from KAuthIcon.

Definition at line 197 of file kauthicon.cpp.


Member Data Documentation

bool KRootPermsIcon::root [protected]

Definition at line 120 of file kauthicon.h.


The documentation for this class was generated from the following files:
  • kauthicon.h
  • kauthicon.cpp

kdeui

Skip menu "kdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal