qdeclareqlistint_hack.h

Harri Porten porten at froglogic.com
Tue Oct 16 11:41:12 BST 2007


Hello,

On Tue, 16 Oct 2007, Thiago Macieira wrote:

> Em Tuesday 16 October 2007 01:21:23 Harri Porten escreveu:
>> Hi!
>>
>> I see a qdeclareqlistint_hack.h in /kdelibs/kioslave/http/kcookiejar/. Is
>> it still required? It was added in July 2006 and the commit logs of the
>> related code sound as if it was related to a pre-Qt 4.2 problem.
>>
>> Harri (wondering why the findCookies(QList<int>, ...) overload does not
>> work. Are overloads supported in D-Bus at all?)
>
> Yes, it's necessary. No, I have no idea when qdbusxml2cpp will be changed --
> it's not in my roadmap for the upcoming months.

Fine.

> Yes, overloads are supported.

Okay. I just wonder why the Cookies kcm can't call the the findCookies() 
function then. Somehow the match from the QList<QVariant> argument to the 
QList<int> parameter does not work.

Either way, I might change the function's signature anyway as its not very 
intuitive. If the function simply returns all cookie info in a struct or 
map (rather than using internal constants) it will be more intuitive.

Thanks for the reply,

Harri.




More information about the kde-core-devel mailing list