7#include <QtCore/qiodevice.h>
8#include <QtMultimedia/qaudioformat.h>
28 static qint64 headerLength();
30 bool open(QIODevice::OpenMode
mode)
override;
31 void close()
override;
51 bool writeDataLength();
52 bool enoughDataAvailable();
53 bool findChunk(
const char *chunkId);
54 void discardBytes(
qint64 numBytes);
59 WaitingForFormatState,
68 bool peekChunk(chunk* pChunk,
bool handleEndianness =
true);
97 static const int HeaderLength =
sizeof(CombinedHeader);
99 bool haveFormat =
false;
100 bool haveHeader =
false;
106 bool bigEndian =
false;
107 bool byteSwap =
false;
IOBluetoothDevice * device
\inmodule QtCore \reentrant
virtual bool open(QIODeviceBase::OpenMode mode)
Opens the device and sets its OpenMode to mode.
virtual qint64 size() const
For open random-access devices, this function returns the size of the device.
virtual qint64 pos() const
For random-access devices, this function returns the position that data is written to or read from.
virtual bool isSequential() const
Returns true if this device is sequential; otherwise returns false.
virtual qint64 bytesAvailable() const
Returns the number of bytes that are available for reading.
virtual qint64 writeData(const char *data, qint64 len)=0
Writes up to maxSize bytes from data to the device.
virtual void close()
First emits aboutToClose(), then closes the device and sets its OpenMode to NotOpen.
virtual bool seek(qint64 pos)
For random-access devices, this function sets the current position to pos, returning true on success,...
void setIODevice(QIODevice *device)
Combined button and popup list for selecting options.
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLint GLsizei GLsizei GLenum format
static QByteArray getDevice(const QString &rootPath)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent