Commit ec75b062 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing override

parent 499438bf
......@@ -35,7 +35,7 @@ class DetailDialog : public QDialog, public Ui::DetailDialogBase
public:
explicit DetailDialog(QWidget *parent);
~DetailDialog();
~DetailDialog() override;
public Q_SLOTS:
void selectionChanged(LogViewWidget *logViewWidget);
......
......@@ -35,7 +35,7 @@ class GeneralConfigurationWidget : public QWidget, public Ui::GeneralConfigurati
public:
GeneralConfigurationWidget();
~GeneralConfigurationWidget();
~GeneralConfigurationWidget() override;
bool isValid() const;
......
......@@ -52,7 +52,7 @@ public:
explicit Analyzer(LogMode *mode);
virtual ~Analyzer();
~Analyzer() override;
virtual void watchLogFiles(bool enabled) = 0;
......
/***************************************************************************
/***************************************************************************
* KSystemLog, a system log viewer tool *
* Copyright (C) 2007 by Nicolas Ternisien *
* nicolas.ternisien@gmail.com *
......@@ -45,7 +45,7 @@ class KioLogFileReader : public QObject
public:
explicit KioLogFileReader(const LogFile &logFile);
virtual ~KioLogFileReader();
~KioLogFileReader() override;
void open();
void close();
......
......@@ -38,7 +38,7 @@ class LevelPrintPage : public QWidget
{
public:
explicit LevelPrintPage(QWidget *parent = nullptr);
~LevelPrintPage();
~LevelPrintPage() override;
bool isValid(QString &msg);
......
......@@ -40,7 +40,7 @@ class LoadingBar : public QWidget
public:
explicit LoadingBar(QWidget *parent = nullptr);
~LoadingBar();
~LoadingBar() override;
QProgressBar *progressBar();
......
......@@ -38,7 +38,7 @@ class LocalLogFileReader : public LogFileReader
public:
explicit LocalLogFileReader(const LogFile &logFile);
virtual ~LocalLogFileReader();
~LocalLogFileReader() override;
void watchFile(bool enable) override;
......
......@@ -41,7 +41,7 @@ public:
LogFile(const LogFile &logFile);
LogFile(const QUrl &url, LogLevel *defaultLogLevel);
virtual ~LogFile();
~LogFile() override;
bool operator==(const LogFile &other) const;
......
......@@ -38,7 +38,7 @@ class LogFileReader : public QObject
public:
explicit LogFileReader(const LogFile &logFile);
virtual ~LogFileReader();
~LogFileReader() override;
virtual void watchFile(bool enable) = 0;
......
......@@ -33,7 +33,7 @@ class LogLevel : QObject
public:
explicit LogLevel(int id, const QString &name, const QString &icon, const QColor &color, QObject *parent = nullptr);
virtual ~LogLevel();
~LogLevel() override;
int id() const;
QString name() const;
......
......@@ -43,7 +43,7 @@ class LogManager : public QObject
public:
explicit LogManager(View *view);
~LogManager();
~LogManager() override;
View *usedView() const;
......
......@@ -73,7 +73,7 @@ class LogMode : public QObject
public:
LogMode(const QString &id, const QString &name, const QString &iconName);
virtual ~LogMode();
~LogMode() override;
QString id() const;
......
......@@ -39,7 +39,7 @@ public:
LogModeAction();
virtual ~LogModeAction();
~LogModeAction() override;
virtual QList<QAction *> innerActions() = 0;
......
......@@ -37,7 +37,7 @@ class LogModeConfiguration : public QObject
public:
LogModeConfiguration();
virtual ~LogModeConfiguration();
~LogModeConfiguration() override;
LogFile findGenericLogFile(const QString &file);
QList<LogFile> findGenericLogFiles(const QStringList &files);
......
......@@ -34,7 +34,7 @@ class LogModeConfigurationWidget : public QWidget
public:
LogModeConfigurationWidget(const QString &itemName, const QString &iconName, const QString &header);
virtual ~LogModeConfigurationWidget();
~LogModeConfigurationWidget() override;
virtual bool isValid() const;
......
......@@ -35,7 +35,7 @@ class LogModeFactory : public QObject
public:
explicit LogModeFactory();
virtual ~LogModeFactory();
~LogModeFactory() override;
virtual LogModeAction *createLogModeAction() const = 0;
......
......@@ -35,7 +35,7 @@ class LogViewExport : public QObject
public:
LogViewExport(QWidget *parent, LogViewWidget *logViewWidget);
virtual ~LogViewExport();
~LogViewExport() override;
void copyToClipboard();
......
......@@ -43,7 +43,7 @@ class LogViewFilterWidget : public QWidget
public:
LogViewFilterWidget();
~LogViewFilterWidget();
~LogViewFilterWidget() override;
KComboBox *filterList();
LogViewWidgetSearchLine *filterLine();
......
......@@ -39,7 +39,7 @@ class LogViewModel : public QObject
public:
explicit LogViewModel(LogViewWidget *logViewWidget);
virtual ~LogViewModel();
~LogViewModel() override;
/**
* Clear the model
......
......@@ -39,7 +39,7 @@ class LogViewSearchWidget : public QWidget, public Ui::LogViewSearchWidgetBase
public:
LogViewSearchWidget();
~LogViewSearchWidget();
~LogViewSearchWidget() override;
void setTreeWidget(LogViewWidget *logViewWidget);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment