BookmarksPart Class Reference
This plugin provides a navigation view for bookmarks and persistance to editor bookmarks so that it is possible to have bookmarks in files that are not open and that these bookmarks are saved with the project. More...
#include <bookmarks_part.h>
Inheritance diagram for BookmarksPart:

Detailed Description
This plugin provides a navigation view for bookmarks and persistance to editor bookmarks so that it is possible to have bookmarks in files that are not open and that these bookmarks are saved with the project.
- Feature(s):
- Provides a navigation view for bookmarks
Persists bookmarks between sessions
- Author(s):
- Jens Dagerbo aka teatime
- Maintainer(s):
- Jens Dagerbo aka teatime
- Bug:
- Pre KDE-3.2 / KDE-3.1.3, using source reformatting, or the ReplacePart will result in katepart messing up bookmarks (and breakpoints). There is no current workaround.
- Requirement(s):
- KDE >= 3.1.3
Definition at line 41 of file bookmarks_part.h.
Constructor & Destructor Documentation
|
|
|
Definition at line 88 of file bookmarks_part.cpp. References _config, _configProxy, _widget, KDevPlugin::mainWindow(), and KDevMainWindow::removeView(). |
Member Function Documentation
|
Definition at line 367 of file bookmarks_part.cpp. References _settingMarks, clearBookmarksForURL(), KTextEditor::MarkInterface::marks(), and KTextEditor::MarkInterface::removeMark(). Referenced by clearBookmarksForURL(), and setBookmarksForURL(). |
|
Definition at line 560 of file bookmarks_part.cpp. References _config. Referenced by BookmarkSettings::BookmarkSettings(), BookmarksWidget::config(), BookmarksWidget::maybeTip(), and BookmarkSettings::slotAccept(). |
|
Definition at line 533 of file bookmarks_part.cpp. References endl(), file, getContext(), getContextFromStream(), KURL::isLocalFile(), kdDebug(), partForURL(), KURL::path(), and KTextEditor::EditInterface::text(). Referenced by BookmarksWidget::getContext(), and getContext(). |
|
Definition at line 498 of file bookmarks_part.cpp. References endl(), getContextFromStream(), k_funcinfo, and kdDebug(). Referenced by getContext(), and getContextFromStream(). |
|
Definition at line 485 of file bookmarks_part.cpp. References BOOKMARKSETTINGSPAGE, endl(), insertConfigWidget(), k_funcinfo, and kdDebug(). Referenced by insertConfigWidget(). |
|
Definition at line 153 of file bookmarks_part.cpp. References _dirtyParts, _widget, data, partIsSane(), storeBookmarksForURL(), updateContextStringForURL(), and KParts::ReadOnlyPart::url(). Referenced by partAdded(). |
|
Definition at line 136 of file bookmarks_part.cpp. References _dirtyParts, _marksChangeTimer, _settingMarks, and partIsSane(). Referenced by partAdded(). |
|
Definition at line 98 of file bookmarks_part.cpp. References _editorMap, _widget, data, marksChanged(), marksEvent(), partAdded(), KURL::path(), reload(), setBookmarksForURL(), updateContextStringForURL(), and KParts::ReadOnlyPart::url(). Referenced by partAdded(). |
|
Definition at line 463 of file bookmarks_part.cpp. References KDevPlugin::partController(), and KParts::ReadOnlyPart::url(). |
|
Definition at line 478 of file bookmarks_part.cpp. References KDevPlugin::partController(), partIsSane(), KParts::PartManager::parts(), KURL::path(), and KParts::ReadOnlyPart::url(). Referenced by marksChanged(), marksEvent(), partIsSane(), and reload(). |
|
Definition at line 122 of file bookmarks_part.cpp. References partIsSane(), and setBookmarksForURL(). Referenced by partAdded(). |
|
Definition at line 261 of file bookmarks_part.cpp. References _editorMap, _widget, partForURL(), KURL::path(), removeAllBookmarksForURL(), and setBookmarksForURL(). Referenced by removeAllBookmarksForURL(), and removeBookmarkForURL(). |
|
Definition at line 271 of file bookmarks_part.cpp. References _editorMap, _widget, data, partForURL(), KURL::path(), removeAllBookmarksForURL(), removeBookmarkForURL(), and setBookmarksForURL(). Referenced by removeBookmarkForURL(). |
|
To restore any settings which differs from project to project, you can override this base class method to read in from a certain subtree of the project session file. During project loading, respectively project session (.kdevses) loading, this method will be called to give a chance to adapt the part to the newly loaded project. For instance, the debugger part might restore the set breakpoints from the previous debug session for the certain project.
Reimplemented from KDevPlugin. Definition at line 181 of file bookmarks_part.cpp. References _editorMap, _widget, data, restorePartialProjectSession(), setBookmarksForAllURLs(), and updateContextStringForAll(). Referenced by restorePartialProjectSession(). |
|
Reimplemented from KDevPlugin. Definition at line 226 of file bookmarks_part.cpp. References _editorMap, and savePartialProjectSession(). Referenced by savePartialProjectSession(). |
|
Definition at line 430 of file bookmarks_part.cpp. References KDevPlugin::partController(), KParts::PartManager::parts(), and setBookmarksForURL(). Referenced by restorePartialProjectSession(). |
|
Definition at line 337 of file bookmarks_part.cpp. References _editorMap, _settingMarks, KTextEditor::MarkInterface::addMark(), clearBookmarksForURL(), data, KURL::path(), setBookmarksForURL(), and KParts::ReadOnlyPart::url(). Referenced by partAdded(), reload(), removeAllBookmarksForURL(), removeBookmarkForURL(), setBookmarksForAllURLs(), and setBookmarksForURL(). |
|
Definition at line 446 of file bookmarks_part.cpp. References KDevPlugin::partController(), KParts::PartManager::parts(), and storeBookmarksForURL(). |
|
Definition at line 392 of file bookmarks_part.cpp. References _editorMap, data, KTextEditor::MarkInterface::marks(), storeBookmarksForURL(), and KParts::ReadOnlyPart::url(). Referenced by marksChanged(), storeBookmarksForAllURLs(), and storeBookmarksForURL(). |
|
Definition at line 324 of file bookmarks_part.cpp. References _editorMap, and updateContextStringForURL(). Referenced by restorePartialProjectSession(). |
|
Definition at line 319 of file bookmarks_part.cpp. References partForURL(), and updateContextStringForURL(). |
|
Definition at line 300 of file bookmarks_part.cpp. References _editorMap, data, KURL::path(), KTextEditor::EditInterface::textLine(), updateContextStringForURL(), and KParts::ReadOnlyPart::url(). Referenced by marksChanged(), partAdded(), updateContextStringForAll(), and updateContextStringForURL(). |
Member Data Documentation
|
Definition at line 98 of file bookmarks_part.h. Referenced by config(), and ~BookmarksPart(). |
|
Definition at line 100 of file bookmarks_part.h. Referenced by ~BookmarksPart(). |
|
Definition at line 103 of file bookmarks_part.h. Referenced by marksChanged(), and marksEvent(). |
|
Definition at line 95 of file bookmarks_part.h. Referenced by partAdded(), removeAllBookmarksForURL(), removeBookmarkForURL(), restorePartialProjectSession(), savePartialProjectSession(), setBookmarksForURL(), storeBookmarksForURL(), updateContextStringForAll(), and updateContextStringForURL(). |
|
Definition at line 102 of file bookmarks_part.h. Referenced by marksEvent(). |
|
Definition at line 96 of file bookmarks_part.h. Referenced by clearBookmarksForURL(), marksEvent(), and setBookmarksForURL(). |
|
Definition at line 94 of file bookmarks_part.h. Referenced by marksChanged(), partAdded(), removeAllBookmarksForURL(), removeBookmarkForURL(), restorePartialProjectSession(), and ~BookmarksPart(). |
The documentation for this class was generated from the following files:
- parts/bookmarks/bookmarks_part.h
- parts/bookmarks/bookmarks_part.cpp