State to copy files in library. More...
#include <LibraryCopyFilesState.h>
Public Member Functions | |
LibraryCopyFilesState (QString name, LibraryCopyFilesWidget *widget, WizardMainWindow *mainWindow, QMap< QString, QStringList > *libraryFilesMap, LibraryCreationState *parent) | |
Constructor. More... | |
void | resetDomLibrary (cepcoreschema::Library *domLibrary) |
~LibraryCopyFilesState () override=default | |
Destructor. More... | |
Public Member Functions inherited from WizardState | |
QString | getName () |
QWidget * | getWidget () |
WizardState (QString name, QWidget *widget, WizardMainWindow *mainWidnow) | |
Constructor. More... | |
WizardState (QString name, QWidget *widget, WizardMainWindow *mainWidnow, QState *parent) | |
Constructor. More... | |
~WizardState () override=default | |
Destructor. More... | |
Protected Member Functions | |
void | onEntry (QEvent *event) override |
void | onExit (QEvent *event) override |
Protected Member Functions inherited from WizardState | |
void | onEntry (QEvent *event) override |
Reimplemented from QState. More... | |
void | onExit (QEvent *event) override |
Private Attributes | |
cepcoreschema::Library * | domLibrary |
QMap< QString, QStringList > * | libraryFilesMap |
Additional Inherited Members | |
Protected Attributes inherited from WizardState | |
WizardMainWindow * | mainWindow |
QString | name |
QWidget * | widget |
State to copy files in library.
LibraryCopyFilesState::LibraryCopyFilesState | ( | QString | name, |
LibraryCopyFilesWidget * | widget, | ||
WizardMainWindow * | mainWindow, | ||
QMap< QString, QStringList > * | libraryFilesMap, | ||
LibraryCreationState * | parent | ||
) |
Constructor.
References domLibrary, and libraryFilesMap.
|
overridedefault |
Destructor.
|
overrideprotected |
References domLibrary, LibraryCopyFilesWidget::emptyFileNames(), libraryFilesMap, WizardState::onEntry(), and WizardState::widget.
|
overrideprotected |
References domLibrary, LibraryCopyFilesWidget::getFileNames(), libraryFilesMap, WizardState::onExit(), and WizardState::widget.
void LibraryCopyFilesState::resetDomLibrary | ( | cepcoreschema::Library * | domLibrary | ) |
References domLibrary, LibraryCopyFilesWidget::emptyFileNames(), and WizardState::widget.
Referenced by LibraryCreationState::onEntry().
|
private |
Referenced by LibraryCopyFilesState(), onEntry(), onExit(), and resetDomLibrary().
|
private |
Referenced by LibraryCopyFilesState(), onEntry(), and onExit().