Public Slots |
Public Member Functions |
Protected Member Functions |
Protected Attributes |
List of all members
KWritePermsIcon Class Reference
#include <kauthicon.h>
Inheritance diagram for KWritePermsIcon:
Public Slots | |
| void | updateStatus () |
Public Slots inherited from KAuthIcon | |
| virtual void | updateStatus ()=0 |
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 |
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 | writable |
| TQFileInfo | fi |
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
Auth icon for write permission display.
- See also
- KAuthIcon
Definition at line 135 of file kauthicon.h.
Constructor & Destructor Documentation
◆ KWritePermsIcon()
| KWritePermsIcon::KWritePermsIcon | ( | const TQString & | fileName, |
| TQWidget * | parent = 0, |
||
| const char * | name = 0 |
||
| ) |
Definition at line 168 of file kauthicon.cpp.
◆ ~KWritePermsIcon()
| KWritePermsIcon::~KWritePermsIcon | ( | ) |
Definition at line 177 of file kauthicon.cpp.
Member Function Documentation
◆ fileName()
|
inline |
return the filename of the currently watched file.
- Since
- 3.4
Definition at line 158 of file kauthicon.h.
◆ setFileName()
|
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.
◆ status()
|
inlinevirtual |
- Returns
- whether or not the monitored file is writable.
Implements KAuthIcon.
Definition at line 146 of file kauthicon.h.
◆ updateStatus
|
slot |
Definition at line 181 of file kauthicon.cpp.
◆ virtual_hook()
|
protectedvirtual |
Reimplemented from KAuthIcon.
Definition at line 200 of file kauthicon.cpp.
Member Data Documentation
◆ fi
|
protected |
Definition at line 165 of file kauthicon.h.
◆ writable
|
protected |
Definition at line 164 of file kauthicon.h.
The documentation for this class was generated from the following files:
Trinity API Reference
Public Slots inherited from