diff options
| author | Peter Penz <[email protected]> | 2007-02-18 18:54:22 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-02-18 18:54:22 +0000 |
| commit | bd8b41a13577eb197b721d00303c7056926502bf (patch) | |
| tree | 475f85a3f4aaa010a28d14b9343b762f0caa24c4 /src/viewproperties.h | |
| parent | abf17941f7a052d25788d2f2f3c84e5aae935e29 (diff) | |
Don't use a hardcoded path in the view properties dialog for the mirrored directory, ask the class ViewProperties for the location instead.
svn path=/trunk/KDE/kdebase/apps/; revision=634899
Diffstat (limited to 'src/viewproperties.h')
| -rw-r--r-- | src/viewproperties.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/viewproperties.h b/src/viewproperties.h index b4d9500bc..e4f7821fc 100644 --- a/src/viewproperties.h +++ b/src/viewproperties.h @@ -97,6 +97,15 @@ public: */ void save(); + /** + * Returns the URL of the directory, where the mirrored view properties + * are stored into. Mirrored view properties are used if: + * - there is no write access for storing the view properties into + * the original directory + * - for non local directories + */ + static KUrl mirroredDirectory(); + private: /** * Returns the destination directory path where the view |
