diff options
author | hjk <hjk121@nokiamail.com> | 2014-07-04 13:01:59 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-07-08 10:07:43 +0200 |
commit | a4f5f7f74894282959af7f45c4f9380951695420 (patch) | |
tree | c81207819683bb843f6e10fd74751c718f6fd78f /src/plugins/bookmarks/bookmark.h | |
parent | bed82747f40fc6ef0ebc1fde322a1056784aa181 (diff) | |
download | qt-creator-a4f5f7f74894282959af7f45c4f9380951695420.tar.gz |
Bookmark: Consolidate data handling
Avoid storing of copies of the same information.
This still calls saveBookmarks() too often needlessly.
Change-Id: I2c9a67252ea444a722802a6dd4b1e8d154d1c82c
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/bookmarks/bookmark.h')
-rw-r--r-- | src/plugins/bookmarks/bookmark.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/bookmarks/bookmark.h b/src/plugins/bookmarks/bookmark.h index 0fd4844142..89e5ea0d54 100644 --- a/src/plugins/bookmarks/bookmark.h +++ b/src/plugins/bookmarks/bookmark.h @@ -33,8 +33,6 @@ #include <texteditor/itexteditor.h> #include <texteditor/basetextmark.h> -#include <QFileInfo> - namespace Bookmarks { namespace Internal { @@ -52,17 +50,11 @@ public: void updateNote(const QString ¬e); void removedFromEditor(); - QString filePath() const; - QString fileName() const; - QString path() const; QString lineText() const; QString note() const; private: BookmarkManager *m_manager; - QString m_fileName; - QString m_onlyFile; - QString m_path; QString m_lineText; QString m_note; }; |