#include "viewproperties.h"
#include "dolphinsettings.h"
-#include "generalsettings.h"
+#include "dolphin_generalsettings.h"
#define FILE_NAME "/.directory"
const QString file(m_filepath + FILE_NAME);
m_node = new ViewPropertySettings(KSharedConfig::openConfig(file));
- kDebug() << "------------------ global timestamp: " << settings->viewPropsTimestamp() << endl;
-
const bool useDefaultProps = !useGlobalViewProps &&
(!QFileInfo(file).exists() ||
(m_node->timestamp() < settings->viewPropsTimestamp()));
m_changedProps = false;
}
+KUrl ViewProperties::mirroredDirectory()
+{
+ QString basePath = KGlobal::mainComponent().componentName();
+ basePath.append("/view_properties/");
+ return KUrl(KStandardDirs::locateLocal("data", basePath));
+}
+
QString ViewProperties::destinationDir(const QString& subDir) const
{
QString basePath = KGlobal::mainComponent().componentName();