include kicon.h
This commit is contained in:
parent
585976ebbc
commit
8f6075ac7c
@ -40,6 +40,7 @@
|
||||
#include <kmimetype.h>
|
||||
#include <kshortcutsdialog.h>
|
||||
#include <kwindowsystem.h>
|
||||
#include <kicon.h>
|
||||
|
||||
#include "abstractdialogmanager.h"
|
||||
#include "abstracttoolbox.h"
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include <kdesktopfile.h>
|
||||
#include <kmessagebox.h>
|
||||
#include <kzip.h>
|
||||
#include <kicon.h>
|
||||
|
||||
#include "config-plasma.h"
|
||||
|
||||
|
@ -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();
|
||||
|
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user