Commit 679769dc authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing override

parent 7508ab11
......@@ -24,7 +24,7 @@ class KWalletConfig : public KCModule
Q_OBJECT
public:
explicit KWalletConfig(QWidget *parent = nullptr, const QVariantList & = QVariantList());
virtual ~KWalletConfig();
~KWalletConfig() override;
void load() override;
void save() override;
......
......@@ -33,7 +33,7 @@ class KWalletEntryItem : public QTreeWidgetItem
{
public:
KWalletEntryItem(KWallet::Wallet *w, QTreeWidgetItem *parent, const QString &ename);
virtual ~KWalletEntryItem();
~KWalletEntryItem() override;
const QString &name() const
{
......@@ -55,7 +55,7 @@ class KWalletContainerItem : public QTreeWidgetItem
{
public:
KWalletContainerItem(QTreeWidgetItem *parent, const QString &name, KWallet::Wallet::EntryType entryType);
virtual ~KWalletContainerItem();
~KWalletContainerItem() override;
public:
KWallet::Wallet::EntryType entryType();
......@@ -70,7 +70,7 @@ class KWalletFolderItem : public QTreeWidgetItem
{
public:
KWalletFolderItem(KWallet::Wallet *w, QTreeWidget *parent, const QString &name, int entries);
virtual ~KWalletFolderItem();
~KWalletFolderItem() override;
virtual bool acceptDrop(const QMimeData *mime) const;
......@@ -96,7 +96,7 @@ class KWalletEntryList : public QTreeWidget
public:
explicit KWalletEntryList(QWidget *parent, const QString &name = QString());
virtual ~KWalletEntryList();
~KWalletEntryList() override;
bool existsFolder(const QString &name);
KWalletFolderItem *getFolder(const QString &name);
......@@ -128,7 +128,7 @@ class KWalletItem : public QListWidgetItem
{
public:
KWalletItem(QListWidget *parent, const QString &walletName);
virtual ~KWalletItem();
~KWalletItem() override;
void setOpen(bool state);
......
......@@ -29,7 +29,7 @@ class KWalletEditor : public QWidget, public Ui::WalletWidget
public:
explicit KWalletEditor(QWidget *parent, const QString &name = QString());
virtual ~KWalletEditor();
~KWalletEditor() override;
void setWallet(KWallet::Wallet *wallet, bool isPath = false);
bool isOpen() const;
......
......@@ -16,7 +16,7 @@ class KWalletPopup : public QMenu
public:
explicit KWalletPopup(const QString &wallet, QWidget *parent = nullptr, const QString &name = QString());
virtual ~KWalletPopup();
~KWalletPopup() override;
public Q_SLOTS:
void openWallet();
......
......@@ -19,7 +19,7 @@ class KWMapEditor : public QTableWidget
public:
explicit KWMapEditor(QMap<QString, QString> &map, QWidget *parent = nullptr);
virtual ~KWMapEditor();
~KWMapEditor() override;
public Q_SLOTS:
void reload();
......
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