[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdelibs/frameworks] /: Remove unneeded kmessagebox.h includes
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2012-12-26 23:53:11
Message-ID: 20121226235311.3D42AA6091 () git ! kde ! org
[Download RAW message or body]
Git commit c7bc8b160eeaea94c76d54d1212214db38a21059 by Albert Astals Cid.
Committed on 27/12/2012 at 00:51.
Pushed by aacid into branch 'frameworks'.
Remove unneeded kmessagebox.h includes
Found with
diff -ub <( wcgrep -l "kmessagebox\.h" | sort ) <(wcgrep -l 'KMessageBox' | sort ) | \
grep -v CMakeLists.txt | grep ^"-\."
M +0 -1 interfaces/kimproxy/library/kimproxy.cpp
M +0 -1 kdeui/notifications/knotification.cpp
M +0 -1 kdeui/notifications/kstatusnotifieritemdbus_p.cpp
M +0 -1 kdeui/sonnet/highlighter.cpp
M +0 -1 khtml/ecma/debugger/debugwindow.cpp
M +1 -1 knewstuff/knewstuff3/downloaddialog.cpp
M +0 -1 knewstuff/knewstuff3/downloadwidget_p.h
M +0 -1 kparts/tests/parts.cpp
http://commits.kde.org/kdelibs/c7bc8b160eeaea94c76d54d1212214db38a21059
diff --git a/interfaces/kimproxy/library/kimproxy.cpp \
b/interfaces/kimproxy/library/kimproxy.cpp index f96bc4a..66e263f 100644
--- a/interfaces/kimproxy/library/kimproxy.cpp
+++ b/interfaces/kimproxy/library/kimproxy.cpp
@@ -29,7 +29,6 @@
#include <kapplication.h>
#include <kdbusservicestarter.h>
#include <kdebug.h>
-#include <kmessagebox.h>
#include <kconfig.h>
#include <kconfiggroup.h>
#include <kiconloader.h>
diff --git a/kdeui/notifications/knotification.cpp \
b/kdeui/notifications/knotification.cpp index 2940f3a..6f29025 100644
--- a/kdeui/notifications/knotification.cpp
+++ b/kdeui/notifications/knotification.cpp
@@ -28,7 +28,6 @@
#include "knotification.h"
#include "knotificationmanager_p.h"
-#include <kmessagebox.h>
#include <klocalizedstring.h>
#include <kconfig.h>
#include <kpassivepopup.h>
diff --git a/kdeui/notifications/kstatusnotifieritemdbus_p.cpp \
b/kdeui/notifications/kstatusnotifieritemdbus_p.cpp index 4993a9f..7038f9a 100644
--- a/kdeui/notifications/kstatusnotifieritemdbus_p.cpp
+++ b/kdeui/notifications/kstatusnotifieritemdbus_p.cpp
@@ -34,7 +34,6 @@
#include <kmenu.h>
#include <kwindowinfo.h>
#include <kwindowsystem.h>
-#include <kmessagebox.h>
#include "statusnotifierwatcher_interface.h"
diff --git a/kdeui/sonnet/highlighter.cpp b/kdeui/sonnet/highlighter.cpp
index 6cbb14c..bc4cfee 100644
--- a/kdeui/sonnet/highlighter.cpp
+++ b/kdeui/sonnet/highlighter.cpp
@@ -29,7 +29,6 @@
#include <kconfig.h>
#include <klocalizedstring.h>
-#include <kmessagebox.h>
#include <QDebug>
#include <QTextEdit>
diff --git a/khtml/ecma/debugger/debugwindow.cpp \
b/khtml/ecma/debugger/debugwindow.cpp index 5bc2b0e..a89ce48 100644
--- a/khtml/ecma/debugger/debugwindow.cpp
+++ b/khtml/ecma/debugger/debugwindow.cpp
@@ -30,7 +30,6 @@
#include <klocalizedstring.h>
#include <kdebug.h>
#include <kiconloader.h>
-#include <kmessagebox.h>
#include <kmenu.h>
#include <kaction.h>
#include <kactioncollection.h>
diff --git a/knewstuff/knewstuff3/downloaddialog.cpp \
b/knewstuff/knewstuff3/downloaddialog.cpp index e26963d..06f5bce 100644
--- a/knewstuff/knewstuff3/downloaddialog.cpp
+++ b/knewstuff/knewstuff3/downloaddialog.cpp
@@ -27,13 +27,13 @@
#include <QScrollBar>
#include <QKeyEvent>
-#include <kmessagebox.h>
#include <kcomponentdata.h>
#include <kaboutdata.h>
#include <ktitlewidget.h>
#include <kdebug.h>
#include <kwindowconfig.h>
#include <kglobal.h>
+#include <kstandardguiitem.h>
#include "downloadwidget.h"
#include "downloadwidget_p.h"
diff --git a/knewstuff/knewstuff3/downloadwidget_p.h \
b/knewstuff/knewstuff3/downloadwidget_p.h index 7e4775b..ca20fa4 100644
--- a/knewstuff/knewstuff3/downloadwidget_p.h
+++ b/knewstuff/knewstuff3/downloadwidget_p.h
@@ -28,7 +28,6 @@
#include <QtCore/QTimer>
#include <QScrollBar>
#include <QListView>
-#include <kmessagebox.h>
#include <kcomponentdata.h>
#include <kaboutdata.h>
diff --git a/kparts/tests/parts.cpp b/kparts/tests/parts.cpp
index 43edd7e..2b50f90 100644
--- a/kparts/tests/parts.cpp
+++ b/kparts/tests/parts.cpp
@@ -34,7 +34,6 @@
#include <QLineEdit>
#include <kdebug.h>
-#include <kmessagebox.h>
#include <kaction.h>
#include <klocalizedstring.h>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic