QElectroTech
0.70
|
The ECHSFileToFile class Manage the copy of directory or element from a file system collection to another file system collection. More...
#include <elementcollectionhandler.h>
Public Member Functions | |
ECHSFileToFile (ElementsLocation &source, ElementsLocation &destination) | |
ElementsLocation | copy () override |
Public Member Functions inherited from ECHStrategy | |
ECHStrategy (ElementsLocation &source, ElementsLocation &destination) | |
virtual | ~ECHStrategy () |
Private Member Functions | |
ElementsLocation | copyDirectory (ElementsLocation &source, ElementsLocation &destination, const QString &rename=QString()) |
ElementsLocation | copyElement (ElementsLocation &source, ElementsLocation &destination, const QString &rename=QString()) |
Additional Inherited Members | |
Public Attributes inherited from ECHStrategy | |
ElementsLocation | m_source |
ElementsLocation | m_destination |
The ECHSFileToFile class Manage the copy of directory or element from a file system collection to another file system collection.
Definition at line 44 of file elementcollectionhandler.h.
ECHSFileToFile::ECHSFileToFile | ( | ElementsLocation & | source, |
ElementsLocation & | destination | ||
) |
Definition at line 37 of file elementcollectionhandler.cpp.
|
overridevirtual |
Implements ECHStrategy.
Definition at line 41 of file elementcollectionhandler.cpp.
References copyDirectory(), copyElement(), QET::Erase, ElementsLocation::fileName(), ElementsLocation::fileSystemPath(), ElementsLocation::isElement(), ECHStrategy::m_destination, ECHStrategy::m_source, RenameDialog::newName(), and QET::Rename.
|
private |
Definition at line 79 of file elementcollectionhandler.cpp.
References copyElement(), and ElementsLocation::fileSystemPath().
Referenced by copy().
|
private |
Definition at line 133 of file elementcollectionhandler.cpp.
References ElementsLocation::fileName(), and ElementsLocation::fileSystemPath().
Referenced by copy(), and copyDirectory().