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,
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
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
QTextStream()
bool atEnd() const const
QString readLine(qint64 maxlen)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.