diff options
Diffstat (limited to 'src/views/viewproperties.h')
| -rw-r--r-- | src/views/viewproperties.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/src/views/viewproperties.h b/src/views/viewproperties.h index 97fb7cdba..b3d3070ed 100644 --- a/src/views/viewproperties.h +++ b/src/views/viewproperties.h @@ -118,13 +118,12 @@ 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 + * @return True if properties for the given URL exist: + * As soon as the properties for an URL have been saved with + * ViewProperties::save(), true will be returned. If false is + * returned, the default view-properties are used. */ - static KUrl mirroredDirectory(); + bool exist() const; private: /** @@ -165,6 +164,15 @@ private: */ static QString directoryHashForUrl(const KUrl& url); + /** + * 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(); + Q_DISABLE_COPY(ViewProperties) private: |
