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

List:       kde-devel
Subject:    Re: KVariant
From:       Thiago Macieira <thiago () kde ! org>
Date:       2005-08-22 17:56:59
Message-ID: 200508221457.00839.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


David Faure wrote:
>On Sunday 14 August 2005 16:58, Tomasz Grobelny wrote:
>> Does there exist QVariant replacement that could store KDE class
>> objects (ex. KURL)?
>
>You can convert the KURL to a QString and back, anyhow, so if it's just
> for KURL, QVariant does the job.

The penalty you'll pay for doing this is the conversion from QString 
requires parsing again, but it should not lose information.

But, what did you want to store a KURL in a QVariant for? Maybe there's an 
alternative solution.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

2. Tó cennan his weorc gearu, ymbe se circolwyrde, wearð se cægbord and se 
leohtspeccabord, and þa mýs cómon lator. On þone dæg, he hine reste.

[Attachment #5 (application/pgp-signature)]

 =

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscrib=
e <<


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

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