aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-07-23 07:04:03 +0200
committerMontel Laurent <[email protected]>2017-07-23 07:04:03 +0200
commit44f8f1fabcf314412334fac86009de75f26f1e38 (patch)
tree0e50c3ef162befe0fdfd66823d59a771cc5d0d5f
parentee6ce9b50ebb78c9fe81e46c3c03b6000c6c23ca (diff)
Add constructor
-rw-r--r--autotests/testkldap.cpp5
-rw-r--r--autotests/testkldap.h4
2 files changed, 9 insertions, 0 deletions
diff --git a/autotests/testkldap.cpp b/autotests/testkldap.cpp
index e26edb2..063873e 100644
--- a/autotests/testkldap.cpp
+++ b/autotests/testkldap.cpp
@@ -36,6 +36,11 @@
#include <QFile>
QTEST_MAIN(KLdapTest)
+KLdapTest::KLdapTest(QObject *parent)
+ : QObject(parent)
+{
+}
+
void KLdapTest::initTestCase()
{
/*
diff --git a/autotests/testkldap.h b/autotests/testkldap.h
index e107ab5..bf304ae 100644
--- a/autotests/testkldap.h
+++ b/autotests/testkldap.h
@@ -30,6 +30,10 @@ using namespace KLDAP;
class KLdapTest : public QObject
{
Q_OBJECT
+public:
+ explicit KLdapTest(QObject *parent = nullptr);
+ ~KLdapTest() = default;
+
private Q_SLOTS:
//void testKLdap();