#include <DocumentRecovery.h>
Public Member Functions | |
void | accept () |
DocumentRecovery (const QList< QFileInfo > &, QWidget *parent=0) | |
bool | foundDocuments () const |
virtual | ~DocumentRecovery () |
Protected Slots | |
void | on_buttonCleanup_clicked () |
void | onDeleteSection () |
Protected Member Functions | |
void | clearDirectory (const QFileInfo &) |
void | closeEvent (QCloseEvent *) |
void | contextMenuEvent (QContextMenuEvent *) |
QString | createProjectFile (const QString &) |
Detailed Description
Constructor & Destructor Documentation
◆ DocumentRecovery()
DocumentRecovery::DocumentRecovery | ( | const QList< QFileInfo > & | dirs, |
QWidget * | parent = 0 |
||
) |
References Gui::Dialog::DocumentRecoveryPrivate::Created.
◆ ~DocumentRecovery()
|
virtual |
Member Function Documentation
◆ accept()
void DocumentRecovery::accept | ( | ) |
References clearDirectory(), App::Application::closeDocument(), createProjectFile(), Gui::Dialog::DocumentRecoveryPrivate::Failure, App::GetApplication(), Gui::Application::getDocument(), Gui::Application::Instance, App::Application::openDocuments(), Gui::Document::setModified(), and Gui::Dialog::DocumentRecoveryPrivate::Success.
Referenced by ArchComponent.ComponentTaskPanel::editObject().
◆ clearDirectory()
|
protected |
Referenced by accept(), on_buttonCleanup_clicked(), and onDeleteSection().
◆ closeEvent()
|
protected |
◆ contextMenuEvent()
|
protected |
References onDeleteSection().
◆ createProjectFile()
|
protected |
References Gui::Command::App.
Referenced by accept().
◆ foundDocuments()
bool DocumentRecovery::foundDocuments | ( | ) | const |
Referenced by Gui::Application::checkForPreviousCrashes().
◆ on_buttonCleanup_clicked
|
protectedslot |
References clearDirectory(), App::GetApplication(), and App::Application::getTempPath().
◆ onDeleteSection
|
protectedslot |
References clearDirectory(), and App::Application::getTempPath().
Referenced by contextMenuEvent().
The documentation for this class was generated from the following files:
- src/Gui/DocumentRecovery.h
- src/Gui/DocumentRecovery.cpp