From 9d20e99fffeebe67fd8ff27cb4f9e353892f5190 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 25 Feb 2011 00:19:27 +0100 Subject: Coding style --- src/webpage.h | 38 ++++++++++++++++++++++++++++---------- 1 file changed, 28 insertions(+), 10 deletions(-) (limited to 'src/webpage.h') 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; }; -- cgit v1.2.1