20 #ifndef THREADRESULT_H
21 #define THREADRESULT_H
33 #include <QStringList>
63 void setFiles(
const QStringList &files);
99 void progress(
int value,
const QString& description);
115 void log(
const QString &logline);
A class containing error data for one error.
This is an interface, which the class responsible of error logging should implement.
Wrapper for error messages, provided by reportErr()
Importing project settings.
Threads use this class to obtain new files to process and to publish results.
quint64 mMaxProgress
Max progress.
QStringList mFiles
List of files to check.
void clearFiles()
Clear files to check.
unsigned long mTotalFiles
Total number of files.
FileSettings getNextFileSettings()
void error(const ErrorItem &item)
Signal of a new error.
quint64 mProgress
Current progress.
void setProject(const ImportProject &prj)
QString getNextFile()
Get next unprocessed file.
void debugError(const ErrorItem &item)
Signal of a debug error.
void reportErr(const ErrorMessage &msg) override
Information about found errors and warnings is directed here.
void log(const QString &logline)
Signal of a new log message.
void fileChecked(const QString &file)
Slot threads use to signal this class that a specific file is checked.
unsigned long mFilesChecked
Current number of files checked.
std::list< FileSettings > mFileSettings
void progress(int value, const QString &description)
Progress signal.
void reportOut(const std::string &outmsg, Color c=Color::Reset) override
ErrorLogger methods.
void setFiles(const QStringList &files)
Set list of files to check.
int getFileCount() const
Get the number of files to check.