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

kdeui

KWritePermsIcon Class Reference

Auth icon for write permission display. More...

#include <kauthicon.h>

Inheritance diagram for KWritePermsIcon:

Inheritance graph
[legend]

List of all members.


Public Slots

void updateStatus ()

Public Member Functions

QString fileName () const
 KWritePermsIcon (const QString &fileName, QWidget *parent=0, const char *name=0)
void setFileName (const QString &fileName)
bool status () const
 ~KWritePermsIcon ()

Protected Member Functions

virtual void virtual_hook (int id, void *data)

Protected Attributes

QFileInfo fi
bool writable

Properties

QString fileName

Detailed Description

Auth icon for write permission display.

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

Definition at line 135 of file kauthicon.h.


Constructor & Destructor Documentation

KWritePermsIcon::KWritePermsIcon ( const QString &  fileName,
QWidget *  parent = 0,
const char *  name = 0 
)

Definition at line 168 of file kauthicon.cpp.

KWritePermsIcon::~KWritePermsIcon (  ) 

Definition at line 177 of file kauthicon.cpp.


Member Function Documentation

QString 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 QString &  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.

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

Reimplemented from KAuthIcon.

Definition at line 200 of file kauthicon.cpp.


Member Data Documentation

QFileInfo KWritePermsIcon::fi [protected]

Definition at line 165 of file kauthicon.h.

bool KWritePermsIcon::writable [protected]

Definition at line 164 of file kauthicon.h.


Property Documentation

QString KWritePermsIcon::fileName [read, write]

Definition at line 138 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