X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=src%2Fwidgets%2FTabWidget.h;h=5b9f2f9fe9de7d4a8f311ac5a282ce2cd7014a27;hb=e5ec85accb02116b08c33b574805c132475d90bc;hp=8af311328cd4d0b5113ac9f98722238f06c9fcbb;hpb=425fed98271cd951cddef9904e5e271f0fb76fc1;p=PrivacyBrowserPC.git diff --git a/src/widgets/TabWidget.h b/src/widgets/TabWidget.h index 8af3113..5b9f2f9 100644 --- a/src/widgets/TabWidget.h +++ b/src/widgets/TabWidget.h @@ -57,8 +57,12 @@ 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 toggleDeveloperTools(const bool enabled) const; void toggleDomStorage() const; void toggleFindCaseSensitive(const QString &text); void toggleJavaScript() const; @@ -79,6 +83,7 @@ signals: void updateBackAction(const bool &isEnabled) const; void updateCookiesAction(const int numberOfCookies) const; void updateDefaultZoomFactor(const double newDefaultZoomFactor) const; + void updateDeveloperToolsAction(const bool &isEnabled) const; void updateDomStorageAction(const bool &isEnabled) const; void updateDomainSettingsIndicator(const bool status) const; void updateFindText(const QString &text, const bool findCaseSensitive) const; @@ -113,6 +118,7 @@ public Q_SLOTS: void printPreview() const; void refresh() const; void reloadAndBypassCache() const; + void saveArchive(); private Q_SLOTS: // The private slots. @@ -136,11 +142,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; };