From 17c20636235dafb095e00454f25fb191b5633eb6 Mon Sep 17 00:00:00 2001 From: Till Theato Date: Sat, 11 Dec 2010 21:39:11 +0000 Subject: [PATCH] Add comment on project folder places entry (== Bookmark) code resources. svn path=/trunk/kdenlive/; revision=5159 --- src/kdenlivedoc.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/kdenlivedoc.cpp b/src/kdenlivedoc.cpp index f57e9efc..119c3520 100644 --- a/src/kdenlivedoc.cpp +++ b/src/kdenlivedoc.cpp @@ -1459,6 +1459,11 @@ bool KdenliveDoc::saveCustomEffects(QDomNodeList customeffects) void KdenliveDoc::updateProjectFolderPlacesEntry() { + /* + * For similar and more code have a look at kfileplacesmodel.cpp and the included files: + * http://websvn.kde.org/trunk/KDE/kdelibs/kfile/kfileplacesmodel.cpp?view=markup + */ + const QString file = KStandardDirs::locateLocal("data", "kfileplaces/bookmarks.xml"); KBookmarkManager *bookmarkManager = KBookmarkManager::managerForFile(file, "kfilePlaces"); KBookmarkGroup root = bookmarkManager->root(); -- 2.39.2