Kstars
ksfilereader.h
Q_OBJECTQ_OBJECT
Definition: ksfilereader.h:53
bool openFullPath(const QString &fname)
opens the file with full path fname and uses that file for the QTextStream.
Definition: ksfilereader.cpp:43
bool open(const QString &fname)
opens the file fname from the QStandardPaths::AppLocalDataLocation directory and uses that file for t...
Definition: ksfilereader.cpp:31
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
bool atEnd() const const
QString readLine(qint64 maxlen)
void showProgress()
emits progress reports when required and updates bookkeeping for when to send the next report.
Definition: ksfilereader.cpp:68
QString readLine()
increments the line number and returns the next line from the file as a QString.
Definition: ksfilereader.h:105
QString message
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Jun 4 2023 03:57:13 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Jun 4 2023 03:57:13 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.