#include <QLabel>
#include <QProgressBar>
+// C++ headers.
+#include <list>
+
class BrowserWindow : public KXmlGuiWindow
{
// Include the Q_OBJECT macro.
void openCookiesDialog();
void openDomainSettings() const;
void refresh() const;
+ void removeCookieFromList(const QNetworkCookie &cookie) const;
void settingsConfigure();
void showProgressBar(const int &progress) const;
+ void toggleDomStorage() const;
void toggleJavaScript() const;
void toggleLocalStorage() const;
+ void updateDomStorageAction(const bool &isEnabled) const;
void updateDomainSettingsIndicator(const bool &status, const QString &domainSettingsDomain);
- void updateJavaScriptAction(const bool &isEnabled) const;
- void updateLocalStorageAction(const bool &isEnabled) const;
+ void updateJavaScriptAction(const bool &isEnabled);
+ void updateLocalStorageAction(const bool &isEnabled);
void updateSearchEngineActions(const QString &searchEngine) const;
void updateUserAgentActions(const QString &userAgent) const;
void updateZoomFactorAction(const double &zoomFactor);
// The private variables.
BrowserView *browserViewPointer;
KConfigDialog *configDialogPointer;
- QList<QNetworkCookie> *cookieListPointer;
+ std::list<QNetworkCookie> *cookieListPointer;
+ QAction *cookiesActionPointer;
QString currentDomainSettingsDomain;
QUrl currentUrl;
double currentZoomFactor;
+ QAction *domStorageActionPointer;
QPalette domainSettingsPalette;
QAction *javaScriptActionPointer;
+ bool javaScriptEnabled;
QAction *localStorageActionPointer;
+ bool localStorageEnabled;
QPalette noDomainSettingsPalette;
QProgressBar *progressBarPointer;
QLabel *searchEngineLabelPointer;