Kgapi

object.h
1 /*
2  * This file is part of LibKGAPI library
3  *
4  * SPDX-FileCopyrightText: 2013 Daniel Vrátil <[email protected]>
5  *
6  * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7  */
8 
9 #ifndef LIBKGAPI2_OBJECT_H
10 #define LIBKGAPI2_OBJECT_H
11 
12 #include <QString>
13 #include <QSharedPointer>
14 
15 #include "types.h"
16 #include "kgapicore_export.h"
17 
18 namespace KGAPI2
19 {
20 
31 class KGAPICORE_EXPORT Object
32 {
33  public:
37  Object();
38 
42  Object(const Object &other);
43 
47  virtual ~Object();
48 
49  bool operator==(const Object &other) const;
50 
59  void setEtag(const QString &etag);
60 
66  QString etag() const;
67 
68  private:
69  class Private;
70  Private * const d;
71  friend class Private;
72 
73 };
74 
75 } // namespace KGAPI2
76 
77 #endif // LIBKGAPI2_OBJECT_H
Base class for all objects.
Definition: object.h:31
A job to fetch a single map tile described by a StaticMapUrl.
Definition: blog.h:16
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Sep 21 2020 23:10:54 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.