X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwidgets%2FTabWidget.h;h=ab6167188c8d09d4949c4574213c03c381c0e435;hb=bc134c3e83b97b4b82733feaa39e0bd99bb0fcc3;hp=8af311328cd4d0b5113ac9f98722238f06c9fcbb;hpb=425fed98271cd951cddef9904e5e271f0fb76fc1;p=PrivacyBrowserPC.git diff --git a/src/widgets/TabWidget.h b/src/widgets/TabWidget.h index 8af3113..ab61671 100644 --- a/src/widgets/TabWidget.h +++ b/src/widgets/TabWidget.h @@ -57,6 +57,9 @@ public: void loadInitialWebsite(); void findPrevious(const QString &text) const; std::list* getCookieList() const; + QIcon getCurrentTabFavoritIcon() const; + QString getCurrentTabTitle() const; + QString getCurrentTabUrl() const; QString& getDomainSettingsName() const; void setTabBarVisible(const bool visible) const; void toggleDomStorage() const; @@ -113,6 +116,7 @@ public Q_SLOTS: void printPreview() const; void refresh() const; void reloadAndBypassCache() const; + void saveArchive(); private Q_SLOTS: // The private slots. @@ -136,11 +140,12 @@ private: QWebEnginePage *currentWebEnginePagePointer; QWebEngineProfile *currentWebEngineProfilePointer; QWebEngineSettings *currentWebEngineSettingsPointer; - QIcon defaultFavoriteIcon = QIcon::fromTheme(QStringLiteral("globe")); + QIcon defaultFavoriteIcon = QIcon::fromTheme(QLatin1String("globe"), QIcon::fromTheme(QLatin1String("applications-internet"))); bool isRunningKde = false; QMovie *loadingFavoriteIconMoviePointer; - QString searchEngineUrl; QTabWidget *qTabWidgetPointer; + bool savingArchive; + QString searchEngineUrl; UserAgentHelper *userAgentHelperPointer; bool wipingCurrentFindTextSelection = false; };