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

marble

  • Marble
  • DiscCache
Public Member Functions | List of all members
Marble::DiscCache Class Reference

#include <DiscCache.h>

Public Member Functions

 DiscCache (const QString &cacheDirectory)
 
 ~DiscCache ()
 
quint64 cacheLimit () const
 
void clear ()
 
bool exists (const QString &key) const
 
bool find (const QString &key, QByteArray &data)
 
bool insert (const QString &key, const QByteArray &data)
 
void remove (const QString &key)
 
void setCacheLimit (quint64 n)
 

Detailed Description

Definition at line 24 of file DiscCache.h.

Constructor & Destructor Documentation

DiscCache::DiscCache ( const QString &  cacheDirectory)
explicit

Definition at line 27 of file DiscCache.cpp.

DiscCache::~DiscCache ( )

Definition at line 51 of file DiscCache.cpp.

Member Function Documentation

quint64 DiscCache::cacheLimit ( ) const

Definition at line 67 of file DiscCache.cpp.

void DiscCache::clear ( )

Definition at line 72 of file DiscCache.cpp.

bool DiscCache::exists ( const QString &  key) const

Definition at line 93 of file DiscCache.cpp.

bool DiscCache::find ( const QString &  key,
QByteArray &  data 
)

Definition at line 98 of file DiscCache.cpp.

bool DiscCache::insert ( const QString &  key,
const QByteArray &  data 
)

Definition at line 116 of file DiscCache.cpp.

void DiscCache::remove ( const QString &  key)

Definition at line 141 of file DiscCache.cpp.

void DiscCache::setCacheLimit ( quint64  n)

Definition at line 159 of file DiscCache.cpp.


The documentation for this class was generated from the following files:
  • DiscCache.h
  • DiscCache.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:44 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal