mirror of
https://github.com/altlinux/admc.git
synced 2025-01-03 09:17:53 +03:00
Add override keywords to please the compiler
This commit is contained in:
parent
1dd2ad3469
commit
267a0f5e60
@ -34,7 +34,7 @@ public:
|
||||
bool verify(AdInterface &ad, const QString &dn) const override;
|
||||
bool apply(AdInterface &ad, const QString &dn) const override;
|
||||
|
||||
void set_enabled(const bool enabled);
|
||||
void set_enabled(const bool enabled) override;
|
||||
|
||||
private:
|
||||
QLineEdit *edit;
|
||||
|
@ -38,7 +38,7 @@ public:
|
||||
void load(AdInterface &ad, const AdObject &object) override;
|
||||
bool apply(AdInterface &ad, const QString &dn) const override;
|
||||
|
||||
void set_enabled(const bool enabled);
|
||||
void set_enabled(const bool enabled) override;
|
||||
|
||||
private:
|
||||
QCheckBox *check;
|
||||
|
@ -34,7 +34,7 @@ public:
|
||||
bool verify(AdInterface &ad, const QString &dn) const override;
|
||||
bool apply(AdInterface &ad, const QString &dn) const override;
|
||||
|
||||
void set_enabled(const bool enabled);
|
||||
void set_enabled(const bool enabled) override;
|
||||
|
||||
private:
|
||||
QLineEdit *edit;
|
||||
|
@ -39,10 +39,10 @@ class DomainInfoImpl : public ConsoleImpl {
|
||||
public:
|
||||
explicit DomainInfoImpl(ConsoleWidget *console_arg);
|
||||
|
||||
void selected_as_scope(const QModelIndex &index);
|
||||
void selected_as_scope(const QModelIndex &index) override;
|
||||
void refresh(const QList<QModelIndex> &index_list) override;
|
||||
|
||||
virtual QList<QAction *> get_all_custom_actions() const;
|
||||
virtual QList<QAction *> get_all_custom_actions() const override;
|
||||
QSet<QAction *> get_custom_actions(const QModelIndex &index, const bool single_selection) const override;
|
||||
QSet<StandardAction> get_standard_actions(const QModelIndex &index, const bool single_selection) const override;
|
||||
|
||||
|
@ -46,7 +46,7 @@ public:
|
||||
virtual QMimeData *mimeData(const QModelIndexList &indexes) const override;
|
||||
virtual Qt::DropActions supportedDropActions() const override;
|
||||
virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) override;
|
||||
virtual bool canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) const;
|
||||
virtual bool canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) const override;
|
||||
|
||||
void arrange_orders_from_gplink(const Gplink &gplink);
|
||||
void update_sort_column(LinkedPoliciesColumn column);
|
||||
|
Loading…
Reference in New Issue
Block a user