Commit 168186c9 authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

Use override rather than Q_DECL_OVERRIDE

Patch generated by:

git grep -l 'Q_DECL_OVERRIDE' | xargs sed -i 's/Q_DECL_OVERRIDE/override/g'
parent ee83c8a8
......@@ -74,12 +74,12 @@ public:
*/
void addExtraction(const QUrl& url);
bool doKill() Q_DECL_OVERRIDE;
bool doKill() override;
/**
* A wrapper that calls slotStartJob() when the event loop has started.
*/
void start() Q_DECL_OVERRIDE;
void start() override;
/**
* Whether to automatically create a folder inside the destination
......@@ -198,7 +198,7 @@ private slots:
* successfully, and advances to the next extraction job if
* there are more.
*/
void slotResult(KJob *job) Q_DECL_OVERRIDE;
void slotResult(KJob *job) override;
/**
* Shows a query dialog, which may happen when a file already exists.
......
......@@ -43,7 +43,7 @@ Q_OBJECT
public:
CompressFileItemAction(QObject* parent, const QVariantList& args);
virtual QList<QAction*> actions(const KFileItemListProperties& fileItemInfos, QWidget* parentWidget) Q_DECL_OVERRIDE;
virtual QList<QAction*> actions(const KFileItemListProperties& fileItemInfos, QWidget* parentWidget) override;
private:
QAction *createAction(const QIcon& icon, const QString& name, QWidget *parent, const QList<QUrl>& urls, const QString& exec);
......
......@@ -37,7 +37,7 @@ public:
ExtractHereDndPlugin(QObject* parent, const QVariantList&);
virtual QList<QAction *> setup(const KFileItemListProperties& popupMenuInfo,
const QUrl& destination) Q_DECL_OVERRIDE;
const QUrl& destination) override;
private:
QUrl m_dest;
......
......@@ -43,7 +43,7 @@ Q_OBJECT
public:
ExtractFileItemAction(QObject* parent, const QVariantList& args);
virtual QList<QAction*> actions(const KFileItemListProperties& fileItemInfos, QWidget* parentWidget) Q_DECL_OVERRIDE;
virtual QList<QAction*> actions(const KFileItemListProperties& fileItemInfos, QWidget* parentWidget) override;
private:
QAction *createAction(const QIcon& icon, const QString& name, QWidget *parent, const QList<QUrl>& urls, const QString& exec);
......
......@@ -40,16 +40,16 @@ public:
~MainWindow();
bool loadPart();
void dragEnterEvent(class QDragEnterEvent * event) Q_DECL_OVERRIDE;
void dropEvent(class QDropEvent * event) Q_DECL_OVERRIDE;
void dragMoveEvent(class QDragMoveEvent * event) Q_DECL_OVERRIDE;
void dragEnterEvent(class QDragEnterEvent * event) override;
void dropEvent(class QDropEvent * event) override;
void dragMoveEvent(class QDragMoveEvent * event) override;
public slots:
void openUrl(const QUrl &url);
void setShowExtractDialog(bool);
protected:
void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE;
void closeEvent(QCloseEvent *event) override;
private slots:
void updateActions();
......
......@@ -51,16 +51,16 @@ public:
explicit JSONArchiveInterface(QObject *parent, const QVariantList& args);
virtual ~JSONArchiveInterface();
virtual bool list() Q_DECL_OVERRIDE;
virtual bool open() Q_DECL_OVERRIDE;
virtual bool list() override;
virtual bool open() override;
virtual bool addFiles(const QVector<Kerfuffle::Archive::Entry*>& files, const Kerfuffle::Archive::Entry *destination, const Kerfuffle::CompressionOptions& options, uint numberOfEntriesToAdd = 0) Q_DECL_OVERRIDE;
virtual bool moveFiles(const QVector<Kerfuffle::Archive::Entry*>& files, Kerfuffle::Archive::Entry *destination, const Kerfuffle::CompressionOptions& options) Q_DECL_OVERRIDE;
virtual bool copyFiles(const QVector<Kerfuffle::Archive::Entry*>& files, Kerfuffle::Archive::Entry *destination, const Kerfuffle::CompressionOptions& options) Q_DECL_OVERRIDE;
virtual bool extractFiles(const QVector<Kerfuffle::Archive::Entry*>& files, const QString &destinationDirectory, const Kerfuffle::ExtractionOptions& options) Q_DECL_OVERRIDE;
virtual bool deleteFiles(const QVector<Kerfuffle::Archive::Entry*>& files) Q_DECL_OVERRIDE;
virtual bool addComment(const QString& comment) Q_DECL_OVERRIDE;
virtual bool testArchive() Q_DECL_OVERRIDE;
virtual bool addFiles(const QVector<Kerfuffle::Archive::Entry*>& files, const Kerfuffle::Archive::Entry *destination, const Kerfuffle::CompressionOptions& options, uint numberOfEntriesToAdd = 0) override;
virtual bool moveFiles(const QVector<Kerfuffle::Archive::Entry*>& files, Kerfuffle::Archive::Entry *destination, const Kerfuffle::CompressionOptions& options) override;
virtual bool copyFiles(const QVector<Kerfuffle::Archive::Entry*>& files, Kerfuffle::Archive::Entry *destination, const Kerfuffle::CompressionOptions& options) override;
virtual bool extractFiles(const QVector<Kerfuffle::Archive::Entry*>& files, const QString &destinationDirectory, const Kerfuffle::ExtractionOptions& options) override;
virtual bool deleteFiles(const QVector<Kerfuffle::Archive::Entry*>& files) override;
virtual bool addComment(const QString& comment) override;
virtual bool testArchive() override;
private:
JSONParser::JSONArchive m_archive;
......
......@@ -70,10 +70,10 @@ public slots:
void setMimeType(const QString & mimeType);
void setPassword(const QString &password);
void setHeaderEncryptionEnabled(bool enabled);
void start() Q_DECL_OVERRIDE;
void start() override;
protected:
bool doKill() Q_DECL_OVERRIDE;
bool doKill() override;
private slots:
void slotFinished(KJob*);
......
......@@ -218,7 +218,7 @@ public:
explicit ReadWriteArchiveInterface(QObject *parent, const QVariantList &args);
virtual ~ReadWriteArchiveInterface();
bool isReadOnly() const Q_DECL_OVERRIDE;
bool isReadOnly() const override;
virtual bool addFiles(const QVector<Archive::Entry*> &files, const Archive::Entry *destination, const CompressionOptions& options, uint numberOfEntriesToAdd = 0) = 0;
virtual bool moveFiles(const QVector<Archive::Entry*> &files, Archive::Entry *destination, const CompressionOptions& options) = 0;
......
......@@ -57,24 +57,24 @@ public:
explicit CliInterface(QObject *parent, const QVariantList & args);
virtual ~CliInterface();
virtual int copyRequiredSignals() const Q_DECL_OVERRIDE;
virtual int copyRequiredSignals() const override;
virtual bool list() Q_DECL_OVERRIDE;
virtual bool extractFiles(const QVector<Archive::Entry*> &files, const QString &destinationDirectory, const ExtractionOptions &options) Q_DECL_OVERRIDE;
virtual bool addFiles(const QVector<Archive::Entry*> &files, const Archive::Entry *destination, const CompressionOptions& options, uint numberOfEntriesToAdd = 0) Q_DECL_OVERRIDE;
virtual bool moveFiles(const QVector<Archive::Entry*> &files, Archive::Entry *destination, const CompressionOptions& options) Q_DECL_OVERRIDE;
virtual bool copyFiles(const QVector<Archive::Entry*> &files, Archive::Entry *destination, const CompressionOptions& options) Q_DECL_OVERRIDE;
virtual bool deleteFiles(const QVector<Archive::Entry*> &files) Q_DECL_OVERRIDE;
virtual bool addComment(const QString &comment) Q_DECL_OVERRIDE;
virtual bool testArchive() Q_DECL_OVERRIDE;
virtual bool list() override;
virtual bool extractFiles(const QVector<Archive::Entry*> &files, const QString &destinationDirectory, const ExtractionOptions &options) override;
virtual bool addFiles(const QVector<Archive::Entry*> &files, const Archive::Entry *destination, const CompressionOptions& options, uint numberOfEntriesToAdd = 0) override;
virtual bool moveFiles(const QVector<Archive::Entry*> &files, Archive::Entry *destination, const CompressionOptions& options) override;
virtual bool copyFiles(const QVector<Archive::Entry*> &files, Archive::Entry *destination, const CompressionOptions& options) override;
virtual bool deleteFiles(const QVector<Archive::Entry*> &files) override;
virtual bool addComment(const QString &comment) override;
virtual bool testArchive() override;
virtual void resetParsing() = 0;
virtual bool readListLine(const QString &line) = 0;
virtual bool readExtractLine(const QString &line) = 0;
virtual bool readDeleteLine(const QString &line);
bool doKill() Q_DECL_OVERRIDE;
bool doSuspend() Q_DECL_OVERRIDE;
bool doResume() Q_DECL_OVERRIDE;
bool doKill() override;
bool doSuspend() override;
bool doResume() override;
/**
* Sets if the listing should include empty lines.
......@@ -99,7 +99,7 @@ public:
*/
QStringList extractFilesList(const QVector<Archive::Entry*> &files) const;
QString multiVolumeName() const Q_DECL_OVERRIDE;
QString multiVolumeName() const override;
CliProperties *cliProperties() const;
......
......@@ -84,7 +84,7 @@ public:
bool isHeaderEncryptionEnabled() const;
public slots:
virtual void accept() Q_DECL_OVERRIDE;
virtual void accept() override;
private:
void loadConfiguration();
......
......@@ -55,7 +55,7 @@ public:
{
}
virtual void run() Q_DECL_OVERRIDE;
virtual void run() override;
private:
Job *q;
......
......@@ -54,15 +54,15 @@ public:
* @warning This method should not be called before start().
*/
Archive *archive() const;
QString errorString() const Q_DECL_OVERRIDE;
void start() Q_DECL_OVERRIDE;
QString errorString() const override;
void start() override;
protected:
Job(Archive *archive, ReadOnlyArchiveInterface *interface);
Job(Archive *archive);
Job(ReadOnlyArchiveInterface *interface);
virtual ~Job();
virtual bool doKill() Q_DECL_OVERRIDE;
virtual bool doKill() override;
ReadOnlyArchiveInterface *archiveInterface();
QVector<Archive::Entry*> m_archiveEntries;
......@@ -127,10 +127,10 @@ public:
QString subfolderName() const;
public slots:
virtual void doWork() Q_DECL_OVERRIDE;
virtual void doWork() override;
protected slots:
virtual void onFinished(bool result) Q_DECL_OVERRIDE;
virtual void onFinished(bool result) override;
private:
explicit LoadJob(Archive *archive, ReadOnlyArchiveInterface *interface);
......@@ -164,10 +164,10 @@ signals:
void userQuery(Query *query);
public slots:
virtual void doWork() Q_DECL_OVERRIDE;
virtual void doWork() override;
protected:
virtual bool doKill() Q_DECL_OVERRIDE;
virtual bool doKill() override;
private slots:
void slotLoadingProgress(double progress);
......@@ -214,10 +214,10 @@ public:
void setMultiVolume(bool isMultiVolume);
public slots:
virtual void doWork() Q_DECL_OVERRIDE;
virtual void doWork() override;
protected:
virtual bool doKill() Q_DECL_OVERRIDE;
virtual bool doKill() override;
private:
AddJob *m_addJob = nullptr;
......@@ -236,7 +236,7 @@ public:
ExtractionOptions extractionOptions() const;
public slots:
virtual void doWork() Q_DECL_OVERRIDE;
virtual void doWork() override;
private:
......@@ -272,7 +272,7 @@ public:
QTemporaryDir *tempDir() const;
public slots:
virtual void doWork() Q_DECL_OVERRIDE;
virtual void doWork() override;
private:
QString extractionDir() const;
......@@ -322,10 +322,10 @@ public:
AddJob(const QVector<Archive::Entry*> &files, const Archive::Entry *destination, const CompressionOptions& options, ReadWriteArchiveInterface *interface);
public slots:
virtual void doWork() Q_DECL_OVERRIDE;
virtual void doWork() override;
protected slots:
virtual void onFinished(bool result) Q_DECL_OVERRIDE;
virtual void onFinished(bool result) override;
private:
QString m_oldWorkingDir;
......@@ -346,10 +346,10 @@ public:
MoveJob(const QVector<Archive::Entry*> &files, Archive::Entry *destination, const CompressionOptions& options, ReadWriteArchiveInterface *interface);
public slots:
virtual void doWork() Q_DECL_OVERRIDE;
virtual void doWork() override;
protected slots:
virtual void onFinished(bool result) Q_DECL_OVERRIDE;
virtual void onFinished(bool result) override;
private:
int m_finishedSignalsCount;
......@@ -370,10 +370,10 @@ public:
CopyJob(const QVector<Archive::Entry*> &entries, Archive::Entry *destination, const CompressionOptions& options, ReadWriteArchiveInterface *interface);
public slots:
virtual void doWork() Q_DECL_OVERRIDE;
virtual void doWork() override;
protected slots:
virtual void onFinished(bool result) Q_DECL_OVERRIDE;
virtual void onFinished(bool result) override;
private:
int m_finishedSignalsCount;
......@@ -390,7 +390,7 @@ public:
DeleteJob(const QVector<Archive::Entry*> &files, ReadWriteArchiveInterface *interface);
public slots:
virtual void doWork() Q_DECL_OVERRIDE;
virtual void doWork() override;
private:
QVector<Archive::Entry*> m_entries;
......@@ -404,7 +404,7 @@ public:
CommentJob(const QString& comment, ReadWriteArchiveInterface *interface);
public slots:
virtual void doWork() Q_DECL_OVERRIDE;
virtual void doWork() override;
private:
QString m_comment;
......@@ -419,7 +419,7 @@ public:
bool testSucceeded();
public slots:
virtual void doWork() Q_DECL_OVERRIDE;
virtual void doWork() override;
private slots:
virtual void onTestSuccess();
......
......@@ -44,8 +44,8 @@ public:
explicit PluginSettingsPage(QWidget *parent = nullptr, const QString &name = QString(), const QString &iconName = QString());
public slots:
void slotSettingsChanged() Q_DECL_OVERRIDE;
void slotDefaultsButtonClicked() Q_DECL_OVERRIDE;
void slotSettingsChanged() override;
void slotDefaultsButtonClicked() override;
private slots:
void slotItemChanged(QTreeWidgetItem *item);
......
......@@ -82,7 +82,7 @@ class KERFUFFLE_EXPORT OverwriteQuery : public Query
{
public:
explicit OverwriteQuery(const QString& filename);
void execute() Q_DECL_OVERRIDE;
void execute() override;
bool responseCancelled();
bool responseOverwriteAll();
bool responseOverwrite();
......@@ -108,7 +108,7 @@ class KERFUFFLE_EXPORT PasswordNeededQuery : public Query
{
public:
explicit PasswordNeededQuery(const QString& archiveFilename, bool incorrectTryAgain = false);
void execute() Q_DECL_OVERRIDE;
void execute() override;
bool responseCancelled();
QString password();
......@@ -122,7 +122,7 @@ class KERFUFFLE_EXPORT LoadCorruptQuery : public Query
{
public:
explicit LoadCorruptQuery(const QString& archiveFilename);
void execute() Q_DECL_OVERRIDE;
void execute() override;
bool responseYes();
};
......@@ -131,7 +131,7 @@ class KERFUFFLE_EXPORT ContinueExtractionQuery : public Query
{
public:
explicit ContinueExtractionQuery(const QString& error, const QString& archiveEntry);
void execute() Q_DECL_OVERRIDE;
void execute() override;
bool responseCancelled();
bool dontAskAgain();
......
......@@ -49,7 +49,7 @@ signals:
void defaultsButtonClicked();
protected slots:
void updateWidgetsDefault() Q_DECL_OVERRIDE;
void updateWidgetsDefault() override;
};
......
......@@ -64,21 +64,21 @@ public:
explicit ArchiveModel(const QString &dbusPathName, QObject *parent = nullptr);
~ArchiveModel();
QVariant data(const QModelIndex &index, int role) const Q_DECL_OVERRIDE;
Qt::ItemFlags flags(const QModelIndex &index) const Q_DECL_OVERRIDE;
QVariant data(const QModelIndex &index, int role) const override;
Qt::ItemFlags flags(const QModelIndex &index) const override;
QVariant headerData(int section, Qt::Orientation orientation,
int role = Qt::DisplayRole) const Q_DECL_OVERRIDE;
int role = Qt::DisplayRole) const override;
QModelIndex index(int row, int column,
const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE;
QModelIndex parent(const QModelIndex &index) const Q_DECL_OVERRIDE;
int rowCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE;
int columnCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE;
const QModelIndex &parent = QModelIndex()) const override;
QModelIndex parent(const QModelIndex &index) const override;
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
//drag and drop related
Qt::DropActions supportedDropActions() const Q_DECL_OVERRIDE;
QStringList mimeTypes() const Q_DECL_OVERRIDE;
QMimeData *mimeData(const QModelIndexList & indexes) const Q_DECL_OVERRIDE;
bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) Q_DECL_OVERRIDE;
Qt::DropActions supportedDropActions() const override;
QStringList mimeTypes() const override;
QMimeData *mimeData(const QModelIndexList & indexes) const override;
bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) override;
void reset();
void createEmptyArchive(const QString &path, const QString &mimeType, QObject *parent);
......
......@@ -31,7 +31,7 @@ public:
explicit ArchiveSortFilterModel(QObject *parent = nullptr);
~ArchiveSortFilterModel();
bool lessThan(const QModelIndex &leftIndex, const QModelIndex &rightIndex) const Q_DECL_OVERRIDE;
bool lessThan(const QModelIndex &leftIndex, const QModelIndex &rightIndex) const override;
};
#endif // ARCHIVESORTFILTERMODEL_H
......@@ -33,10 +33,10 @@ class ArchiveView : public QTreeView
public:
explicit ArchiveView(QWidget *parent = nullptr);
virtual void dragEnterEvent(class QDragEnterEvent * event) Q_DECL_OVERRIDE;
virtual void dropEvent(class QDropEvent * event) Q_DECL_OVERRIDE;
virtual void dragMoveEvent(class QDragMoveEvent * event) Q_DECL_OVERRIDE;
virtual void startDrag(Qt::DropActions supportedActions) Q_DECL_OVERRIDE;
virtual void dragEnterEvent(class QDragEnterEvent * event) override;
virtual void dropEvent(class QDropEvent * event) override;
virtual void dragMoveEvent(class QDragMoveEvent * event) override;
virtual void startDrag(Qt::DropActions supportedActions) override;
/**
* Expand the first level in the view if there is only one root folder.
......@@ -52,9 +52,9 @@ public:
void openEntryEditor(const QModelIndex &index);
protected:
virtual bool eventFilter(QObject *object, QEvent *event) Q_DECL_OVERRIDE;
virtual void mouseReleaseEvent(QMouseEvent *event) Q_DECL_OVERRIDE;
virtual void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE;
virtual bool eventFilter(QObject *object, QEvent *event) override;
virtual void mouseReleaseEvent(QMouseEvent *event) override;
virtual void keyPressEvent(QKeyEvent *event) override;
signals:
void entryChanged(const QString &name);
......
......@@ -44,18 +44,18 @@ public:
explicit JobTracker(QWidget *parent = nullptr);
~JobTracker();
QWidget *widget(KJob *) Q_DECL_OVERRIDE;
QWidget *widget(KJob *) override;
public slots:
void registerJob(KJob *job) Q_DECL_OVERRIDE;
void unregisterJob(KJob *job) Q_DECL_OVERRIDE;
void registerJob(KJob *job) override;
void unregisterJob(KJob *job) override;
protected slots:
void description(KJob *job, const QString &title, const QPair< QString, QString > &f1, const QPair< QString, QString > &f2) Q_DECL_OVERRIDE;
void infoMessage(KJob *job, const QString &plain, const QString &rich) Q_DECL_OVERRIDE;
void warning(KJob *job, const QString &plain, const QString &rich) Q_DECL_OVERRIDE;
void description(KJob *job, const QString &title, const QPair< QString, QString > &f1, const QPair< QString, QString > &f2) override;
void infoMessage(KJob *job, const QString &plain, const QString &rich) override;
void warning(KJob *job, const QString &plain, const QString &rich) override;
void percent(KJob *job, unsigned long percent) Q_DECL_OVERRIDE;
void percent(KJob *job, unsigned long percent) override;
private slots:
void resetUi();
......
......@@ -73,13 +73,13 @@ public:
Part(QWidget *parentWidget, QObject *parent, const QVariantList &);
~Part();
bool openFile() Q_DECL_OVERRIDE;
bool saveFile() Q_DECL_OVERRIDE;
bool openFile() override;
bool saveFile() override;
bool isBusy() const Q_DECL_OVERRIDE;
KConfigSkeleton *config() const Q_DECL_OVERRIDE;
QList<Kerfuffle::SettingsPage*> settingsPages(QWidget *parent) const Q_DECL_OVERRIDE;
bool eventFilter(QObject *target, QEvent *event) Q_DECL_OVERRIDE;
bool isBusy() const override;
KConfigSkeleton *config() const override;
QList<Kerfuffle::SettingsPage*> settingsPages(QWidget *parent) const override;
bool eventFilter(QObject *target, QEvent *event) override;
/**
* Validate the localFilePath() associated to this part.
......@@ -98,7 +98,7 @@ public slots:
void extractSelectedFilesTo(const QString& localPath);
protected:
void guiActivateEvent(KParts::GUIActivateEvent *event) Q_DECL_OVERRIDE;
void guiActivateEvent(KParts::GUIActivateEvent *event) override;
private slots:
void slotLoadingStarted();
......
......@@ -35,10 +35,10 @@ public:
explicit CliPlugin(QObject *parent, const QVariantList & args);
virtual ~CliPlugin();
virtual void resetParsing() Q_DECL_OVERRIDE;
virtual bool readListLine(const QString &line) Q_DECL_OVERRIDE;
virtual bool readExtractLine(const QString &line) Q_DECL_OVERRIDE;
virtual bool readDeleteLine(const QString &line) Q_DECL_OVERRIDE;
virtual void resetParsing() override;
virtual bool readListLine(const QString &line) override;
virtual bool readExtractLine(const QString &line) override;
virtual bool readDeleteLine(const QString &line) override;
private:
enum ArchiveType {
......
......@@ -35,10 +35,10 @@ public:
explicit CliPlugin(QObject *parent, const QVariantList &args);
virtual ~CliPlugin();
virtual void resetParsing() Q_DECL_OVERRIDE;
virtual bool readListLine(const QString &line) Q_DECL_OVERRIDE;
virtual bool readExtractLine(const QString &line) Q_DECL_OVERRIDE;
virtual bool hasBatchExtractionProgress() const Q_DECL_OVERRIDE;
virtual void resetParsing() override;
virtual bool readListLine(const QString &line) override;
virtual bool readExtractLine(const QString &line) override;
virtual bool hasBatchExtractionProgress() const override;
private:
......
......@@ -33,11 +33,11 @@ public:
explicit CliPlugin(QObject *parent, const QVariantList &args);
virtual ~CliPlugin();
virtual bool list() Q_DECL_OVERRIDE;
virtual bool extractFiles(const QVector<Kerfuffle::Archive::Entry*> &files, const QString &destinationDirectory, const Kerfuffle::ExtractionOptions &options) Q_DECL_OVERRIDE;
virtual void resetParsing() Q_DECL_OVERRIDE;
virtual bool readListLine(const QString &line) Q_DECL_OVERRIDE;
virtual bool readExtractLine(const QString &line) Q_DECL_OVERRIDE;
virtual bool list() override;
virtual bool extractFiles(const QVector<Kerfuffle::Archive::Entry*> &files, const QString &destinationDirectory, const Kerfuffle::ExtractionOptions &options) override;
virtual void resetParsing() override;
virtual bool readListLine(const QString &line) override;
virtual bool readExtractLine(const QString &line) override;
/**
* Fill the lsar's json output all in once (useful for unit testing).
......@@ -45,14 +45,14 @@ public:
void setJsonOutput(const QString &jsonOutput);
protected slots:
void readStdout(bool handleAll = false) Q_DECL_OVERRIDE;
void readStdout(bool handleAll = false) override;
protected:
bool handleLine(const QString& line) Q_DECL_OVERRIDE;
bool handleLine(const QString& line) override;
private slots:
void processFinished(int exitCode, QProcess::ExitStatus exitStatus) Q_DECL_OVERRIDE;
void processFinished(int exitCode, QProcess::ExitStatus exitStatus) override;
private:
void setupCliProperties();
......
......@@ -34,13 +34,13 @@ public:
explicit CliPlugin(QObject *parent, const QVariantList &args);
virtual ~CliPlugin();
virtual void resetParsing() Q_DECL_OVERRIDE;
virtual QString escapeFileName(const QString &fileName) const Q_DECL_OVERRIDE;
virtual bool readListLine(const QString &line) Q_DECL_OVERRIDE;
virtual bool readExtractLine(const QString &line) Q_DECL_OVERRIDE;