[utilities/konsole] src/widgets: EditProfileDialog.h: do not expose KNewStuffCore, use forward declaration

Friedrich W. H. Kossebau <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit d96c88ed677e21e386f7abb7ead7ee0ddbecc562 by Friedrich W. H. Kossebau.
Committed on 07/08/2026 at 00:24.
Pushed by kossebau into branch 'master'.

EditProfileDialog.h: do not expose KNewStuffCore, use forward declaration

M  +1    -0    src/widgets/EditProfileDialog.cpp
M  +4    -1    src/widgets/EditProfileDialog.h

https://invent.kde.org/utilities/konsole/-/commit/d96c88ed677e21e386f7abb7ead7ee0ddbecc562

diff --git a/src/widgets/EditProfileDialog.cpp b/src/widgets/EditProfileDialog.cpp
index e5c7e1aca..78bf0907a 100644
--- a/src/widgets/EditProfileDialog.cpp
+++ b/src/widgets/EditProfileDialog.cpp
@@ -33,6 +33,7 @@
 #include <KLocalizedString>
 #include <KWindowSystem>
 
+#include <KNSCore/Entry>
 #include <KNSWidgets/Button>
 
 // Konsole
diff --git a/src/widgets/EditProfileDialog.h b/src/widgets/EditProfileDialog.h
index 22f454a31..f2cc67505 100644
--- a/src/widgets/EditProfileDialog.h
+++ b/src/widgets/EditProfileDialog.h
@@ -10,7 +10,6 @@
 
 #include <QtGlobal>
 // KDE
-#include <KNSCore/Entry>
 #include <KPageDialog>
 
 // Konsole
@@ -27,6 +26,10 @@
 #include "LabelsAligner.h"
 #include "keyboardtranslator/KeyboardTranslatorManager.h"
 
+namespace KNSCore
+{
+class Entry;
+}
 class KPluralHandlingSpinBox;
 class KLocalizedString;
 class QItemSelectionModel;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.