Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
11
13{
14
15public:
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
\inmodule QtCore
Definition qbytearray.h:57
void setVersion(const int)
void setVersionData(const QJsonObject &versionData)
bool isNewVersion(const QJsonObject &newVersionData) const
int version() const
QByteArray toJson() const
\inmodule QtCore\reentrant
Definition qjsonobject.h:20
Combined button and popup list for selecting options.