QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtscriptshell_AbstractStream.h
Go to the documentation of this file.
1 #ifndef QTSCRIPTSHELL_ABSTRACTSTREAM_H
2 #define QTSCRIPTSHELL_ABSTRACTSTREAM_H
3 
4 #include <streaminterface.h>
5 
6 #include <QtScript/qscriptvalue.h>
7 
8 class QtScriptShell_AbstractStream : public Phonon::StreamInterface
9 {
10 public:
13 
14  void endOfData();
15  void setStreamSeekable(bool s);
16  void setStreamSize(qint64 newSize);
17  void writeData(const QByteArray& data);
18 
19  QScriptValue __qtscript_self;
20 };
21 
22 #endif // QTSCRIPTSHELL_ABSTRACTSTREAM_H