Commit 7d31abff authored by Laurent Montel's avatar Laurent Montel
Browse files

Add missing override

parent f7021747
Pipeline #46785 passed with stage
in 13 minutes and 45 seconds
......@@ -19,7 +19,7 @@ class NOTESHARED_EXPORT NotesAkonadiTreeModel : public Akonadi::EntityTreeModel
Q_OBJECT
public:
explicit NotesAkonadiTreeModel(Akonadi::ChangeRecorder *changeRecorder, QObject *parent = nullptr);
~NotesAkonadiTreeModel();
~NotesAkonadiTreeModel() override;
};
}
......
......@@ -18,7 +18,7 @@ class NOTESHARED_EXPORT NotesChangeRecorder : public QObject
Q_OBJECT
public:
explicit NotesChangeRecorder(QObject *parent = nullptr);
~NotesChangeRecorder();
~NotesChangeRecorder() override;
Akonadi::ChangeRecorder *changeRecorder() const;
......
......@@ -20,7 +20,7 @@ class NOTESHARED_EXPORT NoteAlarmDialog : public QDialog
Q_OBJECT
public:
explicit NoteAlarmDialog(const QString &caption, QWidget *parent = nullptr);
~NoteAlarmDialog();
~NoteAlarmDialog() override;
void setAlarm(const QDateTime &dateTime);
Q_REQUIRED_RESULT QDateTime alarm() const;
......
......@@ -14,7 +14,7 @@ class NOTESHARED_EXPORT NoteNetworkConfigWidget : public QWidget
Q_OBJECT
public:
explicit NoteNetworkConfigWidget(QWidget *parent = nullptr);
~NoteNetworkConfigWidget();
~NoteNetworkConfigWidget() override;
void save();
void load();
......
......@@ -14,7 +14,7 @@ class SelectedNotefolderDialog : public Akonadi::CollectionDialog
Q_OBJECT
public:
explicit SelectedNotefolderDialog(QWidget *parent = nullptr);
~SelectedNotefolderDialog();
~SelectedNotefolderDialog() override;
private:
void readConfig();
......
......@@ -14,7 +14,7 @@ class NoteEditor : public KPIMTextEdit::RichTextEditorWidget
Q_OBJECT
public:
explicit NoteEditor(QWidget *parent);
~NoteEditor();
~NoteEditor() override;
};
}
......
......@@ -18,7 +18,7 @@ class NOTESHARED_EXPORT CreateNewNoteJob : public QObject
Q_OBJECT
public:
explicit CreateNewNoteJob(QObject *parent = nullptr, QWidget *widget = nullptr);
~CreateNewNoteJob();
~CreateNewNoteJob() override;
void setNote(const QString &name, const QString &text);
......
......@@ -25,7 +25,7 @@ class NoteHostDialog : public QDialog
Q_OBJECT
public:
explicit NoteHostDialog(const QString &caption, QWidget *parent = nullptr);
~NoteHostDialog();
~NoteHostDialog() override;
Q_REQUIRED_RESULT QString host() const;
/**
......
......@@ -22,7 +22,7 @@ class NOTESHARED_EXPORT NotesNetworkReceiver : public QObject
Q_OBJECT
public:
explicit NotesNetworkReceiver(QTcpSocket *);
~NotesNetworkReceiver();
~NotesNetworkReceiver() override;
Q_SIGNALS:
void sigNoteReceived(const QString &, const QString &);
......
......@@ -19,7 +19,7 @@ class NotesNetworkSender : public QObject
Q_OBJECT
public:
explicit NotesNetworkSender(QTcpSocket *socket);
~NotesNetworkSender();
~NotesNetworkSender() override;
void setSenderId(const QString &sender);
void setNote(const QString &title, const QString &text);
......
......@@ -17,7 +17,7 @@ class NOTESHARED_EXPORT NoteListWidget : public QListWidget
Q_OBJECT
public:
explicit NoteListWidget(QWidget *parent = nullptr);
~NoteListWidget();
~NoteListWidget() override;
void setNotes(const Akonadi::Item::List &notes);
void addNotes(const Akonadi::Item::List &notes);
......
......@@ -13,7 +13,7 @@ class KNotesAkonadiTray : public KStatusNotifierItem
Q_OBJECT
public:
explicit KNotesAkonadiTray(QWidget *parent = nullptr);
~KNotesAkonadiTray();
~KNotesAkonadiTray() override;
void updateNumberOfNotes(int number);
......
......@@ -37,7 +37,7 @@ class KNotesApp : public QWidget, virtual public KXMLGUIClient
Q_OBJECT
public:
explicit KNotesApp(QWidget *parent = nullptr);
~KNotesApp();
~KNotesApp() override;
Q_REQUIRED_RESULT QString name(Akonadi::Item::Id id) const;
Q_REQUIRED_RESULT QString text(Akonadi::Item::Id id) const;
......
......@@ -13,7 +13,7 @@ class KNotesTray : public KStatusNotifierItem
Q_OBJECT
public:
explicit KNotesTray(QWidget *parent = nullptr);
~KNotesTray();
~KNotesTray() override;
void updateNumberOfNotes(int value);
......
......@@ -42,7 +42,7 @@ class KNoteCollectionConfigWidget : public QWidget
Q_OBJECT
public:
explicit KNoteCollectionConfigWidget(QWidget *parent = nullptr);
~KNoteCollectionConfigWidget();
~KNoteCollectionConfigWidget() override;
void updateCollectionsRecursive();
......
......@@ -24,7 +24,7 @@ class KNOTES_EXPORT KNoteConfigDialog : public KCMultiDialog
Q_OBJECT
public:
explicit KNoteConfigDialog(const QString &title, QWidget *parent);
~KNoteConfigDialog();
~KNoteConfigDialog() override;
public Q_SLOTS:
void slotOk();
......
......@@ -18,7 +18,7 @@ class KNoteDisplayConfigWidget : public QWidget
Q_OBJECT
public:
explicit KNoteDisplayConfigWidget(bool defaults, QWidget *parent = nullptr);
~KNoteDisplayConfigWidget();
~KNoteDisplayConfigWidget() override;
void load(NoteShared::NoteDisplayAttribute *attr);
void save(NoteShared::NoteDisplayAttribute *attr);
......
......@@ -19,7 +19,7 @@ class KNoteEditorConfigWidget : public QWidget
Q_OBJECT
public:
explicit KNoteEditorConfigWidget(QWidget *parent = nullptr);
~KNoteEditorConfigWidget();
~KNoteEditorConfigWidget() override;
void load(NoteShared::NoteDisplayAttribute *attr, bool isRichText);
void save(NoteShared::NoteDisplayAttribute *attr, bool &isRichText);
......
......@@ -18,7 +18,7 @@ class KNoteDeleteSelectedNotesDialog : public QDialog
Q_OBJECT
public:
explicit KNoteDeleteSelectedNotesDialog(QWidget *parent = nullptr);
~KNoteDeleteSelectedNotesDialog();
~KNoteDeleteSelectedNotesDialog() override;
void setNotes(const Akonadi::Item::List &notes);
......
......@@ -16,7 +16,7 @@ class KNoteSelectedNotesDialog : public QDialog
Q_OBJECT
public:
explicit KNoteSelectedNotesDialog(QWidget *parent = nullptr);
~KNoteSelectedNotesDialog();
~KNoteSelectedNotesDialog() override;
void setNotes(const QHash<Akonadi::Item::Id, KNote *> &notes);
......
......@@ -13,7 +13,7 @@ class KNotesKeyDialog : public QDialog
{
public:
explicit KNotesKeyDialog(KActionCollection *globals, QWidget *parent);
~KNotesKeyDialog();
~KNotesKeyDialog() override;
void insert(KActionCollection *actions);
......
......@@ -22,7 +22,7 @@ class KNoteFindWidget : public QWidget
Q_OBJECT
public:
explicit KNoteFindWidget(QWidget *parent = nullptr);
~KNoteFindWidget();
~KNoteFindWidget() override;
void setExistingNotes(const QHash<Akonadi::Item::Id, Akonadi::Item> &notes);
......
......@@ -18,7 +18,7 @@ class KNoteEditDialog : public QDialog, virtual public KXMLGUIClient
Q_OBJECT
public:
explicit KNoteEditDialog(bool readOnly, QWidget *parent = nullptr);
~KNoteEditDialog();
~KNoteEditDialog() override;
void setAcceptRichText(bool b);
QString text() const;
......
......@@ -15,7 +15,7 @@ class KNotesSelectDeleteNotesListWidget : public QListWidget
Q_OBJECT
public:
explicit KNotesSelectDeleteNotesListWidget(QWidget *parent = nullptr);
~KNotesSelectDeleteNotesListWidget();
~KNotesSelectDeleteNotesListWidget() override;
void setItems(const QList<KNotesIconViewItem *> &items);
};
......
......@@ -15,7 +15,7 @@ class KNotesWidget : public QWidget
Q_OBJECT
public:
explicit KNotesWidget(KNotesPart *part, QWidget *parent = nullptr);
~KNotesWidget();
~KNotesWidget() override;
KNotesIconView *notesView() const;
......
......@@ -21,7 +21,7 @@ class KNOTES_EXPORT KNotePrinter : public QObject
Q_OBJECT
public:
explicit KNotePrinter(QObject *parent = nullptr);
~KNotePrinter();
~KNotePrinter() override;
void setDefaultFont(const QFont &font);
Q_REQUIRED_RESULT QFont defaultFont() const;
......
......@@ -25,7 +25,7 @@ class KNOTES_EXPORT KNotePrintObject : public QObject
Q_PROPERTY(QString backgroundColorName READ backgroundColorName)
public:
explicit KNotePrintObject(const Akonadi::Item &item, QObject *parent = nullptr);
~KNotePrintObject();
~KNotePrintObject() override;
Q_REQUIRED_RESULT QString description() const;
Q_REQUIRED_RESULT QString name() const;
......
......@@ -20,7 +20,7 @@ class KNotePrintSelectedNotesDialog : public QDialog
Q_OBJECT
public:
explicit KNotePrintSelectedNotesDialog(QWidget *parent = nullptr);
~KNotePrintSelectedNotesDialog();
~KNotePrintSelectedNotesDialog() override;
void setNotes(const QHash<Akonadi::Item::Id, KNote *> &notes);
......
......@@ -15,7 +15,7 @@ class KNOTES_EXPORT KNotePrintSelectThemeComboBox : public QComboBox
Q_OBJECT
public:
explicit KNotePrintSelectThemeComboBox(QWidget *parent = nullptr);
~KNotePrintSelectThemeComboBox();
~KNotePrintSelectThemeComboBox() override;
Q_REQUIRED_RESULT QString selectedTheme() const;
......
......@@ -16,7 +16,7 @@ class KNOTES_EXPORT KNotePrintSelectThemeDialog : public QDialog
Q_OBJECT
public:
explicit KNotePrintSelectThemeDialog(QWidget *parent = nullptr);
~KNotePrintSelectThemeDialog();
~KNotePrintSelectThemeDialog() override;
Q_REQUIRED_RESULT QString selectedTheme() const;
......
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