aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/test1.cpp.ref
diff options
context:
space:
mode:
authorKevin Ottens <kevin.ottens@enioka.com>2019-10-08 13:19:31 +0200
committerKevin Ottens <kevin.ottens@enioka.com>2019-10-08 18:13:01 +0200
commit5fa1a3312ab24908d870ce2a2399695ac98d828d (patch)
treee08e4d3134ae2318d65dcb50bee930831f3a6403 /autotests/kconfig_compiler/test1.cpp.ref
parentdb2315d79a1565c4dedf97af36c873f42a286bb2 (diff)
downloadkconfig-5fa1a3312ab24908d870ce2a2399695ac98d828d.tar.gz
kconfig-5fa1a3312ab24908d870ce2a2399695ac98d828d.tar.bz2
Make kconfig_compiler generate ctors with the optional parent arg
Reviewers: #plasma, #frameworks, dfaure, mart, apol Reviewed By: apol Subscribers: kossebau, apol, kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D24490
Diffstat (limited to 'autotests/kconfig_compiler/test1.cpp.ref')
-rw-r--r--autotests/kconfig_compiler/test1.cpp.ref3
1 files changed, 2 insertions, 1 deletions
diff --git a/autotests/kconfig_compiler/test1.cpp.ref b/autotests/kconfig_compiler/test1.cpp.ref
index f0432d45..c0d94eef 100644
--- a/autotests/kconfig_compiler/test1.cpp.ref
+++ b/autotests/kconfig_compiler/test1.cpp.ref
@@ -3,11 +3,12 @@
#include "test1.h"
-Test1::Test1( const QString & transport, const QString & folder )
+Test1::Test1( const QString & transport, const QString & folder, QObject *parent )
: KConfigSkeleton( QStringLiteral( "examplerc" ) )
, mParamtransport(transport)
, mParamfolder(folder)
{
+ setParent(parent);
setCurrentGroup( QStringLiteral( "General-%1" ).arg( mParamfolder ) );
KConfigSkeleton::ItemBool *itemOneOption;