[PATCH] Bug 172306: Cutting and then pasting to 2 different locations

rahman duran rahman.duran at gmail.com
Sun Mar 22 06:27:08 GMT 2009


2009/3/22 Alex Merry <kde at randomguy3.me.uk>

>
> But KUrl::List _is_ a QList<KUrl>, so QMimeData()->setUrls() should accept
> it
> just fine.
>
>
But  it doesn't. Ah, I wrote it wrong, sorry. It accepts QList<QUrl> not not
even QList<KUrl>.

So if I try to use KUrl::List or QList<KUrl> it doesn't compile.

/home/rahman/kdelibs/kio/kio/paste.cpp:259: error: no matching function for
call to ‘QMimeData::setUrls(KUrl::List&)’
/usr/include/QtCore/qmimedata.h:65: note: candidates are: void
QMimeData::setUrls(const QList<QUrl>&)

So is it fine to use QList<QUrl> ?

-- 
Rahman Duran

Software Engineer
Turkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090322/75bf17cc/attachment.htm>


More information about the kde-core-devel mailing list