35#include <QNetworkCookie>
61 QIcon
getIcon(
const QString &iconPath,
const QString &pluginPath);
73 QHash<BookmarkItem*, QmlBookmarkTreeNode*> m_bookmarkTreeNodes;
74 QHash<QNetworkCookie, QmlCookie*> m_cookies;
75 QHash<HistoryEntry, QmlHistoryItem*> m_historyItems;
76 QHash<WebTab*, QmlTab*> m_tabs;
78 QHash<BrowserWindow*, QmlWindow*> m_windows;
80 int m_newWindowId = 0;
81 QHash<BrowserWindow*, int> m_windowIdHash;
92inline uint
qHash(
const QNetworkCookie &cookie) {
93 return qHash(QString::fromUtf8(cookie.toRawForm()));
The class exposing the bookmark item to QML.
The class exposing the Bookmarks API to QML.
The class exposing application clipboard to QML.
The class exposing QNetworkCookie to QML.
The class exposing Cookies API to QML.
The class exposing the History API to QML.
The class exposing HistoryEntry to QML.
The class exposing MostVisitedUrl type to QML.
QmlClipboard * getClipboardSingleton()
QHash< BrowserWindow *, int > windowIdHash()
QmlCookie * getCookie(const QNetworkCookie &cookie)
QmlBookmarks * getBookmarksSingleton()
QmlTab * getTab(WebTab *webTab)
QmlUserScripts * getUserScriptsSingleton()
QmlHistoryItem * getHistoryItem(const HistoryEntry &entry)
QmlExternalJsObject * getExternalJsObjectSingleton()
QmlTopSites * getTopSitesSingleton()
QmlStaticData(QObject *parent=nullptr)
static QmlStaticData & instance()
QmlWindow * getWindow(BrowserWindow *window)
QIcon getIcon(const QString &iconPath, const QString &pluginPath)
QmlTabs * getTabsSingleton()
QmlCookies * getCookiesSingleton()
QmlMostVisitedUrl * getMostVisitedUrl(const QString &title=QString(), const QString &url=QString())
QmlBookmarkTreeNode * getBookmarkTreeNode(BookmarkItem *item)
QmlWindows * getWindowsSingleton()
QmlHistory * getHistorySingleton()
The class exposing a browser tab to QML.
The class exposing Tabs API to QML.
The class exposing TopSites API to QML.
The class exposing QWebEngineScriptCollection to QML.
The class exposing Browser window to QML.
The class exposing Windows API to QML.
uint qHash(const HistoryEntry &entry)
bool operator==(const HistoryEntry &x, const HistoryEntry &y)