summaryrefslogtreecommitdiff
path: root/src/webpage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/webpage.h')
-rw-r--r--src/webpage.h38
1 files changed, 28 insertions, 10 deletions
diff --git a/src/webpage.h b/src/webpage.h
index a2ab6833..86a4cb5b 100644
--- a/src/webpage.h
+++ b/src/webpage.h
@@ -52,15 +52,33 @@ public:
explicit WebPage(QWidget *parent = 0);
~WebPage();
- inline bool hasNetworkAnalyzerEnabled() const { return _networkAnalyzer; };
- inline void enableNetworkAnalyzer(bool b) { _networkAnalyzer = b; };
+ inline bool hasNetworkAnalyzerEnabled() const
+ {
+ return _networkAnalyzer;
+ };
+ inline void enableNetworkAnalyzer(bool b)
+ {
+ _networkAnalyzer = b;
+ };
+
+ inline bool isOnRekonqPage() const
+ {
+ return _isOnRekonqPage;
+ };
+ inline void setIsOnRekonqPage(bool b)
+ {
+ _isOnRekonqPage = b;
+ };
+
+ inline KUrl loadingUrl()
+ {
+ return _loadingUrl;
+ };
+ inline QString suggestedFileName()
+ {
+ return _suggestedFileName;
+ };
- inline bool isOnRekonqPage() const { return _isOnRekonqPage; };
- inline void setIsOnRekonqPage(bool b) { _isOnRekonqPage = b; };
-
- inline KUrl loadingUrl() { return _loadingUrl; };
- inline QString suggestedFileName() { return _suggestedFileName; };
-
public Q_SLOTS:
void downloadAllContentsWithKGet(QPoint);
@@ -83,7 +101,7 @@ private Q_SLOTS:
void updateImage(bool ok);
void copyToTempFileResult(KJob*);
-
+
private:
void downloadReply(const QNetworkReply *reply, const QString &suggestedFileName = QString());
@@ -96,7 +114,7 @@ private:
QString _mimeType;
QString _suggestedFileName;
-
+
bool _networkAnalyzer;
bool _isOnRekonqPage;
};