• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeui
 

tdeui

Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
KWritePermsIcon Class Reference

#include <kauthicon.h>

Inheritance diagram for KWritePermsIcon:
KAuthIcon

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

Protected Member Functions

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
Author
Preston Brown pbrow.nosp@m.n@kd.nosp@m.e.org

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()

TQString KWritePermsIcon::fileName ( ) const
inline

return the filename of the currently watched file.

Since
3.4

Definition at line 158 of file kauthicon.h.

◆ setFileName()

void KWritePermsIcon::setFileName ( const TQString & fileName)
inline

make the icon watch a new filename.

Parameters
fileNamethe new file to monitor / display status for.

Definition at line 152 of file kauthicon.h.

◆ status()

bool KWritePermsIcon::status ( ) const
inlinevirtual
Returns
whether or not the monitored file is writable.

Implements KAuthIcon.

Definition at line 146 of file kauthicon.h.

◆ updateStatus

void KWritePermsIcon::updateStatus ( )
slot

Definition at line 181 of file kauthicon.cpp.

◆ virtual_hook()

void KWritePermsIcon::virtual_hook ( int id,
void * data )
protectedvirtual

Reimplemented from KAuthIcon.

Definition at line 200 of file kauthicon.cpp.

Member Data Documentation

◆ fi

TQFileInfo KWritePermsIcon::fi
protected

Definition at line 165 of file kauthicon.h.

◆ writable

bool KWritePermsIcon::writable
protected

Definition at line 164 of file kauthicon.h.


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

tdeui

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

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.15.0
This website is maintained by Timothy Pearson.