7#include <QtCore/qglobal.h>
8#include <QtCore/qiodevicebase.h>
10#include <QtCore/qobject.h>
12#include <QtCore/qobjectdefs.h>
13#include <QtCore/qscopedpointer.h>
15#include <QtCore/qstring.h>
18#error qiodevice.h must be included before any header file that defines open
45 QIODeviceBase::OpenMode openMode()
const;
47 void setTextModeEnabled(
bool enabled);
48 bool isTextModeEnabled()
const;
51 bool isReadable()
const;
52 bool isWritable()
const;
53 virtual bool isSequential()
const;
55 int readChannelCount()
const;
56 int writeChannelCount()
const;
57 int currentReadChannel()
const;
58 void setCurrentReadChannel(
int channel);
59 int currentWriteChannel()
const;
60 void setCurrentWriteChannel(
int channel);
62 virtual bool open(QIODeviceBase::OpenMode
mode);
70 virtual bool atEnd()
const;
73 virtual qint64 bytesAvailable()
const;
74 virtual qint64 bytesToWrite()
const;
81 virtual bool canReadLine()
const;
83 void startTransaction();
84 void commitTransaction();
85 void rollbackTransaction();
86 bool isTransactionStarted()
const;
97 virtual bool waitForBytesWritten(
int msecs);
99 void ungetChar(
char c);
100 bool putChar(
char c);
101 bool getChar(
char *
c);
126 void setOpenMode(QIODeviceBase::OpenMode openMode);
128 void setErrorString(
const QString &errorString);
141#if !defined(QT_NO_DEBUG_STREAM)
IOBluetoothL2CAPChannel * channel
\inheaderfile QIODevice \inmodule QtCore
\inmodule QtCore \reentrant
void readyRead()
This signal is emitted once every time new data is available for reading from the device's current re...
void channelReadyRead(int channel)
void bytesWritten(qint64 bytes)
This signal is emitted every time a payload of data has been written to the device's current write ch...
void channelBytesWritten(int channel, qint64 bytes)
virtual qint64 writeData(const char *data, qint64 len)=0
Writes up to maxSize bytes from data to the device.
virtual qint64 readData(char *data, qint64 maxlen)=0
Reads up to maxSize bytes from the device into data, and returns the number of bytes read or -1 if an...
void aboutToClose()
This signal is emitted when the device is about to close.
void readChannelFinished()
QScopedPointer< QObjectData > d_ptr
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
Q_CORE_EXPORT QDebug operator<<(QDebug debug, QIODevice::OpenMode modes)
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLenum GLenum GLsizei const GLuint GLboolean enabled
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
ReturnedValue read(const char *data)
file open(QIODevice::ReadOnly)
gzip write("uncompressed data")
device waitForReadyRead(deadline)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent