• 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
OpenCachingCacheLogEntry.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 OPENCACHINGCACHELOGENTRY_H
12 #define OPENCACHINGCACHELOGENTRY_H
13 
14 #include <QString>
15 #include <QDateTime>
16 #include <QHash>
17 #include <QVariant>
18 
19 namespace Marble
20 {
21 
25 class OpenCachingCacheLogEntry
26 {
27 public:
28  OpenCachingCacheLogEntry( const QHash<QString, QVariant>& properties );
29 
30  void setCacheId( int cacheId );
31 
32  int cacheId() const;
33 
34  void setUserName( const QString& userName );
35 
36  const QString& userName() const;
37 
38  void setLogType( const QString& logType );
39 
40  const QString& logType() const;
41 
42  void setText( const QString& text );
43 
44  const QString& text() const;
45 
46  void setLogDate( const QDateTime& logDate );
47 
48  const QDateTime& logDate() const;
49 
50  void setCreatedDate( const QDateTime& createdDate );
51 
52  const QDateTime& createdDate() const;
53 
54  void setLastModifiedDate( const QDateTime& lastModifiedDate );
55 
56  const QDateTime& lastModifiedDate() const;
57 
58 private:
59  long m_cacheId;
60 
61  QString m_userName;
62 
63  QString m_logType;
64 
65  QString m_text;
66 
67  QDateTime m_logDate;
68 
69  QDateTime m_createdDate;
70 
71  QDateTime m_lastModifiedDate;
72 };
73 
74 }
75 
76 #endif // OPENCACHINGCACHELOGENTRY_H
Marble::OpenCachingCacheLogEntry::setCacheId
void setCacheId(int cacheId)
Definition: OpenCachingCacheLogEntry.cpp:27
Marble::OpenCachingCacheLogEntry::setUserName
void setUserName(const QString &userName)
Definition: OpenCachingCacheLogEntry.cpp:37
Marble::OpenCachingCacheLogEntry::lastModifiedDate
const QDateTime & lastModifiedDate() const
Definition: OpenCachingCacheLogEntry.cpp:92
Marble::OpenCachingCacheLogEntry::setText
void setText(const QString &text)
Definition: OpenCachingCacheLogEntry.cpp:57
Marble::OpenCachingCacheLogEntry::setLastModifiedDate
void setLastModifiedDate(const QDateTime &lastModifiedDate)
Definition: OpenCachingCacheLogEntry.cpp:87
Marble::OpenCachingCacheLogEntry::setLogType
void setLogType(const QString &logType)
Definition: OpenCachingCacheLogEntry.cpp:47
QHash< QString, QVariant >
Marble::OpenCachingCacheLogEntry::setCreatedDate
void setCreatedDate(const QDateTime &createdDate)
Definition: OpenCachingCacheLogEntry.cpp:77
QString
Marble::OpenCachingCacheLogEntry::userName
const QString & userName() const
Definition: OpenCachingCacheLogEntry.cpp:42
Marble::OpenCachingCacheLogEntry
Single log entry for a cache.
Definition: OpenCachingCacheLogEntry.h:25
Marble::OpenCachingCacheLogEntry::cacheId
int cacheId() const
Definition: OpenCachingCacheLogEntry.cpp:32
Marble::OpenCachingCacheLogEntry::logDate
const QDateTime & logDate() const
Definition: OpenCachingCacheLogEntry.cpp:72
Marble::OpenCachingCacheLogEntry::logType
const QString & logType() const
Definition: OpenCachingCacheLogEntry.cpp:52
Marble::OpenCachingCacheLogEntry::OpenCachingCacheLogEntry
OpenCachingCacheLogEntry(const QHash< QString, QVariant > &properties)
Definition: OpenCachingCacheLogEntry.cpp:16
Marble::OpenCachingCacheLogEntry::setLogDate
void setLogDate(const QDateTime &logDate)
Definition: OpenCachingCacheLogEntry.cpp:67
Marble::OpenCachingCacheLogEntry::text
const QString & text() const
Definition: OpenCachingCacheLogEntry.cpp:62
Marble::OpenCachingCacheLogEntry::createdDate
const QDateTime & createdDate() const
Definition: OpenCachingCacheLogEntry.cpp:82
QDateTime
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