• 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
PlaybackFlyToItem.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 PLAYBACKFLYTOITEM_H
12 #define PLAYBACKFLYTOITEM_H
13 
14 #include "PlaybackItem.h"
15 #include "GeoDataFlyTo.h"
16 #include "GeoDataCoordinates.h"
17 
18 namespace Marble
19 {
20 class PlaybackFlyToItem : public PlaybackItem
21 {
22  Q_OBJECT
23 public:
24  PlaybackFlyToItem( const GeoDataFlyTo* flyTo );
25  const GeoDataFlyTo* flyTo() const;
26  double duration() const;
27  void play();
28  void pause();
29  void seek( double position );
30  void stop();
31  void center( double t );
32  void setBefore(PlaybackFlyToItem* before);
33  void setNext(PlaybackFlyToItem* next);
34  void setStartCoordinates( const GeoDataCoordinates &coordinates );
35 
36 private Q_SLOTS:
37  void playNext();
38 
39 private:
40  const GeoDataFlyTo* m_flyTo;
41  PlaybackFlyToItem* m_before;
42  PlaybackFlyToItem* m_next;
43  QDateTime m_start;
44  QDateTime m_pause;
45  double m_duration;
46  bool m_isPlaying;
47 };
48 
49 }
50 #endif
GeoDataCoordinates.h
Marble::GeoDataCoordinates
A 3d point representation.
Definition: GeoDataCoordinates.h:52
Marble::PlaybackFlyToItem::flyTo
const GeoDataFlyTo * flyTo() const
Definition: PlaybackFlyToItem.cpp:32
Marble::PlaybackFlyToItem::pause
void pause()
Definition: PlaybackFlyToItem.cpp:79
Marble::PlaybackFlyToItem::play
void play()
Definition: PlaybackFlyToItem.cpp:42
Marble::PlaybackFlyToItem::setNext
void setNext(PlaybackFlyToItem *next)
Definition: PlaybackFlyToItem.cpp:122
Marble::PlaybackFlyToItem::setStartCoordinates
void setStartCoordinates(const GeoDataCoordinates &coordinates)
Marble::PlaybackFlyToItem
Definition: PlaybackFlyToItem.h:20
Marble::PlaybackFlyToItem::setBefore
void setBefore(PlaybackFlyToItem *before)
Definition: PlaybackFlyToItem.cpp:117
Marble::GeoDataFlyTo
Definition: GeoDataFlyTo.h:23
Marble::PlaybackFlyToItem::PlaybackFlyToItem
PlaybackFlyToItem(const GeoDataFlyTo *flyTo)
Definition: PlaybackFlyToItem.cpp:22
Marble::PlaybackFlyToItem::stop
void stop()
Definition: PlaybackFlyToItem.cpp:92
PlaybackItem.h
Marble::PlaybackFlyToItem::seek
void seek(double position)
Definition: PlaybackFlyToItem.cpp:85
GeoDataFlyTo.h
Marble::PlaybackItem
Definition: PlaybackItem.h:20
QDateTime
Marble::PlaybackFlyToItem::center
void center(double t)
Definition: PlaybackFlyToItem.cpp:99
Marble::PlaybackFlyToItem::duration
double duration() const
Definition: PlaybackFlyToItem.cpp:37
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 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