diff options
Diffstat (limited to 'src/lib/bookmarks/bookmarkswidget.cpp')
-rw-r--r-- | src/lib/bookmarks/bookmarkswidget.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/bookmarks/bookmarkswidget.cpp b/src/lib/bookmarks/bookmarkswidget.cpp index 10a5424..cb191c7 100644 --- a/src/lib/bookmarks/bookmarkswidget.cpp +++ b/src/lib/bookmarks/bookmarkswidget.cpp @@ -75,6 +75,11 @@ QStringList BookmarksWidget::bookmarksFor(const QString &term) return ret; } +QAbstractItemModel *BookmarksWidget::model() const +{ + return ui->treeWidget->model(); +} + QStringList BookmarksWidget::searchItem(QTreeWidgetItem *item, const QString &term) { if(item->text(1).contains(term)) { |