| 112 | } |
| 113 | |
| 114 | BookmarkItem 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 | |
| 124 | QList<BookmarkItem> CBookmarkDatabase::getBookmarkByUrl(const QString &url) |
| 125 | { |
no test coverage detected