KIO
standardthumbnailjob.cpp
16 explicit ThumbnailerExpander(const QString execString, const int width, const QString inputFile, const QString outputFile)
77 explicit Private(const QString &execString, int width, const QString &inputFile, const QString &outputFolder)
96KIO::StandardThumbnailJob::StandardThumbnailJob(const QString &execString, int width, const QString &inputFile, const QString &outputFolder)
115 setErrorText(QStringLiteral("Standard Thumbnail Job had an error: could not open temporary file"));
121 ThumbnailerExpander thumbnailer(d->m_execString, d->m_width, d->m_inputFile, d->m_tempFile->fileName());
124 connect(d->m_proc, &QProcess::finished, this, [=, this](const int exitCode, const QProcess::ExitStatus /* exitStatus */) {
127 setErrorText(QStringLiteral("Standard Thumbnail Job failed with exit code: %1 ").arg(exitCode));
141 connect(d->m_proc, &QProcess::errorOccurred, this, [=, this](const QProcess::ProcessError error) {
void expandMacros(QString &str)
ExitStatus
ProcessError
void errorOccurred(QProcess::ProcessError error)
void finished(int exitCode, QProcess::ExitStatus exitStatus)
QStringList splitCommand(QStringView command)
QString first(qsizetype n) const const
QString number(double n, char format, int precision)
QString & removeFirst()
const QChar * unicode() const const
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:49:56 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:49:56 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.