KCoreAddons
kautosavefile.h
221 static QList<KAutoSaveFile *> staleFiles(const QUrl &url, const QString &applicationName = QString());
virtual void releaseLock()
Closes the autosave file resource and removes the lock file.
Definition kautosavefile.cpp:117
QUrl managedFile() const
Retrieves the URL of the file managed by KAutoSaveFile.
Definition kautosavefile.cpp:104
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:227
KAutoSaveFile(const QUrl &filename, QObject *parent=nullptr)
Constructs a KAutoSaveFile for file filename.
Definition kautosavefile.cpp:85
void setManagedFile(const QUrl &filename)
Sets the URL of the file managed by KAutoSaveFile.
Definition kautosavefile.cpp:109
static QList< KAutoSaveFile * > staleFiles(const QUrl &url, const QString &applicationName=QString())
Checks for stale autosave files for the file url.
Definition kautosavefile.cpp:199
QFile()
bool open(FILE *fh, OpenMode mode, FileHandleFlags handleFlags)
typedef OpenMode
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:52 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:52 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.