Marble

GeoDataPlaylist.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2013 Illya Kovalevskyy <illya.kovalevskyy@gmail.com>
4//
5
6#ifndef GEODATAPLAYLIST_H
7#define GEODATAPLAYLIST_H
8
9#include "GeoDataObject.h"
10#include "GeoDataTourPrimitive.h"
11
12#include <QList>
13
14namespace Marble
15{
16
17/**
18 */
19class GEODATA_EXPORT GeoDataPlaylist : public GeoDataObject
20{
21public:
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
36private:
38};
39
40} // namespace Marble
41
42#endif // GEODATAPLAYLIST_H
Binds a QML item to a specific geodetic location in screen coordinates.
bool operator==(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
bool operator!=(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 21 2024 12:00:06 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.