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

List:       kde-devel
Subject:    Re: store large amt of Plasma Applet per instance data
From:       Sebastian =?iso-8859-1?q?K=FCgler?= <sebas () kde ! org>
Date:       2011-03-23 11:12:42
Message-ID: 201103231212.42389.sebas () kde ! org
[Download RAW message or body]

On Wednesday, March 23, 2011 05:50:13 johnm_s2 wrote:
> I'm developing a plasma applet & I need to store about 500k-2MB of per
> instance data. I'm guessing KConfig / KConfigGroup would not be a good
> idea for this much data..?
> 
> A flat file would work. Can I get Plasma:: to generate a unique/instance
> file name for me?

Look at KTempFile, or put your data into KStandardDirs, under "data".

http://api.kde.org/4.x-api/kdelibs-
apidocs/kdecore/html/classKTemporaryFile.html and 
http://api.kde.org/4.x-api/kdelibs-
apidocs/kdecore/html/classKStandardDirs.html

Cheers,
-- 
sebas

http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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