qdeclareqlistint_hack.h

Harri Porten porten at froglogic.com
Tue Oct 16 12:47:31 BST 2007


On Tue, 16 Oct 2007, Thiago Macieira wrote:

> Em Tuesday 16 October 2007 12:41:12 Harri Porten escreveu:
>>  Somehow the match from the QList<QVariant> argument to the
>> QList<int> parameter does not work.
>
> You can't do that. You can't convert QList<X> to QList<Y> on the fly even in
> C++.

I understand that in the plain C++ world. For QDbus I had to assume some 
internal conversion magic in the marshalling code as a dozen of people 
having been porting, fixing and otherwise updating the relevant pieces of 
code for a year now without ever saying that it simply does not work. 
Incredible :)

  http://websvn.kde.org/trunk/KDE/kdelibs/kioslave/http/kcookiejar/kcookieserver.cpp?view=log
  http://websvn.kde.org/trunk/KDE/kdebase/apps/konqueror/settings/kio/kcookiesmanagement.cpp?view=log

Harri.




More information about the kde-core-devel mailing list