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 <<