• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • sources
  • kde-4.14
  • kdeedu
  • marble
  • src
  • lib
  • marble
  • geodata
  • data
GeoDataPlaylist.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2013 Illya Kovalevskyy <illya.kovalevskyy@gmail.com>
9 //
10 
11 #ifndef GEODATAPLAYLIST_H
12 #define GEODATAPLAYLIST_H
13 
14 #include "GeoDataObject.h"
15 #include "GeoDataTourPrimitive.h"
16 
17 #include <QList>
18 
19 namespace Marble
20 {
21 
22 class GEODATA_EXPORT GeoDataPlaylist : public GeoDataObject
23 {
24 public:
25 
26  bool operator==( const GeoDataPlaylist &other ) const;
27  bool operator!=( const GeoDataPlaylist &other ) const;
28  const char *nodeType() const;
29 
30  GeoDataTourPrimitive* primitive( int index );
31  const GeoDataTourPrimitive* primitive( int index ) const;
32  void addPrimitive( GeoDataTourPrimitive* primitive );
33  void insertPrimitive( int index, GeoDataTourPrimitive* primitive );
34  void removePrimitiveAt( int index );
35  void swapPrimitives( int indexA, int indexB );
36 
37  int size() const;
38 
39 private:
40  QList<GeoDataTourPrimitive*> m_primitives;
41 };
42 
43 } // namespace Marble
44 
45 #endif // GEODATAPLAYLIST_H
Marble::GeoDataObject
A base class for all geodata objects.
Definition: GeoDataObject.h:48
Marble::GeoDataTourPrimitive
Definition: GeoDataTourPrimitive.h:20
Marble::operator==
bool operator==(const DownloadPolicyKey &lhs, const DownloadPolicyKey &rhs)
Definition: DownloadPolicy.h:49
GeoDataObject.h
Marble::operator!=
bool operator!=(GeoDataLatLonBox const &lhs, GeoDataLatLonBox const &rhs)
Definition: GeoDataLatLonBox.cpp:59
Marble::GeoDataPlaylist
Definition: GeoDataPlaylist.h:22
QList
GeoDataTourPrimitive.h
GEODATA_EXPORT
#define GEODATA_EXPORT
Definition: geodata_export.h:22
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal