Public Member Functions | Signals
QFileProto Class Reference

#include <qfileproto.h>

List of all members.

Public Member Functions

 QFileProto (QObject *parent)
Q_INVOKABLE bool atEnd () const
Q_INVOKABLE qint64 bytesAvailable () const
Q_INVOKABLE qint64 bytesToWrite () const
Q_INVOKABLE bool canReadLine () const
Q_INVOKABLE void close ()
Q_INVOKABLE bool copy (const QString &newName)
Q_INVOKABLE QFile::FileError error () const
Q_INVOKABLE QString errorString () const
Q_INVOKABLE bool exists () const
Q_INVOKABLE QString fileName () const
Q_INVOKABLE bool flush ()
Q_INVOKABLE bool getChar (char *c)
Q_INVOKABLE int handle () const
Q_INVOKABLE bool isOpen () const
Q_INVOKABLE bool isReadable () const
Q_INVOKABLE bool isSequential () const
Q_INVOKABLE bool isTextModeEnabled () const
Q_INVOKABLE bool isWritable () const
Q_INVOKABLE bool link (const QString &linkName)
Q_INVOKABLE uchar * map (qint64 offset, qint64 size, QFile::MemoryMapFlags flags=QFile::NoOptions)
Q_INVOKABLE bool open (FILE *fh, int mode)
Q_INVOKABLE bool open (int fd, int mode)
Q_INVOKABLE bool open (int mode)
Q_INVOKABLE QIODevice::OpenMode openMode () const
Q_INVOKABLE qint64 peek (char *data, qint64 maxSize)
Q_INVOKABLE QByteArray peek (qint64 maxSize)
Q_INVOKABLE QFile::Permissions permissions () const
Q_INVOKABLE qint64 pos () const
Q_INVOKABLE bool putChar (char c)
Q_INVOKABLE qint64 read (char *data, qint64 maxSize)
Q_INVOKABLE QByteArray read (qint64 maxSize)
Q_INVOKABLE QByteArray readAll ()
Q_INVOKABLE qint64 readLine (char *data, qint64 maxSize)
Q_INVOKABLE QByteArray readLine (qint64 maxSize=0)
Q_INVOKABLE bool remove ()
Q_INVOKABLE bool rename (const QString &newName)
Q_INVOKABLE bool reset ()
Q_INVOKABLE bool resize (qint64 sz)
Q_INVOKABLE bool seek (qint64 pos)
Q_INVOKABLE void setFileName (const QString &name)
Q_INVOKABLE bool setPermissions (QFile::Permissions permissions)
Q_INVOKABLE void setTextModeEnabled (bool enabled)
Q_INVOKABLE qint64 size () const
Q_INVOKABLE QString symLinkTarget () const
Q_INVOKABLE void ungetChar (char c)
Q_INVOKABLE bool unmap (uchar *address)
Q_INVOKABLE void unsetError ()
Q_INVOKABLE bool waitForBytesWritten (int msecs)
Q_INVOKABLE bool waitForReadyRead (int msecs)
Q_INVOKABLE qint64 write (const QByteArray &byteArray)
Q_INVOKABLE qint64 write (const char *data)
Q_INVOKABLE qint64 write (const char *data, qint64 maxSize)

Signals

void aboutToClose ()
void bytesWritten (qint64 bytes)
void readChannelFinished ()
void readyRead ()

Constructor & Destructor Documentation


Member Function Documentation

void QFileProto::aboutToClose ( ) [signal]
bool QFileProto::atEnd ( ) const
qint64 QFileProto::bytesAvailable ( ) const
qint64 QFileProto::bytesToWrite ( ) const
void QFileProto::bytesWritten ( qint64  bytes) [signal]
bool QFileProto::canReadLine ( ) const
bool QFileProto::copy ( const QString newName)
QFile::FileError QFileProto::error ( ) const
bool QFileProto::exists ( ) const
bool QFileProto::getChar ( char *  c)
int QFileProto::handle ( ) const
bool QFileProto::isOpen ( ) const
bool QFileProto::isReadable ( ) const
bool QFileProto::isSequential ( ) const
bool QFileProto::isWritable ( ) const
bool QFileProto::link ( const QString linkName)
uchar * QFileProto::map ( qint64  offset,
qint64  size,
QFile::MemoryMapFlags  flags = QFile::NoOptions 
)
bool QFileProto::open ( FILE *  fh,
int  mode 
)
bool QFileProto::open ( int  fd,
int  mode 
)
bool QFileProto::open ( int  mode)
qint64 QFileProto::peek ( char *  data,
qint64  maxSize 
)
QByteArray QFileProto::peek ( qint64  maxSize)
qint64 QFileProto::pos ( ) const
bool QFileProto::putChar ( char  c)
qint64 QFileProto::read ( char *  data,
qint64  maxSize 
)
QByteArray QFileProto::read ( qint64  maxSize)
qint64 QFileProto::readLine ( char *  data,
qint64  maxSize 
)
QByteArray QFileProto::readLine ( qint64  maxSize = 0)
void QFileProto::readyRead ( ) [signal]
bool QFileProto::rename ( const QString newName)
bool QFileProto::resize ( qint64  sz)
bool QFileProto::seek ( qint64  pos)
void QFileProto::setFileName ( const QString name)
void QFileProto::setTextModeEnabled ( bool  enabled)
qint64 QFileProto::size ( ) const
void QFileProto::ungetChar ( char  c)
bool QFileProto::unmap ( uchar *  address)
bool QFileProto::waitForBytesWritten ( int  msecs)
bool QFileProto::waitForReadyRead ( int  msecs)
qint64 QFileProto::write ( const QByteArray byteArray)
qint64 QFileProto::write ( const char *  data)
qint64 QFileProto::write ( const char *  data,
qint64  maxSize 
)

The documentation for this class was generated from the following files:

Generated on Mon Jan 23 2012 12:22:36 xTuple ERP Programmer Reference, Version 3.8.0 doxygen 1.7.6.1