Scribus
Open source desktop publishing at your fingertips
ScLockedFile Class Referenceabstract

Base class for locked file access. More...

#include <sclockedfile.h>

Inheritance diagram for ScLockedFile:

Public Member Functions

void setName (const QString &name)
 
const QString & name () const
 
bool createPath () const
 
bool lock ()
 
bool unlock ()
 
bool locked () const
 
bool exists () const
 
bool remove () const
 
virtual bool open ()=0
 
virtual bool commit ()=0
 
virtual QIODevice * io ()=0
 

Static Public Attributes

static const QString lockSuffix
 

Protected Member Functions

 ScLockedFile (const QString &name)
 

Protected Attributes

QString m_fileName
 
bool m_isOpened
 

Detailed Description

Base class for locked file access.

Author
Marcus Holland-Moritz

The documentation for this class was generated from the following files: