QIODevice Class Reference
#include <qiodevice.h>
Definition at line 66 of file qiodevice.h.
|
| QIODevice () |
|
| QIODevice (QObject *parent) |
|
virtual | ~QIODevice () |
|
OpenMode | openMode () const |
|
void | setTextModeEnabled (bool enabled) |
|
bool | isTextModeEnabled () const |
|
bool | isOpen () const |
|
bool | isReadable () const |
|
bool | isWritable () const |
|
virtual bool | isSequential () const |
|
virtual bool | open (OpenMode mode) |
|
virtual void | close () |
|
virtual qint64 | pos () const |
|
virtual qint64 | size () const |
|
virtual bool | seek (qint64 pos) |
|
virtual bool | atEnd () const |
|
virtual bool | reset () |
|
virtual qint64 | bytesAvailable () const |
|
virtual qint64 | bytesToWrite () const |
|
qint64 | read (char *data, qint64 maxlen) |
|
QByteArray | read (qint64 maxlen) |
|
QByteArray | readAll () |
|
qint64 | readLine (char *data, qint64 maxlen) |
|
QByteArray | readLine (qint64 maxlen=0) |
|
virtual bool | canReadLine () const |
|
qint64 | write (const char *data, qint64 len) |
|
qint64 | write (const char *data) |
|
qint64 | write (const QByteArray &data) |
|
qint64 | peek (char *data, qint64 maxlen) |
|
QByteArray | peek (qint64 maxlen) |
|
virtual bool | waitForReadyRead (int msecs) |
|
virtual bool | waitForBytesWritten (int msecs) |
|
void | ungetChar (char c) |
|
bool | putChar (char c) |
|
bool | getChar (char *c) |
|
QString | errorString () const |
|
Q_INVOKABLE | QObject (QObject *parent=0) |
|
virtual | ~QObject () |
|
virtual bool | event (QEvent *) |
|
virtual bool | eventFilter (QObject *, QEvent *) |
|
QString | objectName () const |
|
void | setObjectName (const QString &name) |
|
bool | isWidgetType () const |
|
bool | signalsBlocked () const |
|
bool | blockSignals (bool b) |
|
QThread * | thread () const |
|
void | moveToThread (QThread *thread) |
|
int | startTimer (int interval) |
|
void | killTimer (int id) |
|
template<typename T > |
T | findChild (const QString &aName=QString()) const |
|
template<typename T > |
QList< T > | findChildren (const QString &aName=QString()) const |
|
template<typename T > |
QList< T > | findChildren (const QRegExp &re) const |
|
const QObjectList & | children () const |
|
void | setParent (QObject *) |
|
void | installEventFilter (QObject *) |
|
void | removeEventFilter (QObject *) |
|
bool | connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const |
|
bool | disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0) |
|
bool | disconnect (const QObject *receiver, const char *member=0) |
|
void | dumpObjectTree () |
|
void | dumpObjectInfo () |
|
bool | setProperty (const char *name, const QVariant &value) |
|
QVariant | property (const char *name) const |
|
QList< QByteArray > | dynamicPropertyNames () const |
|
void | setUserData (uint id, QObjectUserData *data) |
|
QObjectUserData * | userData (uint id) const |
|
QObject * | parent () const |
|
bool | inherits (const char *classname) const |
|
|
void | deleteLater () |
|
static bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection) |
|
static bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection) |
|
static bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
|
static bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member) |
|
static uint | registerUserData () |
|
QScopedPointer< QObjectData > | d_ptr |
|
static const QMetaObject | staticQtMetaObject |
|
QString | objectName |
|
Enumerator |
---|
NotOpen |
|
ReadOnly |
|
WriteOnly |
|
ReadWrite |
|
Append |
|
Truncate |
|
Text |
|
Unbuffered |
|
Definition at line 75 of file qiodevice.h.
OpenMode openMode |
( |
| ) |
const |
void setTextModeEnabled |
( |
bool |
enabled | ) |
|
bool isTextModeEnabled |
( |
| ) |
const |
bool isReadable |
( |
| ) |
const |
bool isWritable |
( |
| ) |
const |
virtual bool isSequential |
( |
| ) |
const |
|
virtual |
virtual bool open |
( |
OpenMode |
mode | ) |
|
|
virtual |
virtual bool seek |
( |
qint64 |
pos | ) |
|
|
virtual |
virtual bool atEnd |
( |
| ) |
const |
|
virtual |
virtual qint64 bytesAvailable |
( |
| ) |
const |
|
virtual |
virtual qint64 bytesToWrite |
( |
| ) |
const |
|
virtual |
virtual bool canReadLine |
( |
| ) |
const |
|
virtual |
qint64 write |
( |
const char * |
data | ) |
|
Definition at line 126 of file qiodevice.h.
const char * constData() const
qint64 write(const char *data, qint64 len)
virtual bool waitForReadyRead |
( |
int |
msecs | ) |
|
|
virtual |
virtual bool waitForBytesWritten |
( |
int |
msecs | ) |
|
|
virtual |
void readChannelFinished |
( |
| ) |
|
|
signal |
void setOpenMode |
( |
OpenMode |
openMode | ) |
|
|
protected |
The documentation for this class was generated from the following file: