aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2021-04-15 12:02:09 +0200
committerDavid Faure <faure@kde.org>2021-04-15 12:02:10 +0200
commit163cebc7065cd85650f45e93203b3ea8dd82f652 (patch)
treed243f79eb175a070e8dfeed3bc1767ff0924c3f2 /src
parentff9baa8f4a9b910862618dac54d0bdb537af29d1 (diff)
downloadkconfig-163cebc7065cd85650f45e93203b3ea8dd82f652.tar.gz
kconfig-163cebc7065cd85650f45e93203b3ea8dd82f652.tar.bz2
KConfig: rename kconfigdata.h to kconfigdata_p.h
It's internal, the symbols are not exported, the header is not installed. The _p.h naming makes this more obvious, when grepping for stuff in public API.
Diffstat (limited to 'src')
-rw-r--r--src/core/kconfig_p.h2
-rw-r--r--src/core/kconfigbackend.cpp2
-rw-r--r--src/core/kconfigdata.cpp2
-rw-r--r--src/core/kconfigdata_p.h (renamed from src/core/kconfigdata.h)4
-rw-r--r--src/core/kconfiggroup.cpp2
-rw-r--r--src/core/kconfigini.cpp2
6 files changed, 7 insertions, 7 deletions
diff --git a/src/core/kconfig_p.h b/src/core/kconfig_p.h
index b201df17..e5c9d869 100644
--- a/src/core/kconfig_p.h
+++ b/src/core/kconfig_p.h
@@ -12,7 +12,7 @@
#define KCONFIG_P_H
#include "kconfigbackend_p.h"
-#include "kconfigdata.h"
+#include "kconfigdata_p.h"
#include "kconfiggroup.h"
#include <QDir>
diff --git a/src/core/kconfigbackend.cpp b/src/core/kconfigbackend.cpp
index 13455dbd..6a5984a3 100644
--- a/src/core/kconfigbackend.cpp
+++ b/src/core/kconfigbackend.cpp
@@ -16,7 +16,7 @@
#include <QHash>
#include <QStringList>
-#include "kconfigdata.h"
+#include "kconfigdata_p.h"
#include "kconfigini_p.h"
typedef QExplicitlySharedDataPointer<KConfigBackend> BackendPtr;
diff --git a/src/core/kconfigdata.cpp b/src/core/kconfigdata.cpp
index ada7125f..b479a598 100644
--- a/src/core/kconfigdata.cpp
+++ b/src/core/kconfigdata.cpp
@@ -7,7 +7,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
-#include <kconfigdata.h>
+#include "kconfigdata_p.h"
QDebug operator<<(QDebug dbg, const KEntryKey &key)
{
diff --git a/src/core/kconfigdata.h b/src/core/kconfigdata_p.h
index 0ca228fe..3554568e 100644
--- a/src/core/kconfigdata.h
+++ b/src/core/kconfigdata_p.h
@@ -7,8 +7,8 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
-#ifndef KCONFIGDATA_H
-#define KCONFIGDATA_H
+#ifndef KCONFIGDATA_P_H
+#define KCONFIGDATA_P_H
#include <QByteArray>
#include <QDebug>
diff --git a/src/core/kconfiggroup.cpp b/src/core/kconfiggroup.cpp
index c065be81..5ee9f6ab 100644
--- a/src/core/kconfiggroup.cpp
+++ b/src/core/kconfiggroup.cpp
@@ -13,7 +13,7 @@
#include "kconfig.h"
#include "kconfig_core_log_settings.h"
#include "kconfig_p.h"
-#include "kconfigdata.h"
+#include "kconfigdata_p.h"
#include "ksharedconfig.h"
#include <QDate>
diff --git a/src/core/kconfigini.cpp b/src/core/kconfigini.cpp
index 8c81db8f..c7861f66 100644
--- a/src/core/kconfigini.cpp
+++ b/src/core/kconfigini.cpp
@@ -13,7 +13,7 @@
#include "kconfig.h"
#include "kconfig_core_log_settings.h"
#include "kconfigbackend_p.h"
-#include "kconfigdata.h"
+#include "kconfigdata_p.h"
#include <QDateTime>
#include <QDebug>