KApplication shrinking

Nicolas Goutte nicolasg at snafu.de
Sat Apr 29 13:25:35 BST 2006


On Saturday 29 April 2006 15:18, Szombathelyi György wrote:
> What about a simple call e.g. to
> QFile::exists("filename.autosave")?
>

> And maybe adding an "autosave" resource to KStandarDirs.

I find this to be a good idea.

>
> Or...use KSaveFile::xxxBackupFile functions. Maybe this class can be
> extended to check for an existing backup file.

However It is not about backup files, it is about autosave files mostly, as 
far as I know.

>
> 2006. április 29. 12.38 dátummal John Tapsell ezt írta:
> > For a program that uses it, what would be the new way to do
> > checkRecoverFile  ?
> >
> > On 4/29/06, Szombathelyi György <gyurco at freemail.hu> wrote:
> > > Hi!
> > >
> > > I think I found 2 functions in KApplication which deserves deprecation:
> > >
> > > tempSaveName
> > > checkRecoverFile
> > >
> > > I checked the usage in lxr.kde.org, it's usage is very sporadic (less
> > > than 10), and there are temp file handling classes in KDE already. And
> > > tempSaveName is not so security-wise, however the impact seems to be
> > > not significant.
> > >
> > > Opinions?
> > >
> > > Bye,
> > > György
(...)

Have a nice day!




More information about the kde-core-devel mailing list