Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KWritePermsIcon Class Reference

#include <kauthicon.h>

Inheritance diagram for KWritePermsIcon:

KAuthIcon List of all members.

Public Slots

void updateStatus ()

Public Methods

bool status () const
void setFileName (const QString &fileName)

Protected Methods

virtual void virtual_hook (int id, void *data)

Detailed Description

Auth icon for write permission display.

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

Definition at line 131 of file kauthicon.h.


Member Function Documentation

void KWritePermsIcon::setFileName const QString &    fileName [inline]
 

make the icon watch a new filename.

Parameters:
fileName  the new file to monitor / display status for.

Definition at line 147 of file kauthicon.h.

References updateStatus().

bool KWritePermsIcon::status   const [inline, virtual]
 

Returns:
whether or not the monitored file is writable.

Implements KAuthIcon.

Definition at line 141 of file kauthicon.h.

void KWritePermsIcon::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.

Referenced by setFileName().


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:28 2003 for kdelibs by doxygen1.2.18