Kstars
ksfilereader.cpp
bool isNull() const const
bool openFullPath(const QString &fname)
opens the file with full path fname and uses that file for the QTextStream.
Definition: ksfilereader.cpp:43
ReadOnly
virtual bool open(QIODevice::OpenMode mode) override
bool open(const QString &fname)
opens the file fname from the QStandardPaths::AppLocalDataLocation directory and uses that file for t...
Definition: ksfilereader.cpp:31
QIODevice * device() const const
void setProgress(QString label, unsigned int lastLine, unsigned int numUpdates=10)
Prepares this instance to emit progress reports on how much of the file has been read (in percent).
Definition: ksfilereader.cpp:56
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void setDevice(QIODevice *device)
void setFileName(const QString &name)
void showProgress()
emits progress reports when required and updates bookkeeping for when to send the next report.
Definition: ksfilereader.cpp:68
QString arg(qlonglong a, int fieldWidth, int base, QChar fillChar) const const
void setCodec(QTextCodec *codec)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 4 2023 04:05:45 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 4 2023 04:05:45 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.