QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtscriptshell_QBuffer.h
Go to the documentation of this file.
1 #ifndef QTSCRIPTSHELL_QBUFFER_H
2 #define QTSCRIPTSHELL_QBUFFER_H
3 
4 #include <qbuffer.h>
5 
6 #include <QtScript/qscriptvalue.h>
7 
8 class QtScriptShell_QBuffer : public QBuffer
9 {
10 public:
11  QtScriptShell_QBuffer(QByteArray* buf, QObject* parent = 0);
12  QtScriptShell_QBuffer(QObject* parent = 0);
14 
15  bool atEnd() const;
16  qint64 bytesAvailable() const;
17  qint64 bytesToWrite() const;
18  bool canReadLine() const;
19  void childEvent(QChildEvent* arg__1);
20  void close();
21  void customEvent(QEvent* arg__1);
22  bool event(QEvent* arg__1);
23  bool eventFilter(QObject* arg__1, QEvent* arg__2);
24  bool isSequential() const;
25  bool open(QIODevice::OpenMode openMode);
26  qint64 pos() const;
27  qint64 readData(char* data, qint64 maxlen);
28  qint64 readLineData(char* data, qint64 maxlen);
29  bool reset();
30  bool seek(qint64 off);
31  qint64 size() const;
32  void timerEvent(QTimerEvent* arg__1);
33  bool waitForBytesWritten(int msecs);
34  bool waitForReadyRead(int msecs);
35  qint64 writeData(const char* data, qint64 len);
36 
37  QScriptValue __qtscript_self;
38 };
39 
40 #endif // QTSCRIPTSHELL_QBUFFER_H