Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qgeomapversion.h
Go to the documentation of this file.
1// Copyright (C) 2014 Appello Systems AB.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QGEOMAPVERSION_H
5#define QGEOMAPVERSION_H
6
7#include <QByteArray>
8#include <QJsonObject>
9
10QT_BEGIN_NAMESPACE
11
12class QGeoMapVersion
13{
14
15public:
16 QGeoMapVersion();
17 bool isNewVersion(const QJsonObject &newVersionData) const;
18 int version() const;
19 void setVersion(const int);
20 void setVersionData(const QJsonObject &versionData);
21 QByteArray toJson() const;
22
23private:
24 int m_version;
25 QJsonObject m_versionData;
26};
27
29
30#endif // QGEOMAPVERSION_H