mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-23 02:10:52 +01:00
New element panel : drag and drop an item from a project collection to a files system collection work.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4375 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -39,7 +39,6 @@ class ECHStrategy
|
||||
/**
|
||||
* @brief The ECHSFileToFile class
|
||||
* Manage the copy of directory or element from a file system collection to another file system collection
|
||||
* (Work only if the source is the common collection and the destination is the custom collection)
|
||||
*/
|
||||
class ECHSFileToFile : public ECHStrategy
|
||||
{
|
||||
@@ -52,6 +51,21 @@ class ECHSFileToFile : public ECHStrategy
|
||||
ElementLocation copyElement(ElementLocation &source, ElementLocation &destination, QString rename = QString());
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief The ECHSXmlToFile class
|
||||
* Manage the copy of a directory or element from an xml collection to a file.
|
||||
*/
|
||||
class ECHSXmlToFile : public ECHStrategy
|
||||
{
|
||||
public:
|
||||
ECHSXmlToFile (ElementLocation &source, ElementLocation &destination);
|
||||
ElementLocation copy();
|
||||
|
||||
private:
|
||||
ElementLocation copyDirectory(ElementLocation &source, ElementLocation &destination, QString rename = QString());
|
||||
ElementLocation copyElement(ElementLocation &source, ElementLocation &destination, QString rename = QString());
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief The ECHSToXml class
|
||||
* Manage the copy of a directory or element from a collection (no matter if the source is a file system collection or an xml collection)
|
||||
|
||||
Reference in New Issue
Block a user