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

marble/src

FileStoragePolicy Class Reference

#include <FileStoragePolicy.h>

Inheritance diagram for FileStoragePolicy:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 16 of file FileStoragePolicy.h.


Public Member Functions

 FileStoragePolicy (const QString &dataDirectory=QString())
 ~FileStoragePolicy ()
bool fileExists (const QString &fileName) const
bool updateFile (const QString &fileName, const QByteArray &data)
QString lastErrorMessage () const

Constructor & Destructor Documentation

FileStoragePolicy::FileStoragePolicy ( const QString &  dataDirectory = QString()  ) 

Creates a new file storage policy.

Parameters:
dataDirectory The directory where the data should go to.

Definition at line 19 of file FileStoragePolicy.cpp.

FileStoragePolicy::~FileStoragePolicy (  ) 

Destroys the cache storage policy.

Definition at line 29 of file FileStoragePolicy.cpp.


Member Function Documentation

bool FileStoragePolicy::fileExists ( const QString &  fileName  )  const [virtual]

Returns whether the fileName exists already.

Implements StoragePolicy.

Definition at line 33 of file FileStoragePolicy.cpp.

bool FileStoragePolicy::updateFile ( const QString &  fileName,
const QByteArray &  data 
) [virtual]

Updates the fileName with the given data.

Implements StoragePolicy.

Definition at line 40 of file FileStoragePolicy.cpp.

QString FileStoragePolicy::lastErrorMessage (  )  const [virtual]

Returns the last error message.

Implements StoragePolicy.

Definition at line 71 of file FileStoragePolicy.cpp.


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

marble/src

Skip menu "marble/src"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
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