[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdelibs/frameworks] /: Remove unneeded kpushbutton.h includes
From:       Albert Astals Cid <tsdgeos () terra ! es>
Date:       2012-12-26 23:47:56
Message-ID: 20121226234756.5A66BA6091 () git ! kde ! org
[Download RAW message or body]

Git commit 9f8e87f40d6c836d2a171f51f55502afc99039a2 by Albert Astals Cid.
Committed on 27/12/2012 at 00:47.
Pushed by aacid into branch 'frameworks'.

Remove unneeded kpushbutton.h includes

Found with
diff -ub  <( wcgrep -l "kpushbutton\.h" | sort ) <(wcgrep -l 'KPushButton' =
| sort ) | grep -v CMakeLists.txt | grep ^"-\."

M  +1    -1    kdeui/tests/kreplacetest.cpp
M  +1    -1    kdeui/tests/kxmlgui_unittest.cpp
M  +1    -1    kfile/kdirselectdialog.cpp
M  +0    -1    khtml/tests/testkhtmlnew.cpp
M  +1    -1    kio/kssl/kcm/displaycertdialog.cpp
M  +0    -1    knewstuff/knewstuff3/downloaddialog.cpp
M  +0    -1    knewstuff/knewstuff3/uploaddialog.cpp
M  +1    -1    kparts/tests/openorsavequestion_unittest.cpp
M  +0    -1    kross/modules/form.cpp
M  +0    -1    kutils/kcmodulecontainer.cpp
M  +1    -1    kutils/kcmultidialog.cpp
M  +0    -1    security/crypto/kdatetimedlg.cpp
M  +1    -1    staging/kde4support/src/kdeui/kprogressdialog.cpp

http://commits.kde.org/kdelibs/9f8e87f40d6c836d2a171f51f55502afc99039a2

diff --git a/kdeui/tests/kreplacetest.cpp b/kdeui/tests/kreplacetest.cpp
index 7e94035..c59bd76 100644
--- a/kdeui/tests/kreplacetest.cpp
+++ b/kdeui/tests/kreplacetest.cpp
@@ -21,7 +21,7 @@
 =

 #include <QApplication>
 #include <QtCore/QEventLoop>
-#include <kpushbutton.h>
+#include <QPushButton>
 #include "kreplace.h"
 #include "kreplacedialog.h"
 =

diff --git a/kdeui/tests/kxmlgui_unittest.cpp b/kdeui/tests/kxmlgui_unittes=
t.cpp
index 02b6244..77cc61f 100644
--- a/kdeui/tests/kxmlgui_unittest.cpp
+++ b/kdeui/tests/kxmlgui_unittest.cpp
@@ -23,10 +23,10 @@
 #include <QDialogButtonBox>
 #include <QShowEvent>
 #include <QMenuBar>
+#include <QPushButton>
 #include <kedittoolbar.h>
 #include <kaction.h>
 #include <kconfiggroup.h>
-#include <kpushbutton.h>
 #include <kxmlguibuilder.h>
 #include <kxmlguiclient.h>
 #include "testxmlguiwindow.h"
diff --git a/kfile/kdirselectdialog.cpp b/kfile/kdirselectdialog.cpp
index a060a6b..dcab4b9 100644
--- a/kfile/kdirselectdialog.cpp
+++ b/kfile/kdirselectdialog.cpp
@@ -24,6 +24,7 @@
 #include <QtCore/QStringList>
 #include <QLayout>
 #include <qinputdialog.h>
+#include <qpushbutton.h>
 #include <qurlpathinfo.h>
 =

 #include <kactioncollection.h>
@@ -49,7 +50,6 @@
 #include <kurlpixmapprovider.h>
 #include <kdebug.h>
 #include <kpropertiesdialog.h>
-#include <kpushbutton.h>
 #include <kmenu.h>
 =

 #include "kfileplacesview.h"
diff --git a/khtml/tests/testkhtmlnew.cpp b/khtml/tests/testkhtmlnew.cpp
index 368fb5a..bd0ae49 100644
--- a/khtml/tests/testkhtmlnew.cpp
+++ b/khtml/tests/testkhtmlnew.cpp
@@ -20,7 +20,6 @@
 #include <ktoggleaction.h>
 #include <kcombobox.h>
 #include <kiconloader.h>
-#include <kpushbutton.h>
 #include <kstandardaction.h>
 #include <kactioncollection.h>
 =

diff --git a/kio/kssl/kcm/displaycertdialog.cpp b/kio/kssl/kcm/displaycertd=
ialog.cpp
index 2ec20f6..52e2f59 100644
--- a/kio/kssl/kcm/displaycertdialog.cpp
+++ b/kio/kssl/kcm/displaycertdialog.cpp
@@ -18,8 +18,8 @@
 */
 =

 #include "displaycertdialog_p.h"
