• 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
MovieCapture.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 MOVIECAPTURE_H
12 #define MOVIECAPTURE_H
13 
14 #include <QObject>
15 #include <QTimer>
16 #include <QDir>
17 
18 #include "marble_export.h"
19 
20 namespace Marble
21 {
22 
23 class MarbleWidget;
24 
25 class MovieCapturePrivate;
26 class MARBLE_EXPORT MovieCapture : public QObject
27 {
28  Q_OBJECT
29 public:
30  MovieCapture(MarbleWidget *widget, QObject *parent);
31  ~MovieCapture();
32 
33  int fps() const;
34  QString destination() const;
35 
36 public slots:
37  void setFps(int fps);
38  void setDestination(const QString &path);
39 
40  void startRecording();
41  void stopRecording();
42 
43 private slots:
44  void processWrittenMovie(int exitCode);
45 
46 private slots:
47  void recordFrame();
48 
49 protected:
50  MovieCapturePrivate * const d_ptr;
51 
52 private:
53  Q_DECLARE_PRIVATE(MovieCapture)
54 
55 };
56 
57 } // namespace Marble
58 
59 #endif // MOVIECAPTURE_H
Marble::MovieCapture::d_ptr
MovieCapturePrivate *const d_ptr
Definition: MovieCapture.h:50
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
QString
Marble::MovieCapture
Definition: MovieCapture.h:26
marble_export.h
MarbleWidget
Wraps a Marble::MarbleWidget, providing access to important properties and methods.
Definition: MarbleDeclarativeWidget.h:50
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