MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / getBookmark

Method getBookmark

Plugins/WebBrowser/Bookmark/BookmarkDatabase.cpp:114–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114BookmarkItem CBookmarkDatabase::getBookmark(int id)
115{
116 BookmarkItem item(BookmarkType_Bookmark);
117
118 auto leaf = m_TreeDB.GetLeaf(id);
119 if(leaf.GetId() == 0) return item;
120 item = TreeToBookmark(leaf);
121 return item;
122}
123
124QList<BookmarkItem> CBookmarkDatabase::getBookmarkByUrl(const QString &url)
125{

Callers 3

onEditBookmarkMethod · 0.80
onSetFavoriteMethod · 0.80

Calls 2

GetLeafMethod · 0.80
GetIdMethod · 0.45

Tested by

no test coverage detected