Marble

GeoDataPlaylist.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2013 Illya Kovalevskyy <[email protected]>
4 //
5 
6 #ifndef GEODATAPLAYLIST_H
7 #define GEODATAPLAYLIST_H
8 
9 #include "GeoDataObject.h"
10 #include "GeoDataTourPrimitive.h"
11 
12 #include <QList>
13 
14 namespace Marble
15 {
16 
17 /**
18  */
19 class GEODATA_EXPORT GeoDataPlaylist : public GeoDataObject
20 {
21 public:
22 
23  bool operator==( const GeoDataPlaylist &other ) const;
24  bool operator!=( const GeoDataPlaylist &other ) const;
25  const char *nodeType() const override;
26 
27  GeoDataTourPrimitive* primitive( int index );
28  const GeoDataTourPrimitive* primitive( int index ) const;
29  void addPrimitive( GeoDataTourPrimitive* primitive );
30  void insertPrimitive( int index, GeoDataTourPrimitive* primitive );
31  void removePrimitiveAt( int index );
32  void swapPrimitives( int indexA, int indexB );
33 
34  int size() const;
35 
36 private:
37  QList<GeoDataTourPrimitive*> m_primitives;
38 };
39 
40 } // namespace Marble
41 
42 #endif // GEODATAPLAYLIST_H
bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
bool operator!=(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 21 2023 04:12:26 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.