Marble

RenderState.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2014 Dennis Nienhüser <nienhueser@kde.org>
4//
5
6#ifndef MARBLE_RENDERSTATE_H
7#define MARBLE_RENDERSTATE_H
8
9#include "MarbleGlobal.h"
10#include "marble_export.h"
11
12#include <QDebug>
13
14namespace Marble
15{
16
17class MARBLE_EXPORT RenderState
18{
19public:
20 explicit RenderState(const QString &name = QString(), RenderStatus status = Complete);
21 RenderState(const RenderState &other);
22 RenderState &operator=(const RenderState &other);
23 ~RenderState();
24
25 RenderStatus status() const;
26 QString name() const;
27 int children() const;
28 RenderState childAt(int index) const;
29 void addChild(const RenderState &child);
30 operator QString() const;
31
32private:
33 class Private;
34 Private *const d;
35};
36
37} // namespace Marble
38
39#endif
Q_SCRIPTABLE CaptureState status()
QString name(GameStandardAction id)
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.