![]() |
Falkon Develop
Cross-platform Qt-based web browser
|
#include <bookmarks.h>
Public Slots | |
void | setShowOnlyIconsInToolbar (bool state) |
void | setShowOnlyTextInToolbar (bool state) |
Signals | |
void | bookmarkAdded (BookmarkItem *item) |
void | bookmarkRemoved (BookmarkItem *item) |
void | bookmarkChanged (BookmarkItem *item) |
void | showOnlyIconsInToolbarChanged (bool show) |
void | showOnlyTextInToolbarChanged (bool show) |
Public Member Functions | |
Bookmarks (QObject *parent=nullptr) | |
~Bookmarks () | |
void | loadSettings () |
bool | showOnlyIconsInToolbar () const |
bool | showOnlyTextInToolbar () const |
BookmarkItem * | rootItem () const |
BookmarkItem * | toolbarFolder () const |
BookmarkItem * | menuFolder () const |
BookmarkItem * | unsortedFolder () const |
BookmarkItem * | lastUsedFolder () const |
BookmarksModel * | model () const |
bool | isBookmarked (const QUrl &url) |
bool | canBeModified (BookmarkItem *item) const |
QList< BookmarkItem * > | searchBookmarks (const QUrl &url) const |
QList< BookmarkItem * > | searchBookmarks (const QString &string, int limit=-1, Qt::CaseSensitivity sensitive=Qt::CaseInsensitive) const |
QList< BookmarkItem * > | searchKeyword (const QString &keyword) const |
void | addBookmark (BookmarkItem *parent, BookmarkItem *item) |
void | insertBookmark (BookmarkItem *parent, int row, BookmarkItem *item) |
bool | removeBookmark (BookmarkItem *item) |
void | changeBookmark (BookmarkItem *item) |
Definition at line 32 of file bookmarks.h.
|
explicit |
Definition at line 33 of file bookmarks.cpp.
Bookmarks::~Bookmarks | ( | ) |
Definition at line 44 of file bookmarks.cpp.
void Bookmarks::addBookmark | ( | BookmarkItem * | parent, |
BookmarkItem * | item | ||
) |
Definition at line 135 of file bookmarks.cpp.
|
signal |
|
signal |
|
signal |
bool Bookmarks::canBeModified | ( | BookmarkItem * | item | ) | const |
Definition at line 104 of file bookmarks.cpp.
void Bookmarks::changeBookmark | ( | BookmarkItem * | item | ) |
Definition at line 170 of file bookmarks.cpp.
void Bookmarks::insertBookmark | ( | BookmarkItem * | parent, |
int | row, | ||
BookmarkItem * | item | ||
) |
Definition at line 144 of file bookmarks.cpp.
bool Bookmarks::isBookmarked | ( | const QUrl & | url | ) |
Definition at line 99 of file bookmarks.cpp.
BookmarkItem * Bookmarks::lastUsedFolder | ( | ) | const |
Definition at line 89 of file bookmarks.cpp.
void Bookmarks::loadSettings | ( | ) |
Definition at line 50 of file bookmarks.cpp.
BookmarkItem * Bookmarks::menuFolder | ( | ) | const |
Definition at line 79 of file bookmarks.cpp.
BookmarksModel * Bookmarks::model | ( | ) | const |
Definition at line 94 of file bookmarks.cpp.
bool Bookmarks::removeBookmark | ( | BookmarkItem * | item | ) |
Definition at line 157 of file bookmarks.cpp.
BookmarkItem * Bookmarks::rootItem | ( | ) | const |
Definition at line 69 of file bookmarks.cpp.
QList< BookmarkItem * > Bookmarks::searchBookmarks | ( | const QString & | string, |
int | limit = -1 , |
||
Qt::CaseSensitivity | sensitive = Qt::CaseInsensitive |
||
) | const |
Definition at line 121 of file bookmarks.cpp.
QList< BookmarkItem * > Bookmarks::searchBookmarks | ( | const QUrl & | url | ) | const |
Definition at line 114 of file bookmarks.cpp.
QList< BookmarkItem * > Bookmarks::searchKeyword | ( | const QString & | keyword | ) | const |
Definition at line 128 of file bookmarks.cpp.
|
slot |
Definition at line 178 of file bookmarks.cpp.
|
slot |
Definition at line 185 of file bookmarks.cpp.
bool Bookmarks::showOnlyIconsInToolbar | ( | ) | const |
Definition at line 59 of file bookmarks.cpp.
|
signal |
bool Bookmarks::showOnlyTextInToolbar | ( | ) | const |
Definition at line 64 of file bookmarks.cpp.
|
signal |
BookmarkItem * Bookmarks::toolbarFolder | ( | ) | const |
Definition at line 74 of file bookmarks.cpp.
BookmarkItem * Bookmarks::unsortedFolder | ( | ) | const |
Definition at line 84 of file bookmarks.cpp.