KPushButton -> QPushButton
This commit is contained in:
parent
d7fec181e2
commit
c32637cafa
2 changed files with 6 additions and 6 deletions
|
@ -34,7 +34,7 @@
|
|||
|
||||
// KDE
|
||||
|
||||
#include <KPushButton>
|
||||
#include <QPushButton>
|
||||
#include <KLocale>
|
||||
#include <KLocalizedString>
|
||||
|
||||
|
@ -59,9 +59,9 @@ namespace Danbooru {
|
|||
|
||||
m_buttonSize = qMax(sz.width(), sz.height());
|
||||
|
||||
m_downloadButton = new KPushButton(QIcon::fromTheme("download"),
|
||||
m_downloadButton = new QPushButton(QIcon::fromTheme("download"),
|
||||
QString(), itemView);
|
||||
m_viewButton = new KPushButton(QIcon::fromTheme("view-preview"), QString(),
|
||||
m_viewButton = new QPushButton(QIcon::fromTheme("view-preview"), QString(),
|
||||
itemView);
|
||||
|
||||
m_downloadButton->hide();
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
class QListView;
|
||||
class QPainter;
|
||||
class KPushButton;
|
||||
class QPushButton;
|
||||
|
||||
|
||||
namespace Danbooru {
|
||||
|
@ -65,8 +65,8 @@ namespace Danbooru {
|
|||
private:
|
||||
|
||||
QListView* m_itemView;
|
||||
KPushButton* m_downloadButton;
|
||||
KPushButton* m_viewButton;
|
||||
QPushButton* m_downloadButton;
|
||||
QPushButton* m_viewButton;
|
||||
|
||||
int m_buttonSize;
|
||||
static const int MARGIN;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue