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