aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2018-03-17 15:46:13 +0100
committerLaurent Montel <[email protected]>2018-03-17 15:46:13 +0100
commit2e7b91964d7e39724023115c6fdd5139141d57fc (patch)
tree42215b8b197db61eb208ee2856999242f4892f8b
parentef9082512e107c951ac97a91a36f61b0bb571a85 (diff)
Remove virtual when not necessary. Add overridev18.03.80
-rw-r--r--kioslave/src/ldap/kio_ldap.h4
-rw-r--r--src/ber.h2
-rw-r--r--src/ldapattributeproxymodel.h2
-rw-r--r--src/ldapconfigwidget.h2
-rw-r--r--src/ldapconnection.h2
-rw-r--r--src/ldapcontrol.h2
-rw-r--r--src/ldapmodel.h2
-rw-r--r--src/ldapobject.h2
-rw-r--r--src/ldapoperation.h2
-rw-r--r--src/ldapsearch.h2
-rw-r--r--src/ldapserver.h2
-rw-r--r--src/ldapurl.h2
-rw-r--r--src/ldif.h2
13 files changed, 14 insertions, 14 deletions
diff --git a/kioslave/src/ldap/kio_ldap.h b/kioslave/src/ldap/kio_ldap.h
index 7f3c11c..cbe1ccf 100644
--- a/kioslave/src/ldap/kio_ldap.h
+++ b/kioslave/src/ldap/kio_ldap.h
@@ -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;
diff --git a/src/ber.h b/src/ber.h
index 6a40da7..61afa4e 100644
--- a/src/ber.h
+++ b/src/ber.h
@@ -48,7 +48,7 @@ public:
/**
* Destroys the Ber object.
*/
- virtual ~Ber();
+ ~Ber();
Ber(const Ber &that);
Ber &operator=(const Ber &that);
diff --git a/src/ldapattributeproxymodel.h b/src/ldapattributeproxymodel.h
index 01144a4..9c8599b 100644
--- a/src/ldapattributeproxymodel.h
+++ b/src/ldapattributeproxymodel.h
@@ -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;
/**
diff --git a/src/ldapconfigwidget.h b/src/ldapconfigwidget.h
index fbfee1e..9cdde36 100644
--- a/src/ldapconfigwidget.h
+++ b/src/ldapconfigwidget.h
@@ -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
diff --git a/src/ldapconnection.h b/src/ldapconnection.h
index d8fad14..3339547 100644
--- a/src/ldapconnection.h
+++ b/src/ldapconnection.h
@@ -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,
diff --git a/src/ldapcontrol.h b/src/ldapcontrol.h
index a372e43..126bac9 100644
--- a/src/ldapcontrol.h
+++ b/src/ldapcontrol.h
@@ -57,7 +57,7 @@ public:
/**
* Destroys the control object.
*/
- virtual ~LdapControl();
+ ~LdapControl();
/**
* Sets the control's OID, value and criticality.
*/
diff --git a/src/ldapmodel.h b/src/ldapmodel.h
index 3067d35..df6a7df 100644
--- a/src/ldapmodel.h
+++ b/src/ldapmodel.h
@@ -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.
diff --git a/src/ldapobject.h b/src/ldapobject.h
index a537d6d..ffa5293 100644
--- a/src/ldapobject.h
+++ b/src/ldapobject.h
@@ -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);
diff --git a/src/ldapoperation.h b/src/ldapoperation.h
index 8f4df44..2e4071b 100644
--- a/src/ldapoperation.h
+++ b/src/ldapoperation.h
@@ -95,7 +95,7 @@ public:
LdapOperation();
LdapOperation(LdapConnection &conn);
- virtual ~LdapOperation();
+ ~LdapOperation();
/**
* Sets the connection object. Without living connection object,
diff --git a/src/ldapsearch.h b/src/ldapsearch.h
index 7a8fbed..03d8791 100644
--- a/src/ldapsearch.h
+++ b/src/ldapsearch.h
@@ -62,7 +62,7 @@ public:
*/
explicit LdapSearch(LdapConnection &connection);
- virtual ~LdapSearch();
+ ~LdapSearch();
/**
* Sets the connection for this object to use for searches from now
diff --git a/src/ldapserver.h b/src/ldapserver.h
index be7cd96..149da78 100644
--- a/src/ldapserver.h
+++ b/src/ldapserver.h
@@ -67,7 +67,7 @@ public:
/**
* Destroys the LDAP server object.
*/
- virtual ~LdapServer();
+ ~LdapServer();
/**
* Describes the encryption settings that can be used
diff --git a/src/ldapurl.h b/src/ldapurl.h
index e0655a9..90030ad 100644
--- a/src/ldapurl.h
+++ b/src/ldapurl.h
@@ -87,7 +87,7 @@ public:
/**
* Destroys the LDAP url.
*/
- virtual ~LdapUrl();
+ ~LdapUrl();
/**
* Sets the @p dn part of the LDAP url.
diff --git a/src/ldif.h b/src/ldif.h
index c85ceee..4486afc 100644
--- a/src/ldif.h
+++ b/src/ldif.h
@@ -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