-#include <kpushbutton.h>
 #include <kstandardguiitem.h>
+#include <QPushButton>
 =

 =

 DisplayCertDialog::DisplayCertDialog(QWidget *parent)
diff --git a/knewstuff/knewstuff3/downloaddialog.cpp b/knewstuff/knewstuff3=
/downloaddialog.cpp
index e6a428b..e26963d 100644
--- a/knewstuff/knewstuff3/downloaddialog.cpp
+++ b/knewstuff/knewstuff3/downloaddialog.cpp
@@ -30,7 +30,6 @@
 #include <kmessagebox.h>
 #include <kcomponentdata.h>
 #include <kaboutdata.h>
-#include <kpushbutton.h>
 #include <ktitlewidget.h>
 #include <kdebug.h>
 #include <kwindowconfig.h>
diff --git a/knewstuff/knewstuff3/uploaddialog.cpp b/knewstuff/knewstuff3/u=
ploaddialog.cpp
index d171a60..fdbec99 100644
--- a/knewstuff/knewstuff3/uploaddialog.cpp
+++ b/knewstuff/knewstuff3/uploaddialog.cpp
@@ -31,7 +31,6 @@
 #include <kcomponentdata.h>
 #include <kfiledialog.h>
 #include <kmessagebox.h>
-#include <kpushbutton.h>
 #include <kglobal.h>
 =

 #include <kpixmapsequence.h>
diff --git a/kparts/tests/openorsavequestion_unittest.cpp b/kparts/tests/op=
enorsavequestion_unittest.cpp
index 23a279a..2d89c98 100644
--- a/kparts/tests/openorsavequestion_unittest.cpp
+++ b/kparts/tests/openorsavequestion_unittest.cpp
@@ -27,9 +27,9 @@
 #endif
 =

 #include <kdialog.h>
-#include <kpushbutton.h>
 #include <kdebug.h>
 #include <QMenu>
+#include <QPushButton>
 #include <QWidget>
 =

 using namespace KParts;
diff --git a/kross/modules/form.cpp b/kross/modules/form.cpp
index 5a7892e..6383abd 100644
--- a/kross/modules/form.cpp
+++ b/kross/modules/form.cpp
@@ -44,7 +44,6 @@
 #include <klocalizedstring.h>
 #include <kiconloader.h>
 #include <kurl.h>
-#include <kpushbutton.h>
 //#include <kurlcombobox.h>
 //#include <kdiroperator.h>
 #include <kmessagebox.h>
diff --git a/kutils/kcmodulecontainer.cpp b/kutils/kcmodulecontainer.cpp
index a82127e..f9b3295 100644
--- a/kutils/kcmodulecontainer.cpp
+++ b/kutils/kcmodulecontainer.cpp
@@ -28,7 +28,6 @@
 #include <kcmoduleproxy.h>
 #include <kdebug.h>
 #include <kiconloader.h>
-#include <kpushbutton.h>
 #include <kservice.h>
 #include <ktabwidget.h>
 =

diff --git a/kutils/kcmultidialog.cpp b/kutils/kcmultidialog.cpp
index 452d4ce..b38a861 100644
--- a/kutils/kcmultidialog.cpp
+++ b/kutils/kcmultidialog.cpp
@@ -29,13 +29,13 @@
 #include <QtCore/QProcess>
 #include <QtCore/QUrl>
 #include <QDesktopServices>
+#include <QPushButton>
 =

 #include <kcoreauthorized.h>
 #include <kguiitem.h>
 #include <kiconloader.h>
 #include <klocalizedstring.h>
 #include <kpagewidgetmodel.h>
-#include <kpushbutton.h>
 #include <kdebug.h>
 #include <kmessagebox.h>
 =

diff --git a/security/crypto/kdatetimedlg.cpp b/security/crypto/kdatetimedl=
g.cpp
index 7678ea2..526c42b 100644
--- a/security/crypto/kdatetimedlg.cpp
+++ b/security/crypto/kdatetimedlg.cpp
@@ -26,7 +26,6 @@
 #include <klocalizedstring.h>
 #include <kdebug.h>
 #include <kdatepicker.h>
-#include <kpushbutton.h>
 #include <knuminput.h>
 =

 KDateTimeDlg::KDateTimeDlg(QWidget *parent)
diff --git a/staging/kde4support/src/kdeui/kprogressdialog.cpp b/staging/kd=
e4support/src/kdeui/kprogressdialog.cpp
index a4276d3..99427d0 100644
--- a/staging/kde4support/src/kdeui/kprogressdialog.cpp
+++ b/staging/kde4support/src/kdeui/kprogressdialog.cpp
@@ -25,7 +25,7 @@
 #include <QTimer>
 =

 #include <kguiitem.h>
-#include <kpushbutton.h>
+#include <kstandardguiitem.h>
 =

 class KProgressDialog::KProgressDialogPrivate
 {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic