aboutsummaryrefslogtreecommitdiffstats
path: root/src/utility/path.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utility/path.hpp')
-rw-r--r--src/utility/path.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/utility/path.hpp b/src/utility/path.hpp
index 933794f1..5f377f7a 100644
--- a/src/utility/path.hpp
+++ b/src/utility/path.hpp
@@ -139,6 +139,13 @@ public:
*/
const bool isParentOf(const path& p) const;
+ /** Rename a parent component in the path.
+ *
+ * @param oldPath old parent path
+ * @param newPath new parent path
+ */
+ void renameParent(const path& oldPath, const path& newPath);
+
private:
list m_list;