┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/places/placesitemmodel.h
diff options
context:
space:
mode:
authorEmmanuel Pescosta <[email protected]>2015-02-19 20:15:49 +0100
committerEmmanuel Pescosta <[email protected]>2015-02-19 20:15:49 +0100
commit1ef5434572d0289a160589395b8b80cd800bc195 (patch)
tree6947fed56d8db2607a55522f6b11e4ff5935bedd /src/panels/places/placesitemmodel.h
parent9f3ac5f9416beb1bf9858bbb7fa4e3b63ca59bb9 (diff)
parenta8f4f01eaa4027476ea799b7815f353f5cdd99ad (diff)
Merge branch 'Applications/14.12'
Diffstat (limited to 'src/panels/places/placesitemmodel.h')
-rw-r--r--src/panels/places/placesitemmodel.h21
1 files changed, 8 insertions, 13 deletions
diff --git a/src/panels/places/placesitemmodel.h b/src/panels/places/placesitemmodel.h
index 4a374e502..7cbf99e95 100644
--- a/src/panels/places/placesitemmodel.h
+++ b/src/panels/places/placesitemmodel.h
@@ -124,6 +124,14 @@ public:
static KUrl convertedUrl(const KUrl& url);
virtual void clear();
+
+ /**
+ * Saves the bookmarks and indicates to other applications that the
+ * state of the bookmarks has been changed. Is only called by the
+ * timeout of m_saveBookmarksTimer to prevent unnecessary savings.
+ */
+ void saveBookmarks();
+
signals:
void errorMessage(const QString& message);
void storageSetupDone(int index, bool success);
@@ -147,12 +155,6 @@ private slots:
*/
void updateBookmarks();
- /**
- * Saves the bookmarks and indicates to other applications that the
- * state of the bookmarks has been changed. Is only called by the
- * timeout of m_saveBookmarksTimer to prevent unnecessary savings.
- */
- void saveBookmarks();
private:
struct SystemBookmarkData;
@@ -199,12 +201,6 @@ private:
*/
void hideItem(int index);
- /**
- * Triggers a delayed saving of bookmarks by starting
- * m_saveBookmarksTimer.
- */
- void triggerBookmarksSaving();
-
QString internalMimeType() const;
/**
@@ -287,7 +283,6 @@ private:
// removing an item is not allowed.
int m_hiddenItemToRemove;
- QTimer* m_saveBookmarksTimer;
QTimer* m_updateBookmarksTimer;
QHash<QObject*, int> m_storageSetupInProgress;