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

List:       kde-core-devel
Subject:    Re: KApplication shrinking
From:       Szombathelyi "György" <gyurco () freemail ! hu>
Date:       2006-04-29 12:18:42
Message-ID: 200604291518.40191.gyurco () freemail ! hu
[Download RAW message or body]

What about a simple call e.g. to
QFile::exists("filename.autosave")?

And maybe adding an "autosave" resource to KStandarDirs.

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

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@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
> > 
> > ____________________________________________________________________
> > Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a
> > FreeStarttol
> > Probald ki most! http://www.freestart.hu

____________________________________________________________________
Nagyobb szabadságra vágysz? Törj ki a négy fal közül!
Start ADSL előfizetésedhez az EuroWeb mostantól havi 100 perc ingyenes WiFi \
hozzáférést biztosít számodra. Részletek: www.freestart.hu


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

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