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

#include <qfileproto.h>

Inheritance diagram for QFileProto:
QObject QScriptable

Properties

 objectName
 

Signals

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

Public Member Functions

 QFileProto (QObject *parent)
 
QScriptValue argument (int index) const
 
int argumentCount () const
 
Q_INVOKABLE bool atEnd () const
 
bool blockSignals (bool block)
 
Q_INVOKABLE qint64 bytesAvailable () const
 
Q_INVOKABLE qint64 bytesToWrite () const
 
Q_INVOKABLE bool canReadLine () const
 
QObjectchild (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
Q_INVOKABLE void close ()
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
QScriptContextcontext () const
 
Q_INVOKABLE bool copy (const QString &newName)
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArraydynamicPropertyNames () const
 
QScriptEngineengine () const
 
Q_INVOKABLE QFile::FileError error () const
 
Q_INVOKABLE QString errorString () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
Q_INVOKABLE bool exists () const
 
Q_INVOKABLE QString fileName () const
 
findChild (const QString &name) const
 
QList< T > findChildren (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
Q_INVOKABLE bool flush ()
 
Q_INVOKABLE bool getChar (char *c)
 
Q_INVOKABLE int handle () const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
Q_INVOKABLE bool isOpen () const
 
Q_INVOKABLE bool isReadable () const
 
Q_INVOKABLE bool isSequential () const
 
Q_INVOKABLE bool isTextModeEnabled () const
 
bool isWidgetType () const
 
Q_INVOKABLE bool isWritable () const
 
void killTimer (int id)
 
Q_INVOKABLE bool link (const QString &linkName)
 
Q_INVOKABLE uchar * map (qint64 offset, qint64 size, QFile::MemoryMapFlags flags=QFile::NoOptions)
 
virtual const QMetaObjectmetaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name (const char *defaultName) const
 
const char * name () const
 
QString objectName () const
 
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
 
QObjectparent () 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
 
QVariant property (const char *name) 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 ()
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
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)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
Q_INVOKABLE bool setPermissions (QFile::Permissions permissions)
 
bool setProperty (const char *name, const QVariant &value)
 
Q_INVOKABLE void setTextModeEnabled (bool enabled)
 
bool signalsBlocked () const
 
Q_INVOKABLE qint64 size () const
 
int startTimer (int interval)
 
Q_INVOKABLE QString symLinkTarget () const
 
QScriptValue thisObject () const
 
QThreadthread () 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)
 

Static Public Member Functions

bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 

Protected Member Functions

bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObjectsender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 

Static Protected Member Functions

QByteArray normalizeSignalSlot (const char *signalSlot)
 

Constructor & Destructor Documentation

QFileProto::QFileProto ( QObject parent)

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
void QFileProto::close ( )
bool QFileProto::copy ( const QString newName)
QFile::FileError QFileProto::error ( ) const
QString QFileProto::errorString ( ) const
bool QFileProto::exists ( ) const
QString QFileProto::fileName ( ) const
bool QFileProto::flush ( )
bool QFileProto::getChar ( char *  c)
int QFileProto::handle ( ) const
bool QFileProto::isOpen ( ) const
bool QFileProto::isReadable ( ) const
bool QFileProto::isSequential ( ) const
bool QFileProto::isTextModeEnabled ( ) 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)
QIODevice::OpenMode QFileProto::openMode ( ) const
qint64 QFileProto::peek ( char *  data,
qint64  maxSize 
)
QByteArray QFileProto::peek ( qint64  maxSize)
QFile::Permissions QFileProto::permissions ( ) const
qint64 QFileProto::pos ( ) const
bool QFileProto::putChar ( char  c)
qint64 QFileProto::read ( char *  data,
qint64  maxSize 
)
QByteArray QFileProto::read ( qint64  maxSize)
QByteArray QFileProto::readAll ( )
void QFileProto::readChannelFinished ( )
signal
qint64 QFileProto::readLine ( char *  data,
qint64  maxSize 
)
QByteArray QFileProto::readLine ( qint64  maxSize = 0)
void QFileProto::readyRead ( )
signal
bool QFileProto::remove ( )
bool QFileProto::rename ( const QString newName)
bool QFileProto::reset ( )
bool QFileProto::resize ( qint64  sz)
bool QFileProto::seek ( qint64  pos)
void QFileProto::setFileName ( const QString name)
bool QFileProto::setPermissions ( QFile::Permissions  permissions)
void QFileProto::setTextModeEnabled ( bool  enabled)
qint64 QFileProto::size ( ) const
QString QFileProto::symLinkTarget ( ) const
void QFileProto::ungetChar ( char  c)
bool QFileProto::unmap ( uchar *  address)
void QFileProto::unsetError ( )
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 Dec 1 2014 xTuple ERP Programmer Reference, Version 4.8.0 doxygen 1.8.7