--deprecation warnings
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841644
This commit is contained in:
parent
5bc2abcb3e
commit
bfb9e05b91
@ -19,14 +19,15 @@
|
|||||||
|
|
||||||
#include "pushbutton.h"
|
#include "pushbutton.h"
|
||||||
|
|
||||||
#include <KPushButton>
|
|
||||||
#include <QStyleOptionGraphicsItem>
|
#include <QStyleOptionGraphicsItem>
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
|
|
||||||
#include <KMimeType>
|
#include <KIcon>
|
||||||
#include <KIconEffect>
|
#include <KIconEffect>
|
||||||
|
#include <KMimeType>
|
||||||
|
#include <KPushButton>
|
||||||
|
|
||||||
#include "theme.h"
|
#include "theme.h"
|
||||||
#include "svg.h"
|
#include "svg.h"
|
||||||
@ -70,7 +71,7 @@ public:
|
|||||||
pm = QPixmap(absImagePath);
|
pm = QPixmap(absImagePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
static_cast<KPushButton*>(q->widget())->setIcon(QIcon(pm));
|
static_cast<KPushButton*>(q->widget())->setIcon(KIcon(pm));
|
||||||
}
|
}
|
||||||
|
|
||||||
void renderActiveBackgroundPixmap();
|
void renderActiveBackgroundPixmap();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user