┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/places/placesitemmodel.h
diff options
context:
space:
mode:
authorEmmanuel Pescosta <[email protected]>2015-02-19 20:34:35 +0100
committerEmmanuel Pescosta <[email protected]>2015-02-19 20:34:35 +0100
commit8679115552ec65ccfc6cbc1db68414d80e3a081b (patch)
tree0d458ead5d254932fa5707ec8ca74cd2a5dd1ecc /src/panels/places/placesitemmodel.h
parent9221362ceaf695b02b316f88cbf27e1ba96c89db (diff)
parent1ef5434572d0289a160589395b8b80cd800bc195 (diff)
Merge branch 'master' into frameworks
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 38fcfe6af..aa8bb16fe 100644
--- a/src/panels/places/placesitemmodel.h
+++ b/src/panels/places/placesitemmodel.h
@@ -122,6 +122,14 @@ public:
static QUrl convertedUrl(const QUrl& url);
virtual void clear() Q_DECL_OVERRIDE;
+
+ /**
+ * 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);
@@ -145,12 +153,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;
@@ -197,12 +199,6 @@ private:
*/
void hideItem(int index);
- /**
- * Triggers a delayed saving of bookmarks by starting
- * m_saveBookmarksTimer.
- */
- void triggerBookmarksSaving();
-
QString internalMimeType() const;
/**
@@ -285,7 +281,6 @@ private:
// removing an item is not allowed.
int m_hiddenItemToRemove;
- QTimer* m_saveBookmarksTimer;
QTimer* m_updateBookmarksTimer;
QHash<QObject*, int> m_storageSetupInProgress;