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

marble

  • sources
  • kde-4.14
  • kdeedu
  • marble
  • src
  • plugins
  • render
  • opencaching
OpenCachingCacheLog.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2011 Daniel Marth <danielmarth@gmx.at>
9 //
10 
11 #ifndef OPENCACHINGCACHELOG_H
12 #define OPENCACHINGCACHELOG_H
13 
14 #include "OpenCachingCacheLogEntry.h"
15 
16 #include <QList>
17 
18 namespace Marble
19 {
20 
24 class OpenCachingCacheLog
25 {
26 public:
27  OpenCachingCacheLog();
28 
29  OpenCachingCacheLogEntry& operator[]( int index );
30 
31  void setCacheId( unsigned long long cacheId );
32 
33  unsigned long long cacheId() const;
34 
35  void addLogEntry( const OpenCachingCacheLogEntry& logEntry );
36 
37  void removeLogEntry( int index );
38 
39  int size() const;
40 
41  void clear();
42 
43  int currentIndex() const;
44 
45 private:
46  unsigned long long m_cacheId;
47 
48  QList<OpenCachingCacheLogEntry> m_logEntries;
49 };
50 
51 }
52 #endif // OPENCACHINGCACHELOG_H
Marble::OpenCachingCacheLog::removeLogEntry
void removeLogEntry(int index)
Definition: OpenCachingCacheLog.cpp:41
Marble::OpenCachingCacheLog::setCacheId
void setCacheId(unsigned long long cacheId)
Definition: OpenCachingCacheLog.cpp:26
Marble::OpenCachingCacheLog::OpenCachingCacheLog
OpenCachingCacheLog()
Definition: OpenCachingCacheLog.cpp:16
Marble::OpenCachingCacheLog::operator[]
OpenCachingCacheLogEntry & operator[](int index)
Definition: OpenCachingCacheLog.cpp:21
Marble::OpenCachingCacheLog::size
int size() const
Definition: OpenCachingCacheLog.cpp:46
Marble::OpenCachingCacheLog::addLogEntry
void addLogEntry(const OpenCachingCacheLogEntry &logEntry)
Definition: OpenCachingCacheLog.cpp:36
QList
Marble::OpenCachingCacheLog
All log entries for a cache.
Definition: OpenCachingCacheLog.h:24
Marble::OpenCachingCacheLogEntry
Single log entry for a cache.
Definition: OpenCachingCacheLogEntry.h:25
Marble::OpenCachingCacheLog::clear
void clear()
Definition: OpenCachingCacheLog.cpp:51
OpenCachingCacheLogEntry.h
Marble::OpenCachingCacheLog::currentIndex
int currentIndex() const
Marble::OpenCachingCacheLog::cacheId
unsigned long long cacheId() const
Definition: OpenCachingCacheLog.cpp:31
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 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