QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtscriptshell_AbstractMediaObject.h
Go to the documentation of this file.
1 #ifndef QTSCRIPTSHELL_ABSTRACTMEDIAOBJECT_H
2 #define QTSCRIPTSHELL_ABSTRACTMEDIAOBJECT_H
3 
4 #include <mediaobjectinterface.h>
5 
6 #include <QtScript/qscriptvalue.h>
7 
8 class QtScriptShell_AbstractMediaObject : public Phonon::MediaObjectInterface
9 {
10 public:
13 
14  qint64 currentTime() const;
15  QString errorString() const;
16  Phonon::ErrorType errorType() const;
17  bool hasVideo() const;
18  bool isSeekable() const;
19  void pause();
20  void play();
21  int prefinishMark() const;
22  qint64 remainingTime() const;
23  void seek(qint64 milliseconds);
24  void setNextSource(const Phonon::MediaSource& source);
25  void setPrefinishMark(int arg__1);
26  void setSource(const Phonon::MediaSource& arg__1);
27  void setTickInterval(int interval);
28  void setTransitionTime(int arg__1);
29  Phonon::MediaSource source() const;
30  Phonon::State state() const;
31  void stop();
32  int tickInterval() const;
33  qint64 totalTime() const;
34  int transitionTime() const;
35 
36  QScriptValue __qtscript_self;
37 };
38 
39 #endif // QTSCRIPTSHELL_ABSTRACTMEDIAOBJECT_H