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

marble

  • Marble
  • FileStorageWatcherThread
Public Slots | Signals | Public Member Functions | List of all members
Marble::FileStorageWatcherThread Class Reference

#include <FileStorageWatcher.h>

Inheritance diagram for Marble::FileStorageWatcherThread:
Inheritance graph
[legend]

Public Slots

void addToCurrentSize (qint64 bytes)
 
void getCurrentCacheSize ()
 
void prepareQuit ()
 
void resetCurrentSize ()
 
void setCacheLimit (quint64 bytes)
 
void updateTheme (const QString &mapTheme)
 

Signals

void variableChanged ()
 

Public Member Functions

 FileStorageWatcherThread (const QString &dataDirectory, QObject *parent=0)
 
 ~FileStorageWatcherThread ()
 
quint64 cacheLimit ()
 

Detailed Description

Definition at line 22 of file FileStorageWatcher.h.

Constructor & Destructor Documentation

FileStorageWatcherThread::FileStorageWatcherThread ( const QString &  dataDirectory,
QObject *  parent = 0 
)
explicit

Definition at line 37 of file FileStorageWatcher.cpp.

FileStorageWatcherThread::~FileStorageWatcherThread ( )

Definition at line 52 of file FileStorageWatcher.cpp.

Member Function Documentation

void FileStorageWatcherThread::addToCurrentSize ( qint64  bytes)
slot

Add bytes to the current cache size.

So FileStorageWatcher is aware of the current cache size.

Definition at line 70 of file FileStorageWatcher.cpp.

quint64 FileStorageWatcherThread::cacheLimit ( )

Definition at line 56 of file FileStorageWatcher.cpp.

void FileStorageWatcherThread::getCurrentCacheSize ( )
slot

Getting the current size of the data stored on the disc.

Definition at line 101 of file FileStorageWatcher.cpp.

void FileStorageWatcherThread::prepareQuit ( )
slot

Stop doing things that take a long time to quit.

Definition at line 96 of file FileStorageWatcher.cpp.

void FileStorageWatcherThread::resetCurrentSize ( )
slot

Setting current cache size to 0.

Definition at line 81 of file FileStorageWatcher.cpp.

void FileStorageWatcherThread::setCacheLimit ( quint64  bytes)
slot

Sets the limit of the cache in bytes.

Definition at line 61 of file FileStorageWatcher.cpp.

void FileStorageWatcherThread::updateTheme ( const QString &  mapTheme)
slot

Updates the name of the theme.

Important for deleting behavior.

Parameters
mapThemeThe identifier of the new theme.

Definition at line 87 of file FileStorageWatcher.cpp.

void Marble::FileStorageWatcherThread::variableChanged ( )
signal

Is emitted when a variable has changed.


The documentation for this class was generated from the following files:
  • FileStorageWatcher.h
  • FileStorageWatcher.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:55 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
  • kstars
  • libkdeedu
  •   keduvocdocument
  • 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