Kstars
ksfilereader.h
75 * @short opens the file fname from the QStandardPaths::AppLocalDataLocation directory and uses that
86 * 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:55
bool openFullPath(const QString &fname)
opens the file with full path fname and uses that file for the QTextStream.
Definition ksfilereader.cpp:56
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:73
QString readLine()
increments the line number and returns the next line from the file as a QString.
Definition ksfilereader.h:106
bool open(const QString &fname)
opens the file fname from the QStandardPaths::AppLocalDataLocation directory and uses that file for t...
Definition ksfilereader.cpp:40
void showProgress()
emits progress reports when required and updates bookkeeping for when to send the next report.
Definition ksfilereader.cpp:85
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 Mon Nov 4 2024 16:38:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.