Kstars
ksfilereader.cpp
98 emit progressText(i18nc("%2 is the value, % is the percent sign", "%1 (%2%)", m_label, percent));
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
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
QString i18nc(const char *context, const char *text, const TYPE &arg...)
bool open(FILE *fh, OpenMode mode, FileHandleFlags handleFlags)
void setFileName(const QString &name)
ReadOnly
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
QString arg(Args &&... args) const const
bool isNull() const const
QIODevice * device() const const
void setDevice(QIODevice *device)
void setEncoding(QStringConverter::Encoding encoding)
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.