KUrl -> QUrl

This commit is contained in:
Luca Beltrame 2014-10-03 23:06:43 +02:00
parent 0eb716bda0
commit d7fec181e2
11 changed files with 66 additions and 63 deletions

View file

@ -39,7 +39,7 @@
// KDE
#include <KUrl>
#include <QUrl>
// Own
@ -73,9 +73,9 @@ namespace Danbooru {
Q_PROPERTY(const QPixmap pixmap READ pixmap WRITE setPixmap)
Q_PROPERTY(int id READ id)
Q_PROPERTY(KUrl fileUrl READ fileUrl)
Q_PROPERTY(QUrl fileUrl READ fileUrl)
Q_PROPERTY(QSet<QString> tags READ tags)
Q_PROPERTY(KUrl thumbnailUrl READ thumbnailUrl)
Q_PROPERTY(QUrl thumbnailUrl READ thumbnailUrl)
public:
@ -103,8 +103,8 @@ namespace Danbooru {
int m_width;
int m_size;
KUrl m_url;
KUrl m_thumbnailUrl;
QUrl m_url;
QUrl m_thumbnailUrl;
QSet<QString> m_tags;
Ratings m_rating;
@ -178,7 +178,7 @@ namespace Danbooru {
/**
* @return The URL to the post's image.
**/
const KUrl fileUrl() const;
const QUrl fileUrl() const;
/**
* @return The tags associated to the post.
@ -188,7 +188,7 @@ namespace Danbooru {
/**
* @return The URL to the post's thumbnail.
**/
const KUrl thumbnailUrl() const;
const QUrl thumbnailUrl() const;
/**
* @return A pointer to the thumbnail's pixmap.