Kstars
ksfilereader.h
74 * @short opens the file fname from the QStandardPaths::AppLocalDataLocation directory and uses that
85 * file for the QTextStream. open() locates QStandardPaths::AppLocalDataLocation behind the scenes,
I totally rewrote this because the earlier scheme of reading all the lines of a file into a buffer be...
Definition ksfilereader.h:54
bool openFullPath(const QString &fname)
opens the file with full path fname and uses that file for the QTextStream.
Definition ksfilereader.cpp:45
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:58
QString readLine()
increments the line number and returns the next line from the file as a QString.
Definition ksfilereader.h:105
bool open(const QString &fname)
opens the file fname from the QStandardPaths::AppLocalDataLocation directory and uses that file for t...
Definition ksfilereader.cpp:33
void showProgress()
emits progress reports when required and updates bookkeeping for when to send the next report.
Definition ksfilereader.cpp:70
Q_OBJECTQ_OBJECT
bool atEnd() const const
QString readLine(qint64 maxlen)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Sep 13 2024 11:53:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Sep 13 2024 11:53:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.