diff --git a/corona.cpp b/corona.cpp index 0d70558d4..68333d39d 100644 --- a/corona.cpp +++ b/corona.cpp @@ -40,6 +40,7 @@ #include #include #include +#include #include "abstractdialogmanager.h" #include "abstracttoolbox.h" diff --git a/remote/accessappletjob.cpp b/remote/accessappletjob.cpp index 033b109e2..047c0bcbd 100644 --- a/remote/accessappletjob.cpp +++ b/remote/accessappletjob.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include "config-plasma.h" diff --git a/widgets/pushbutton.cpp b/widgets/pushbutton.cpp index ef2f09b6c..b607528d2 100644 --- a/widgets/pushbutton.cpp +++ b/widgets/pushbutton.cpp @@ -296,11 +296,6 @@ void PushButton::setIcon(const QIcon &icon) nativeWidget()->setIcon(icon); } -void PushButton::setIcon(const QIcon &icon) -{ - setIcon(KIcon(icon)); -} - QIcon PushButton::icon() const { return nativeWidget()->icon(); diff --git a/widgets/pushbutton.h b/widgets/pushbutton.h index 6c280a9ee..b27e7fbf5 100644 --- a/widgets/pushbutton.h +++ b/widgets/pushbutton.h @@ -119,15 +119,6 @@ public: */ QAction *action() const; - /** - * sets the icon for this push button - * - * @param icon the icon to use - * - * @since 4.3 - */ - void setIcon(const QIcon &icon); - /** * sets the icon for this push button using a KIcon *