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

@ -56,10 +56,10 @@ namespace Danbooru {
// signal-slot connections
connect(m_delegate, SIGNAL(postDownloadRequested(KUrl)), this,
SLOT(slotHandleDownload(KUrl)));
connect(m_delegate, SIGNAL(postViewRequested(KUrl)), this,
SLOT(slotHandleView(KUrl)));
connect(m_delegate, SIGNAL(postDownloadRequested(QUrl)), this,
SLOT(slotHandleDownload(QUrl)));
connect(m_delegate, SIGNAL(postViewRequested(QUrl)), this,
SLOT(slotHandleView(QUrl)));
// connect(m_listView, SIGNAL(clicked(const QModelIndex&)), parent(),
// SLOT(displayInfo(const QModelIndex&));
@ -71,13 +71,13 @@ namespace Danbooru {
}
void DanbooruClientView::slotHandleDownload(KUrl url)
void DanbooruClientView::slotHandleDownload(QUrl url)
{
// TODO
Q_UNUSED(url)
}
void DanbooruClientView::slotHandleView(KUrl url)
void DanbooruClientView::slotHandleView(QUrl url)
{
KRun* runViewer = new KRun(url, this /*window*/, 0 /*mode*/,
false /*isLocalFile*/,