KDECore
kautosavefile.h
Go to the documentation of this file.
KAutoSaveFile(const KUrl &filename, QObject *parent=0)
Constructs a KAutoSaveFile for file filename.
Definition kautosavefile.cpp:71
KUrl managedFile() const
Retrieves the URL of the file managed by KAutoSaveFile.
Definition kautosavefile.cpp:92
virtual void releaseLock()
Closes the autosave file resource and removes the lock file.
Definition kautosavefile.cpp:105
virtual bool open(OpenMode openmode)
Opens the autosave file and locks it if it wasn't already locked.
Definition kautosavefile.cpp:115
void setManagedFile(const KUrl &filename)
Sets the URL of the file managed by KAutoSaveFile.
Definition kautosavefile.cpp:97
static QList< KAutoSaveFile * > allStaleFiles(const QString &applicationName=QString())
Returns all stale autosave files left behind by crashed or otherwise gone instances of this applicati...
Definition kautosavefile.cpp:190
static QList< KAutoSaveFile * > staleFiles(const KUrl &filename, const QString &applicationName=QString())
Checks for stale autosave files for filename.
Definition kautosavefile.cpp:151
Definition kaboutdata.h:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.