• 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
TourPlayback.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 2014 Sanjiban Bairagya <sanjiban22393@gmail.com>
9 //
10 
11 #ifndef TOURPLAYBACK_H
12 #define TOURPLAYBACK_H
13 
14 #include <QObject>
15 
16 #include "marble_export.h"
17 
18 namespace Marble
19 {
20 
21 class MarbleWidget;
22 class GeoDataCoordinates;
23 class GeoDataTour;
24 class GeoDataPlacemark;
25 
26 class TourPlaybackPrivate;
27 
28 class MARBLE_EXPORT TourPlayback : public QObject
29 {
30  Q_OBJECT
31 public:
32  explicit TourPlayback(QObject *parent=0);
33  ~TourPlayback();
34 
35  void setTour(const GeoDataTour *tour);
36  void setMarbleWidget( MarbleWidget *widget );
37 
39  double duration() const;
40  bool isPlaying() const;
41 
42  void play();
43  void pause();
44  void stop();
45 
50  void seek( double offset );
51 
52 Q_SIGNALS:
53  void finished();
54  void paused();
55  void stopped();
56  void centerOn( const GeoDataCoordinates &coordinates );
57  void progressChanged( double );
58 
59 private Q_SLOTS:
60  void stopTour();
61  void hideBalloon();
62  void showBalloon( GeoDataPlacemark* );
63 
64 private:
65  TourPlaybackPrivate * const d;
66 };
67 
68 } // namespace Marble
69 
70 #endif // TOURPLAYBACK_H
Marble::GeoDataCoordinates
A 3d point representation.
Definition: GeoDataCoordinates.h:52
Marble::GeoDataTour
Definition: GeoDataTour.h:25
Marble::MarbleWidget
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:104
QObject
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
Marble::TourPlayback
Definition: TourPlayback.h:28
marble_export.h
MarbleWidget
Wraps a Marble::MarbleWidget, providing access to important properties and methods.
Definition: MarbleDeclarativeWidget.h:50
Marble::GeoDataPlacemark
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:54
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:42 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