]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/viewproperties.h
Use capitalized KDE includes
[dolphin.git] / src / views / viewproperties.h
index 2db67c0f390f74098d2b0c9262c61cb31ec33ee2..03e423e934195f3c386a8fe5c6851d46f0e625fb 100644 (file)
@@ -22,7 +22,7 @@
 #define VIEWPROPERTIES_H
 
 #include <views/dolphinview.h>
-#include <kurl.h>
+#include <KUrl>
 #include <libdolphin_export.h>
 
 class ViewPropertySettings;
@@ -149,6 +149,11 @@ private:
      */
     QString viewModePrefix() const;
 
+    /**
+     * Returns true, if \a filePath is part of the home-path (see QDir::homePath()).
+     */
+    static bool isPartOfHome(const QString& filePath);
+
     Q_DISABLE_COPY(ViewProperties)
 
 private: