digiKam
|
Public Slots | |
void | exportBookmarks () |
void | importBookmarks () |
Signals | |
void | entryAdded (BookmarkNode *item) |
void | entryChanged (BookmarkNode *item) |
void | entryRemoved (BookmarkNode *parent, int row, BookmarkNode *item) |
Public Member Functions | |
void | addBookmark (BookmarkNode *const parent, BookmarkNode *const node, int row=-1) |
BookmarkNode * | bookmarks () |
BookmarksManager (const QString &bookmarksFile, QObject *const parent=nullptr) | |
BookmarksModel * | bookmarksModel () |
void | changeExpanded () |
void | load () |
void | removeBookmark (BookmarkNode *const node) |
void | save () |
void | setComment (BookmarkNode *const node, const QString &newDesc) |
void | setTitle (BookmarkNode *const node, const QString &newTitle) |
void | setUrl (BookmarkNode *const node, const QString &newUrl) |
QUndoStack * | undoRedoStack () const |
~BookmarksManager () override | |
Friends | |
class | ChangeBookmarkCommand |
class | RemoveBookmarksCommand |
Bookmark manager, owner of the bookmarks, loads, saves and basic tasks
|
explicit |
References load().
|
override |
void Digikam::BookmarksManager::addBookmark | ( | BookmarkNode *const | parent, |
BookmarkNode *const | node, | ||
int | row = -1 |
||
) |
Referenced by importBookmarks().
BookmarkNode * Digikam::BookmarksManager::bookmarks | ( | ) |
References load().
Referenced by importBookmarks().
BookmarksModel * Digikam::BookmarksManager::bookmarksModel | ( | ) |
void Digikam::BookmarksManager::changeExpanded | ( | ) |
|
signal |
Referenced by Digikam::RemoveBookmarksCommand::undo().
|
signal |
|
signal |
Referenced by Digikam::RemoveBookmarksCommand::redo().
|
slot |
References Digikam::DFileDialog::getSaveFileName(), and Digikam::XbelWriter::write().
|
slot |
void Digikam::BookmarksManager::load | ( | ) |
References Digikam::XbelReader::read().
Referenced by bookmarks(), and BookmarksManager().
void Digikam::BookmarksManager::removeBookmark | ( | BookmarkNode *const | node | ) |
void Digikam::BookmarksManager::save | ( | ) |
References Digikam::XbelWriter::write().
void Digikam::BookmarksManager::setComment | ( | BookmarkNode *const | node, |
const QString & | newDesc | ||
) |
References ChangeBookmarkCommand, and Digikam::ChangeBookmarkCommand::Desc.
void Digikam::BookmarksManager::setTitle | ( | BookmarkNode *const | node, |
const QString & | newTitle | ||
) |
References ChangeBookmarkCommand, and Digikam::ChangeBookmarkCommand::Title.
void Digikam::BookmarksManager::setUrl | ( | BookmarkNode *const | node, |
const QString & | newUrl | ||
) |
References ChangeBookmarkCommand, and Digikam::ChangeBookmarkCommand::Url.
QUndoStack * Digikam::BookmarksManager::undoRedoStack | ( | ) | const |
|
friend |
Referenced by setComment(), setTitle(), and setUrl().
|
friend |
Referenced by removeBookmark().