45 #include <QtCore/QIODevice> 61 bool open(
int ostProtocolId);
77 #endif // QOSTDEVICE_H bool waitForReadyRead(int msecs)
Blocks until new data is available for reading and the readyRead() signal has been emitted...
#define QT_END_NAMESPACE
This macro expands to.
qint64 writeData(const char *data, qint64 maxSize)
Writes up to maxSize bytes from data to the device.
QOstDevicePrivate * d_ptr
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
The QObject class is the base class of all Qt objects.
#define QT_BEGIN_NAMESPACE
This macro expands to.
qint64 readData(char *data, qint64 maxSize)
Reads up to maxSize bytes from the device into data, and returns the number of bytes read or -1 if an...
static const char * data(const QByteArray &arr)
bool open(int ostProtocolId)
qint64 bytesAvailable() const
Returns the number of bytes that are available for reading.
QObject * parent() const
Returns a pointer to the parent object.
#define Q_DECLARE_PRIVATE(Class)
The QIODevice class is the base interface class of all I/O devices in Qt.
QOstDevice(QObject *parent=0)
void close()
First emits aboutToClose(), then closes the device and sets its OpenMode to NotOpen.