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

List:       kde-core-devel
Subject:    Re: Moving Baloo and Baloo-widgets into KDE SC
From:       Ivan =?utf-8?B?xIx1a2nEhw==?= <ivan.cukic () kde ! org>
Date:       2014-01-19 16:58:24
Message-ID: 1546150.5p9MiAPeCB () drako
[Download RAW message or body]


> Ideally this would be exposed in the File object, maybe with some sort
> of QVariantMap userProperties() method.

Please don't make it load all attributes and values into the memory if the 
most common use-case is to load a value for a desired key.

I'd rather go for something like 
 some_iterator listAttributes
 bool hasAttribute(prop)
 QWhatever attribute(prop)

Cheers,
Ivan

-- 
Science gathers knowledge faster than society gathers wisdom.
  -- Isaac Asimov

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

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