[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Basic Live Connect support for java
From:       Koos Vriezen <koos.vriezen () xs4all ! nl>
Date:       2002-05-15 18:50:37
[Download RAW message or body]

On Wed, 15 May 2002, Simon Hausmann wrote:
>
> Cool idea. Just one little thought: How about using QVariant to pass
> the data around, instead of the enum and QString?

But enum's TypeFunction and TypeObject are still needed. IMO QVariant
would make conversion only harder, e.g. const char*, QString, QCString.
Other types, such as QByteArray, have no meaning. QValueList<QVariant>
can't be used as an array reference, because it can't hold object
references.
So, I don't see the advantages of using QVariant.
Please comment.

Koos

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic