Scribus
Open source desktop publishing at your fingertips
ScImageCacheDir Class Reference

Representation of a directory node in the image cache tree. More...

#include <scimagecachedir.h>

Inheritance diagram for ScImageCacheDir:
Collaboration diagram for ScImageCacheDir:

Public Types

typedef unsigned int AccessCounter
 

Signals

void fileCreated (ScImageCacheFile *file, const QFileInfo &info)
 
void fileChanged (ScImageCacheFile *file, const QFileInfo &info)
 
void fileRemoved (ScImageCacheFile *file)
 

Public Member Functions

 ScImageCacheDir (const QString &dir, ScImageCacheDir *parent=0, bool scanFiles=false, const QStringList &suffixList=QStringList())
 
ScImageCacheDirnewSubDir (const QString &dir, bool scanFiles=false, const QStringList &suffixList=QStringList())
 
const QString & name () const
 
QString path (bool relative=false) const
 
QString path (const QString &file) const
 
qint64 size () const
 
bool exists () const
 
void update ()
 
bool updateFile (const QString &file)
 
bool updateAccess (const QString &dir, AccessCounter from, AccessCounter to)
 

Static Public Member Functions

static bool lastAccess (const QString &dir, AccessCounter &access)
 

Static Public Attributes

static const QString accessFileName
 

Detailed Description

Representation of a directory node in the image cache tree.

Author
Marcus Holland-Moritz

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