diff options
author | Tim Jenssen <tim.jenssen@digia.com> | 2013-06-26 11:17:23 +0200 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@digia.com> | 2013-06-26 11:30:55 +0200 |
commit | 61ffbff8ab9fcdf8bbc73ee00fb9db7f40e0182b (patch) | |
tree | bd63aa997403a3f6a0aea352de29d1a71515fbcd /src/libs/kdtools/kdupdaterupdateoperations.h | |
parent | d0aee24ef00e16d4ad6308f314c1bed56800aa9c (diff) |
improve copy operation
- now the destination can be a directory and it will internally
be completed to filepath destination
- added a unit test
Task-number: QTIFW-274
Change-Id: I7741497d571cde5d5d4b374784d785358e9bb233
Reviewed-by: Niels Weber <niels.weber@digia.com>
Diffstat (limited to 'src/libs/kdtools/kdupdaterupdateoperations.h')
-rw-r--r-- | src/libs/kdtools/kdupdaterupdateoperations.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libs/kdtools/kdupdaterupdateoperations.h b/src/libs/kdtools/kdupdaterupdateoperations.h index f8f5f1ddc..43a0ff9d2 100644 --- a/src/libs/kdtools/kdupdaterupdateoperations.h +++ b/src/libs/kdtools/kdupdaterupdateoperations.h @@ -59,6 +59,9 @@ public: CopyOperation *clone() const; QDomDocument toXml() const; +private: + QString sourcePath(); + QString destinationPath(); }; class KDTOOLS_EXPORT MoveOperation : public UpdateOperation |