Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 2e7b9196 authored by Laurent Montel's avatar Laurent Montel 😁

Remove virtual when not necessary. Add override

parent ef908251
......@@ -36,9 +36,9 @@ class LDAPProtocol : public KIO::SlaveBase
{
public:
LDAPProtocol(const QByteArray &protocol, const QByteArray &pool, const QByteArray &app);
virtual ~LDAPProtocol();
~LDAPProtocol() override;
virtual void setHost(const QString &host, quint16 port,
void setHost(const QString &host, quint16 port,
const QString &user, const QString &pass) override;
void openConnection() override;
......
......@@ -48,7 +48,7 @@ public:
/**
* Destroys the Ber object.
*/
virtual ~Ber();
~Ber();
Ber(const Ber &that);
Ber &operator=(const Ber &that);
......
......@@ -33,7 +33,7 @@ class KLDAP_EXPORT LdapAttributeProxyModel : public QSortFilterProxyModel
Q_OBJECT
public:
explicit LdapAttributeProxyModel(QObject *parent = nullptr);
~LdapAttributeProxyModel();
~LdapAttributeProxyModel() override;
QVariant data(const QModelIndex &index, int role) const override;
/**
......
......@@ -104,7 +104,7 @@ public:
explicit LdapConfigWidget(WinFlags flags, QWidget *parent = nullptr,
Qt::WindowFlags fl = 0);
/** Destructs a configuration widget */
virtual ~LdapConfigWidget();
~LdapConfigWidget();
/** Sets the user name. Kconfig widget name: kcfg_ldapuser
* @param user the user name to set
......
......@@ -52,7 +52,7 @@ public:
/** Constructs an LdapConnection with the parameters given in server */
explicit LdapConnection(const LdapServer &server);
virtual ~LdapConnection();
~LdapConnection();
/**
* Sets the connection parameters via the specified url. After this,
......
......@@ -57,7 +57,7 @@ public:
/**
* Destroys the control object.
*/
virtual ~LdapControl();
~LdapControl();
/**
* Sets the control's OID, value and criticality.
*/
......
......@@ -71,7 +71,7 @@ public:
* \see ready()
*/
explicit LdapModel(LdapConnection &connection, QObject *parent = nullptr);
virtual ~LdapModel();
~LdapModel() override;
/**
* Set the connection that the model should use.
......
......@@ -47,7 +47,7 @@ class KLDAP_EXPORT LdapObject
public:
LdapObject();
explicit LdapObject(const QString &dn);
virtual ~LdapObject();
~LdapObject();
LdapObject(const LdapObject &that);
LdapObject &operator=(const LdapObject &that);
......
......@@ -95,7 +95,7 @@ public:
LdapOperation();
LdapOperation(LdapConnection &conn);
virtual ~LdapOperation();
~LdapOperation();
/**
* Sets the connection object. Without living connection object,
......
......@@ -62,7 +62,7 @@ public:
*/
explicit LdapSearch(LdapConnection &connection);
virtual ~LdapSearch();
~LdapSearch();
/**
* Sets the connection for this object to use for searches from now
......
......@@ -67,7 +67,7 @@ public:
/**
* Destroys the LDAP server object.
*/
virtual ~LdapServer();
~LdapServer();
/**
* Describes the encryption settings that can be used
......
......@@ -87,7 +87,7 @@ public:
/**
* Destroys the LDAP url.
*/
virtual ~LdapUrl();
~LdapUrl();
/**
* Sets the @p dn part of the LDAP url.
......
......@@ -61,7 +61,7 @@ public:
Ldif(const Ldif &that);
Ldif &operator=(const Ldif &that);
virtual ~Ldif();
~Ldif();
/**
* Assembles fieldname and value into a valid Ldif line, BASE64 encodes the
......
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