tdeui
KWritePermsIcon Class Reference
Auth icon for write permission display. More...
#include <kauthicon.h>
Inheritance diagram for KWritePermsIcon:

Public Slots | |
void | updateStatus () |
Public Member Functions | |
KWritePermsIcon (const TQString &fileName, TQWidget *parent=0, const char *name=0) | |
bool | status () const |
void | setFileName (const TQString &fileName) |
TQString | fileName () const |
Protected Member Functions | |
virtual void | virtual_hook (int id, void *data) |
Protected Attributes | |
bool | writable |
TQFileInfo | fi |
Detailed Description
Auth icon for write permission display.
- See also:
- KAuthIcon
Definition at line 135 of file kauthicon.h.
Member Function Documentation
TQString KWritePermsIcon::fileName | ( | ) | const [inline] |
return the filename of the currently watched file.
- Since:
- 3.4
Definition at line 158 of file kauthicon.h.
void KWritePermsIcon::setFileName | ( | const TQString & | fileName | ) | [inline] |
make the icon watch a new filename.
- Parameters:
-
fileName the new file to monitor / display status for.
Definition at line 152 of file kauthicon.h.
bool KWritePermsIcon::status | ( | ) | const [inline, virtual] |
- Returns:
- whether or not the monitored file is writable.
Implements KAuthIcon.
Definition at line 146 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.
Definition at line 181 of file kauthicon.cpp.
The documentation for this class was generated from the following files: