Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 0ba69ee4 authored by Laurent Montel's avatar Laurent Montel 😁

Rename class for fixing compile with enable final

svn path=/trunk/KDE/kdemultimedia/juk/; revision=906935
parent 950258e0
......@@ -117,7 +117,7 @@ void WebImageFetcherDialog::setLayout()
QAbstractItemModel *oldModel = m_iconWidget->model();
foreach(const WebImage &image, m_imageList) {
CoverIconViewItem *item = new CoverIconViewItem(m_iconWidget, image);
WebCoverIconViewItem *item = new WebCoverIconViewItem(m_iconWidget, image);
model->appendRow(item);
}
......@@ -204,7 +204,7 @@ QPixmap WebImageFetcherDialog::pixmapFromURL(const KUrl &url) const
// CoverIconViewItem
////////////////////////////////////////////////////////////////////////////////
CoverIconViewItem::CoverIconViewItem(QWidget *parent, const WebImage &image) :
WebCoverIconViewItem::WebCoverIconViewItem(QWidget *parent, const WebImage &image) :
QObject(parent), QStandardItem(image.size()), m_job(0)
{
// Set up the iconViewItem
......@@ -217,7 +217,7 @@ CoverIconViewItem::CoverIconViewItem(QWidget *parent, const WebImage &image) :
connect(m_job, SIGNAL(result(KJob *)), this, SLOT(imageResult(KJob *)));
}
CoverIconViewItem::~CoverIconViewItem()
WebCoverIconViewItem::~WebCoverIconViewItem()
{
if(m_job) {
m_job->kill();
......@@ -230,7 +230,7 @@ CoverIconViewItem::~CoverIconViewItem()
}
}
void CoverIconViewItem::imageResult(KJob *job)
void WebCoverIconViewItem::imageResult(KJob *job)
{
if(job != m_job) {
kError() << "Wrong slot called.\n";
......
......@@ -83,13 +83,13 @@ namespace KIO
class KJob;
class CoverIconViewItem : public QObject, public QStandardItem
class WebCoverIconViewItem : public QObject, public QStandardItem
{
Q_OBJECT
public:
CoverIconViewItem(QWidget *parent, const WebImage &image);
~CoverIconViewItem();
WebCoverIconViewItem(QWidget *parent, const WebImage &image);
~WebCoverIconViewItem();
private slots:
void imageResult(KJob *job);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment