[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdelibs/frameworks] /: Remove unneeded kglobalsettings.h includes
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2012-12-26 23:30:47
Message-ID: 20121226233047.65A29A6091 () git ! kde ! org
[Download RAW message or body]
Git commit c6476d0ddc54765d95cde8b41eb3d163b95b94fb by Albert Astals Cid.
Committed on 27/12/2012 at 00:30.
Pushed by aacid into branch 'frameworks'.
Remove unneeded kglobalsettings.h includes
Found with
diff -ub <( wcgrep -l "kglobalsettings\.h" | sort ) <(wcgrep -l 'KGlobalSettings' | \
sort ) | grep -v CMakeLists.txt | grep ^"-\."
M +0 -1 kde3support/kdeui/k3buttonbox.cpp
M +0 -1 kde3support/kio/kfile/k3filetreeview.cpp
M +1 -1 kdeui/dialogs/kaboutkdedialog_p.cpp
M +0 -1 kdeui/tests/klineedittest.cpp
M +0 -1 kdeui/util/kpassivepopup.cpp
M +0 -1 kdeui/widgets/kcompletionbox.cpp
M +0 -1 kdeui/widgets/ksqueezedtextlabel.cpp
M +0 -2 kdeui/widgets/ktabbar.cpp
M +0 -1 kdeui/xmlgui/kxmlguibuilder.cpp
M +0 -1 kfile/kurlnavigator.cpp
M +0 -1 kfile/kurlnavigatorbutton.cpp
M +0 -2 kfile/kurlnavigatordropdownbutton.cpp
M +0 -1 kfile/kurlnavigatorplacesselector.cpp
M +0 -1 khtml/ecma/debugger/debugwindow.cpp
M +0 -1 khtml/khtmlview.cpp
M +0 -1 khtml/rendering/render_image.cpp
M +0 -1 khtml/test_regression.cpp
M +0 -1 kio/kfile/kpreviewprops.cpp
M +0 -1 staging/kde4support/autotests/kuniqueapptest.cpp
http://commits.kde.org/kdelibs/c6476d0ddc54765d95cde8b41eb3d163b95b94fb
diff --git a/kde3support/kdeui/k3buttonbox.cpp b/kde3support/kdeui/k3buttonbox.cpp
index 2b3fa00..7e2dbc6 100644
--- a/kde3support/kdeui/k3buttonbox.cpp
+++ b/kde3support/kdeui/k3buttonbox.cpp
@@ -50,7 +50,6 @@
*/
#include "moc_k3buttonbox.cpp"
-#include <kglobalsettings.h>
#include <kguiitem.h>
#include <QPushButton>
#include <QList>
diff --git a/kde3support/kio/kfile/k3filetreeview.cpp \
b/kde3support/kio/kfile/k3filetreeview.cpp index 4a02f96..5417c3c 100644
--- a/kde3support/kio/kfile/k3filetreeview.cpp
+++ b/kde3support/kio/kfile/k3filetreeview.cpp
@@ -26,7 +26,6 @@
#include <QtCore/QDir>
#include <QApplication>
#include <kdebug.h>
-#include <kglobalsettings.h>
#include <kfileitem.h>
#include <kmimetype.h>
diff --git a/kdeui/dialogs/kaboutkdedialog_p.cpp \
b/kdeui/dialogs/kaboutkdedialog_p.cpp index 3be9b5c..cecf5a4 100644
--- a/kdeui/dialogs/kaboutkdedialog_p.cpp
+++ b/kdeui/dialogs/kaboutkdedialog_p.cpp
@@ -26,9 +26,9 @@
#include <QLabel>
#include <QLayout>
#include <QTabWidget>
+#include <qstandardpaths.h>
#include <kdeversion.h>
-#include <kglobalsettings.h>
#include <klocalizedstring.h>
#include <ktitlewidget.h>
#include <kiconloader.h>
diff --git a/kdeui/tests/klineedittest.cpp b/kdeui/tests/klineedittest.cpp
index a6f8b17..db5691e 100644
--- a/kdeui/tests/klineedittest.cpp
+++ b/kdeui/tests/klineedittest.cpp
@@ -9,7 +9,6 @@
#include <kdialog.h>
#include <klocalizedstring.h>
#include <klineedit.h>
-#include <kglobalsettings.h>
#include <kcompletionbox.h>
#include "klineedittest.h"
diff --git a/kdeui/util/kpassivepopup.cpp b/kdeui/util/kpassivepopup.cpp
index f345f61..29bcbed 100644
--- a/kdeui/util/kpassivepopup.cpp
+++ b/kdeui/util/kpassivepopup.cpp
@@ -37,7 +37,6 @@
#include <kdebug.h>
#include <kdialog.h>
-#include <kglobalsettings.h>
#include <kconfig.h>
diff --git a/kdeui/widgets/kcompletionbox.cpp b/kdeui/widgets/kcompletionbox.cpp
index 144db59..419e3e5 100644
--- a/kdeui/widgets/kcompletionbox.cpp
+++ b/kdeui/widgets/kcompletionbox.cpp
@@ -34,7 +34,6 @@
#include <kdebug.h>
#include <kconfig.h>
-#include <kglobalsettings.h>
class KCompletionBox::KCompletionBoxPrivate
{
diff --git a/kdeui/widgets/ksqueezedtextlabel.cpp \
b/kdeui/widgets/ksqueezedtextlabel.cpp index 13709c7..dc34ed1 100644
--- a/kdeui/widgets/ksqueezedtextlabel.cpp
+++ b/kdeui/widgets/ksqueezedtextlabel.cpp
@@ -27,7 +27,6 @@
#include <QApplication>
#include <QMimeData>
#include <QTextDocument>
-#include <kglobalsettings.h>
class KSqueezedTextLabelPrivate
{
diff --git a/kdeui/widgets/ktabbar.cpp b/kdeui/widgets/ktabbar.cpp
index d2d4931..67f9d9e 100644
--- a/kdeui/widgets/ktabbar.cpp
+++ b/kdeui/widgets/ktabbar.cpp
@@ -26,8 +26,6 @@
#include <QCursor>
#include <QMouseEvent>
-#include <kglobalsettings.h>
-
class KTabBar::Private
{
public:
diff --git a/kdeui/xmlgui/kxmlguibuilder.cpp b/kdeui/xmlgui/kxmlguibuilder.cpp
index 8b54a14..3be6514 100644
--- a/kdeui/xmlgui/kxmlguibuilder.cpp
+++ b/kdeui/xmlgui/kxmlguibuilder.cpp
@@ -27,7 +27,6 @@
#include "kmainwindow.h"
#include "kxmlguiwindow.h"
#include "kaction.h"
-#include "kglobalsettings.h"
#include <klocalizedstring.h>
#include <kiconloader.h>
#include <kdebug.h>
diff --git a/kfile/kurlnavigator.cpp b/kfile/kurlnavigator.cpp
index 9e8548b..b7056a3 100644
--- a/kfile/kurlnavigator.cpp
+++ b/kfile/kurlnavigator.cpp
@@ -30,7 +30,6 @@
#include <kfileitem.h>
#include <kfileplacesmodel.h>
-#include <kglobalsettings.h>
#include <klocalizedstring.h>
#include <kiconloader.h> // KDE::icon
#include <kmenu.h>
diff --git a/kfile/kurlnavigatorbutton.cpp b/kfile/kurlnavigatorbutton.cpp
index 03c87db..9e75107 100644
--- a/kfile/kurlnavigatorbutton.cpp
+++ b/kfile/kurlnavigatorbutton.cpp
@@ -26,7 +26,6 @@
#include <kio/job.h>
#include <kio/jobclasses.h>
-#include <kglobalsettings.h>
#include <klocalizedstring.h>
#include <kstringhandler.h>
diff --git a/kfile/kurlnavigatordropdownbutton.cpp \
b/kfile/kurlnavigatordropdownbutton.cpp index 4a6aef6..a7b1c20 100644
--- a/kfile/kurlnavigatordropdownbutton.cpp
+++ b/kfile/kurlnavigatordropdownbutton.cpp
@@ -20,8 +20,6 @@
#include "kurlnavigatordropdownbutton_p.h"
#include "kurlnavigator.h"
-#include <kglobalsettings.h>
-
#include <QKeyEvent>
#include <QPainter>
#include <QStyleOption>
diff --git a/kfile/kurlnavigatorplacesselector.cpp \
b/kfile/kurlnavigatorplacesselector.cpp index 80fe94c..3d344a5 100644
--- a/kfile/kurlnavigatorplacesselector.cpp
+++ b/kfile/kurlnavigatorplacesselector.cpp
@@ -21,7 +21,6 @@
#include "kurlnavigatorplacesselector_p.h"
#include <kiconloader.h>
-#include <kglobalsettings.h>
#include <kfileplacesmodel.h>
#include <kmenu.h>
#include <kdebug.h>
diff --git a/khtml/ecma/debugger/debugwindow.cpp \
b/khtml/ecma/debugger/debugwindow.cpp index 6b785fd..5bc2b0e 100644
--- a/khtml/ecma/debugger/debugwindow.cpp
+++ b/khtml/ecma/debugger/debugwindow.cpp
@@ -35,7 +35,6 @@
#include <kaction.h>
#include <kactioncollection.h>
#include <ktoggleaction.h>
-#include <kglobalsettings.h>
#include <kshortcut.h>
#include <kconfig.h>
#include <kstringhandler.h>
diff --git a/khtml/khtmlview.cpp b/khtml/khtmlview.cpp
index 5e6c0b1..1f0e418 100644
--- a/khtml/khtmlview.cpp
+++ b/khtml/khtmlview.cpp
@@ -65,7 +65,6 @@
#include <kcursor.h>
#include <kdebug.h>
-#include <kglobalsettings.h>
#include <kdialog.h>
#include <kiconloader.h>
#include <klocale.h>
diff --git a/khtml/rendering/render_image.cpp b/khtml/rendering/render_image.cpp
index d705eb4..2f753a5 100644
--- a/khtml/rendering/render_image.cpp
+++ b/khtml/rendering/render_image.cpp
@@ -32,7 +32,6 @@
#include <QApplication>
#include <kdebug.h>
-#include <kglobalsettings.h>
#include "css/csshelper.h"
#include "misc/helper.h"
diff --git a/khtml/test_regression.cpp b/khtml/test_regression.cpp
index 0db3939..b51182c 100644
--- a/khtml/test_regression.cpp
+++ b/khtml/test_regression.cpp
@@ -223,7 +223,6 @@ const char* imageMissingIcon =
#include <kio/job.h>
#include <kmainwindow.h>
#include <kconfig.h>
-#include <kglobalsettings.h>
#include <QColor>
#include <QCursor>
diff --git a/kio/kfile/kpreviewprops.cpp b/kio/kfile/kpreviewprops.cpp
index aa9bf7f..85c93f8 100644
--- a/kio/kfile/kpreviewprops.cpp
+++ b/kio/kfile/kpreviewprops.cpp
@@ -24,7 +24,6 @@
#include <QLayout>
#include <kfilemetapreview.h>
-#include <kglobalsettings.h>
#include <klocalizedstring.h>
class KPreviewPropsPlugin::KPreviewPropsPluginPrivate
diff --git a/staging/kde4support/autotests/kuniqueapptest.cpp \
b/staging/kde4support/autotests/kuniqueapptest.cpp index d053cbf..a826ef2 100644
--- a/staging/kde4support/autotests/kuniqueapptest.cpp
+++ b/staging/kde4support/autotests/kuniqueapptest.cpp
@@ -18,7 +18,6 @@
#include <unistd.h>
#include "kuniqueapplication.h"
-#include "kglobalsettings.h"
#include <stdio.h>
#include <kcmdlineargs.h>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic