List of all members | Signals | Public Member Functions
QFileProto Class Reference

#include <qfileproto.h>

Inheritance diagram for QFileProto:
QObject QScriptable

Signals

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

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 char *data)
 
Q_INVOKABLE qint64 write (const char *data, qint64 maxSize)
 
Q_INVOKABLE qint64 write (const QByteArray &byteArray)
 

Constructor & Destructor Documentation

◆ QFileProto()

QFileProto::QFileProto ( QObject parent)

Member Function Documentation

◆ aboutToClose

void QFileProto::aboutToClose ( )
signal

◆ atEnd()

bool QFileProto::atEnd ( ) const

◆ bytesAvailable()

qint64 QFileProto::bytesAvailable ( ) const

◆ bytesToWrite()

qint64 QFileProto::bytesToWrite ( ) const

◆ bytesWritten

void QFileProto::bytesWritten ( qint64  bytes)
signal

◆ canReadLine()

bool QFileProto::canReadLine ( ) const

◆ close()

void QFileProto::close ( )

◆ copy()

bool QFileProto::copy ( const QString &  newName)

◆ error()

QFile::FileError QFileProto::error ( ) const

◆ errorString()

QString QFileProto::errorString ( ) const

◆ exists()

bool QFileProto::exists ( ) const

◆ fileName()

QString QFileProto::fileName ( ) const

◆ flush()

bool QFileProto::flush ( )

◆ getChar()

bool QFileProto::getChar ( char *  c)

◆ handle()

int QFileProto::handle ( ) const

◆ isOpen()

bool QFileProto::isOpen ( ) const

◆ isReadable()

bool QFileProto::isReadable ( ) const

◆ isSequential()

bool QFileProto::isSequential ( ) const

◆ isTextModeEnabled()

bool QFileProto::isTextModeEnabled ( ) const

◆ isWritable()

bool QFileProto::isWritable ( ) const

◆ link()

bool QFileProto::link ( const QString &  linkName)

◆ map()

uchar * QFileProto::map ( qint64  offset,
qint64  size,
QFile::MemoryMapFlags  flags = QFile::NoOptions 
)

◆ open() [1/3]

bool QFileProto::open ( FILE *  fh,
int  mode 
)

◆ open() [2/3]

bool QFileProto::open ( int  fd,
int  mode 
)

◆ open() [3/3]

bool QFileProto::open ( int  mode)

◆ openMode()

QIODevice::OpenMode QFileProto::openMode ( ) const

◆ peek() [1/2]

qint64 QFileProto::peek ( char *  data,
qint64  maxSize 
)

◆ peek() [2/2]

QByteArray QFileProto::peek ( qint64  maxSize)

◆ permissions()

QFile::Permissions QFileProto::permissions ( ) const

◆ pos()

qint64 QFileProto::pos ( ) const

◆ putChar()

bool QFileProto::putChar ( char  c)

◆ read() [1/2]

qint64 QFileProto::read ( char *  data,
qint64  maxSize 
)

◆ read() [2/2]

QByteArray QFileProto::read ( qint64  maxSize)

◆ readAll()

QByteArray QFileProto::readAll ( )

◆ readChannelFinished

void QFileProto::readChannelFinished ( )
signal

◆ readLine() [1/2]

qint64 QFileProto::readLine ( char *  data,
qint64  maxSize 
)

◆ readLine() [2/2]

QByteArray QFileProto::readLine ( qint64  maxSize = 0)

◆ readyRead

void QFileProto::readyRead ( )
signal

◆ remove()

bool QFileProto::remove ( )

◆ rename()

bool QFileProto::rename ( const QString &  newName)

◆ reset()

bool QFileProto::reset ( )

◆ resize()

bool QFileProto::resize ( qint64  sz)

◆ seek()

bool QFileProto::seek ( qint64  pos)

◆ setFileName()

void QFileProto::setFileName ( const QString &  name)

◆ setPermissions()

bool QFileProto::setPermissions ( QFile::Permissions  permissions)

◆ setTextModeEnabled()

void QFileProto::setTextModeEnabled ( bool  enabled)

◆ size()

qint64 QFileProto::size ( ) const

◆ symLinkTarget()

QString QFileProto::symLinkTarget ( ) const

◆ ungetChar()

void QFileProto::ungetChar ( char  c)

◆ unmap()

bool QFileProto::unmap ( uchar *  address)

◆ unsetError()

void QFileProto::unsetError ( )

◆ waitForBytesWritten()

bool QFileProto::waitForBytesWritten ( int  msecs)

◆ waitForReadyRead()

bool QFileProto::waitForReadyRead ( int  msecs)

◆ write() [1/3]

qint64 QFileProto::write ( const char *  data)

◆ write() [2/3]

qint64 QFileProto::write ( const char *  data,
qint64  maxSize 
)

◆ write() [3/3]

qint64 QFileProto::write ( const QByteArray &  byteArray)

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

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 6.0.0 doxygen 1.8.17