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 bool operator==(const GeoDataPlaylist &other) const;
23 bool operator!=(const GeoDataPlaylist &other) const;
24 const char *nodeType() const override;
25
26 GeoDataTourPrimitive *primitive(int index);
27 const GeoDataTourPrimitive *primitive(int index) const;
28 void addPrimitive(GeoDataTourPrimitive *primitive);
29 void insertPrimitive(int index, GeoDataTourPrimitive *primitive);
30 void removePrimitiveAt(int index);
31 void swapPrimitives(int indexA, int indexB);
32
33 int size() const;
34
35private:
37};
38
39} // namespace Marble
40
41#endif // GEODATAPLAYLIST_H
KIOCORE_EXPORT bool operator!=(const UDSEntry &entry, const UDSEntry &other)
KIOCORE_EXPORT bool operator==(const UDSEntry &entry, const UDSEntry &other)
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.