KDECore
kmemfile.cpp
Go to the documentation of this file.
66 QByteArray tmp = QString ( QDir ( filename ).canonicalPath() + QString::number ( iCounter ) ).toUtf8();
QString i18n(const char *text)
Returns a localized version of a string.
Definition: klocalizedstring.h:630
virtual bool seek(qint64 pos)
bool exists() const
virtual bool open(QFlags< QIODevice::OpenModeFlag > mode)
virtual void close()
virtual qint64 pos() const
virtual bool isSequential() const
As KMemFile is a random access device, it returns false.
Definition: kmemfile.cpp:138
QString number(int n, int base)
virtual bool seek(qint64 pos)
Sets the current read/write position to pos.
Definition: kmemfile.cpp:204
static void fileContentsChanged(const QString &filename)
This static function updates the internal information about the file loaded into shared memory...
Definition: kmemfile.cpp:238
bool isOpen() const
Definition: kmemfile.h:39
OpenMode openMode() const
virtual qint64 writeData(const char *data, qint64 maxSize)
Definition: kmemfile.cpp:233
QByteArray hash(const QByteArray &data, Algorithm method)
QString fromLatin1(const char *str, int size)
QString canonicalPath() const
void setErrorString(const QString &str)
void setOpenMode(QFlags< QIODevice::OpenModeFlag > openMode)
QObject * parent() const
QByteArray toUtf8() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.