Marble

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

KDE's Doxygen guidelines are available online.