aboutsummaryrefslogtreecommitdiff
path: root/src/browsertab.hpp
diff options
context:
space:
mode:
authorMike Skec <skec@protonmail.ch>2021-01-06 19:37:26 +1100
committerFelix Queißner <felix@ib-queissner.de>2021-01-06 10:51:18 +0100
commit2a9bb4fa6121de62d9e6ba06d9a109ba6d57f14c (patch)
tree7f2b49ca97071b003697ffeaaa904ce1dfe166d6 /src/browsertab.hpp
parent24086fdfe92814c38da6d219916ee9d45d8ba581 (diff)
downloadkristall-2a9bb4fa6121de62d9e6ba06d9a109ba6d57f14c.tar.gz
cache code refactor
Diffstat (limited to 'src/browsertab.hpp')
-rw-r--r--src/browsertab.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/browsertab.hpp b/src/browsertab.hpp
index aec41af..595e846 100644
--- a/src/browsertab.hpp
+++ b/src/browsertab.hpp
@@ -53,7 +53,7 @@ public:
explicit BrowserTab(MainWindow * mainWindow);
~BrowserTab();
- void navigateTo(QUrl const & url, PushToHistory mode, bool no_read_cache = false);
+ void navigateTo(QUrl const & url, PushToHistory mode, bool no_cache_read = false);
void navigateBack(const QModelIndex &history_index);
@@ -135,7 +135,7 @@ private: // network slots
void on_requestProgress(qint64 transferred);
void on_requestComplete(QByteArray const & data, QString const & mime);
- void on_requestCompleteMime(QByteArray const & data, MimeType const & mime);
+ void on_requestComplete(QByteArray const & data, MimeType const & mime);
void on_redirected(QUrl uri, bool is_permanent);
void on_inputRequired(QString const & user_query, bool is_sensitive);
void on_networkError(ProtocolHandler::NetworkError error, QString const & reason);
@@ -165,7 +165,7 @@ private:
this->addProtocolHandler(std::make_unique<T>());
}
- bool startRequest(QUrl const & url, ProtocolHandler::RequestOptions options, bool no_read_cache = false);
+ bool startRequest(QUrl const & url, ProtocolHandler::RequestOptions options, bool no_cache_read = false);
void updateMouseCursor(bool waiting);