kitchensync Library API Documentation

KSharedFileDevice Class Reference

This class behaves like a QFile on open it'll try to lock the file via the KDED Module. More...

#include <ksharedfiledevice.h>

Inheritance diagram for KSharedFileDevice:

QFile List of all members.

Public Member Functions

 KSharedFileDevice ()
 KSharedFileDevice (const QString &name)
virtual bool open (int mode)
virtual void close ()

Detailed Description

This class behaves like a QFile on open it'll try to lock the file via the KDED Module.

Version:
0.1
Author:
Zecke

Definition at line 32 of file ksharedfiledevice.h.


Constructor & Destructor Documentation

KSharedFileDevice::KSharedFileDevice  ) 
 

Simple c'tor.

Definition at line 29 of file ksharedfiledevice.cpp.

KSharedFileDevice::KSharedFileDevice const QString name  ) 
 

Simple c'tor with a filename as parameter.

Parameters:
name The filename

Definition at line 33 of file ksharedfiledevice.cpp.


Member Function Documentation

bool KSharedFileDevice::open int  mode  )  [virtual]
 

Try to open the file it'll also lock through the KDED Module.

Parameters:
mode the mode to open the file
Returns:
failure
See also:
QFile::open

Definition at line 44 of file ksharedfiledevice.cpp.

References open().

Referenced by open().

void KSharedFileDevice::close  )  [virtual]
 

This will close and unlock the file.

Definition at line 115 of file ksharedfiledevice.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kitchensync Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Oct 1 15:19:00 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003