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

kio

KDirNotify Class Reference

An abstract class that receives notifications of added and removed files in any directory, local or remote. More...

#include <kdirnotify.h>

Inheritance diagram for KDirNotify:

Inheritance graph
[legend]

List of all members.


Protected Member Functions

 KDirNotify ()
virtual void virtual_hook (int id, void *data)
virtual ~KDirNotify ()

Detailed Description

An abstract class that receives notifications of added and removed files in any directory, local or remote.

The information comes from the konqueror/kdesktop instance where the operation was done, and can interest KDirListers, bookmark handlers, etc.

Definition at line 32 of file kdirnotify.h.


Constructor & Destructor Documentation

KDirNotify::KDirNotify (  )  [protected]

Definition at line 25 of file kdirnotify.cpp.

virtual KDirNotify::~KDirNotify (  )  [inline, protected, virtual]

Definition at line 37 of file kdirnotify.h.


Member Function Documentation

void KDirNotify::FileRenamed ( const KURL &  src,
const KURL &  dst 
) [virtual]

Notify that a file has been renamed.

Note: this is ASYNC so that it can be used with a broadcast

Parameters:
src a list containing original names of the renamed files
dst a list of original names of the renamed files

Definition at line 34 of file kdirnotify.cpp.

virtual ASYNC KDirNotify::FilesAdded ( const KURL &  directory  )  [pure virtual]

Notify that files have been added in directory Note: this is ASYNC so that it can be used with a broadcast.

Parameters:
directory the directory that contains the new files

virtual ASYNC KDirNotify::FilesChanged ( const KURL::List &  fileList  )  [pure virtual]

Notify that files have been changed.

At the moment, this is only used for new icon, but it could be used for size etc. as well. Note: this is ASYNC so that it can be used with a broadcast.

Parameters:
fileList the list of changed files

virtual ASYNC KDirNotify::FilesRemoved ( const KURL::List &  fileList  )  [pure virtual]

Notify that files have been deleted.

Note: this is ASYNC so that it can be used with a broadcast

Parameters:
fileList the files that have been deleted

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

Definition at line 38 of file kdirnotify.cpp.


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

kio

Skip menu "kio"
  • Main Page
  • Modules
  • 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