QFileDevice

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Constructors

this
this()
Undocumented in source.
this
this(QObject parent)
Undocumented in source.
this
this(QFileDevicePrivate dd, QObject parent)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

FileHandleFlags
alias FileHandleFlags = QFlags!(FileHandleFlag)
Undocumented in source.
Permissions
alias Permissions = QFlags!(Permission)
Undocumented in source.

Enums

FileError
enum FileError
Undocumented in source.
FileHandleFlag
enum FileHandleFlag
Undocumented in source.
FileTime
enum FileTime
Undocumented in source.
MemoryMapFlags
enum MemoryMapFlags
Undocumented in source.
Permission
enum Permission
Undocumented in source.

Functions

atEnd
bool atEnd()
Undocumented in source.
close
void close()
Undocumented in source.
error
FileError error()
Undocumented in source.
fileName
QString fileName()
Undocumented in source.
fileTime
QDateTime fileTime(QFileDevice.FileTime time)
Undocumented in source.
flush
bool flush()
Undocumented in source.
handle
int handle()
Undocumented in source.
isSequential
bool isSequential()
Undocumented in source.
map
uchar* map(qint64 offset, qint64 size, MemoryMapFlags flags)
Undocumented in source.
permissions
Permissions permissions()
Undocumented in source.
pos
qint64 pos()
Undocumented in source.
readData
qint64 readData(char* data, qint64 maxlen)
Undocumented in source.
readLineData
qint64 readLineData(char* data, qint64 maxlen)
Undocumented in source.
resize
bool resize(qint64 sz)
Undocumented in source.
seek
bool seek(qint64 offset)
Undocumented in source.
setFileTime
bool setFileTime(const(QDateTime) newDate, QFileDevice.FileTime fileTime)
Undocumented in source.
setPermissions
bool setPermissions(Permissions permissionSpec)
Undocumented in source.
size
qint64 size()
Undocumented in source.
unmap
bool unmap(uchar* address)
Undocumented in source.
unsetError
void unsetError()
Undocumented in source.
writeData
qint64 writeData(const(char)* data, qint64 len)
Undocumented in source.

Inherited Members

From QIODevice

OpenModeFlag
enum OpenModeFlag
Undocumented in source.
OpenMode
alias OpenMode = QFlags!(OpenModeFlag)
Undocumented in source.
~this
~this()
Undocumented in source.
openMode
OpenMode openMode()
Undocumented in source.
setTextModeEnabled
void setTextModeEnabled(bool enabled)
Undocumented in source.
isTextModeEnabled
bool isTextModeEnabled()
Undocumented in source.
isOpen
bool isOpen()
Undocumented in source.
isReadable
bool isReadable()
Undocumented in source.
isWritable
bool isWritable()
Undocumented in source.
isSequential
bool isSequential()
Undocumented in source.
readChannelCount
int readChannelCount()
Undocumented in source.
writeChannelCount
int writeChannelCount()
Undocumented in source.
currentReadChannel
int currentReadChannel()
Undocumented in source.
setCurrentReadChannel
void setCurrentReadChannel(int channel)
Undocumented in source.
currentWriteChannel
int currentWriteChannel()
Undocumented in source.
setCurrentWriteChannel
void setCurrentWriteChannel(int channel)
Undocumented in source.
open
bool open(OpenMode mode)
Undocumented in source.
close
void close()
Undocumented in source.
pos
qint64 pos()
Undocumented in source.
size
qint64 size()
Undocumented in source.
seek
bool seek(qint64 pos)
Undocumented in source.
atEnd
bool atEnd()
Undocumented in source.
reset
bool reset()
Undocumented in source.
bytesAvailable
qint64 bytesAvailable()
Undocumented in source.
bytesToWrite
qint64 bytesToWrite()
Undocumented in source.
read
qint64 read(char* data, qint64 maxlen)
Undocumented in source.
read
QByteArray read(qint64 maxlen)
Undocumented in source.
readAll
QByteArray readAll()
Undocumented in source.
readLine
qint64 readLine(char* data, qint64 maxlen)
Undocumented in source.
readLine
QByteArray readLine(qint64 maxlen)
Undocumented in source.
canReadLine
bool canReadLine()
Undocumented in source.
startTransaction
void startTransaction()
Undocumented in source.
commitTransaction
void commitTransaction()
Undocumented in source.
rollbackTransaction
void rollbackTransaction()
Undocumented in source.
isTransactionStarted
bool isTransactionStarted()
Undocumented in source.
write
qint64 write(const(char)* data, qint64 len)
Undocumented in source.
write
qint64 write(const(char)* data)
Undocumented in source.
write
qint64 write(const(QByteArray) data)
Undocumented in source. Be warned that the author may not have intended to support it.
peek
qint64 peek(char* data, qint64 maxlen)
Undocumented in source.
peek
QByteArray peek(qint64 maxlen)
Undocumented in source.
skip
qint64 skip(qint64 maxSize)
Undocumented in source.
waitForReadyRead
bool waitForReadyRead(int msecs)
Undocumented in source.
waitForBytesWritten
bool waitForBytesWritten(int msecs)
Undocumented in source.
ungetChar
void ungetChar(char c)
Undocumented in source.
putChar
bool putChar(char c)
Undocumented in source.
getChar
bool getChar(char* c)
Undocumented in source.
errorString
QString errorString()
Undocumented in source.
readyRead
void readyRead()
Undocumented in source.
channelReadyRead
void channelReadyRead(int channel)
Undocumented in source.
bytesWritten
void bytesWritten(qint64 bytes)
Undocumented in source.
channelBytesWritten
void channelBytesWritten(int channel, qint64 bytes)
Undocumented in source.
aboutToClose
void aboutToClose()
Undocumented in source.
readChannelFinished
void readChannelFinished()
Undocumented in source.
readData
qint64 readData(char* data, qint64 maxlen)
Undocumented in source.
readLineData
qint64 readLineData(char* data, qint64 maxlen)
Undocumented in source.
writeData
qint64 writeData(const(char)* data, qint64 len)
Undocumented in source.
setOpenMode
void setOpenMode(OpenMode openMode)
Undocumented in source.
setErrorString
void setErrorString(const(QString) errorString)
Undocumented in source.

Meta