diff options
-rw-r--r-- | examples/webkit/simplewebplugin/csvview.cpp | 2 | ||||
-rw-r--r-- | examples/webkit/webftpclient/downloader.h | 2 | ||||
-rw-r--r-- | examples/webkit/webftpclient/ftpreply.h | 2 | ||||
-rw-r--r-- | examples/webkit/webftpclient/networkaccessmanager.h | 2 | ||||
-rw-r--r-- | examples/webkit/webplugin/csvview.cpp | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/examples/webkit/simplewebplugin/csvview.cpp b/examples/webkit/simplewebplugin/csvview.cpp index 0a3eff7..3d87daa 100644 --- a/examples/webkit/simplewebplugin/csvview.cpp +++ b/examples/webkit/simplewebplugin/csvview.cpp @@ -74,7 +74,7 @@ void CSVView::updateModel() charset = right; } } - + //! [read data begin] QTextStream stream(reply); stream.setCodec(QTextCodec::codecForName(charset.toLatin1())); diff --git a/examples/webkit/webftpclient/downloader.h b/examples/webkit/webftpclient/downloader.h index abbd231..8201cea 100644 --- a/examples/webkit/webftpclient/downloader.h +++ b/examples/webkit/webftpclient/downloader.h @@ -58,7 +58,7 @@ class Downloader : public QObject public: Downloader(QWidget *parentWidget, QNetworkAccessManager *manager); -public slots: +public slots: QString chooseSaveFile(const QUrl &url); void startDownload(const QNetworkRequest &request); void saveFile(QNetworkReply *reply); diff --git a/examples/webkit/webftpclient/ftpreply.h b/examples/webkit/webftpclient/ftpreply.h index 6b73680..becd4e4 100644 --- a/examples/webkit/webftpclient/ftpreply.h +++ b/examples/webkit/webftpclient/ftpreply.h @@ -75,7 +75,7 @@ private: QByteArray content; qint64 offset; QStringList units; -}; +}; //! [class definition] #endif diff --git a/examples/webkit/webftpclient/networkaccessmanager.h b/examples/webkit/webftpclient/networkaccessmanager.h index 784bf01..256ae82 100644 --- a/examples/webkit/webftpclient/networkaccessmanager.h +++ b/examples/webkit/webftpclient/networkaccessmanager.h @@ -50,7 +50,7 @@ class NetworkAccessManager : public QNetworkAccessManager public: NetworkAccessManager(QNetworkAccessManager *oldManager, QObject *parent = 0); -protected: +protected: QNetworkReply *createRequest(Operation operation, const QNetworkRequest &request, QIODevice *device); }; diff --git a/examples/webkit/webplugin/csvview.cpp b/examples/webkit/webplugin/csvview.cpp index 90a1206..0996f24 100644 --- a/examples/webkit/webplugin/csvview.cpp +++ b/examples/webkit/webplugin/csvview.cpp @@ -76,7 +76,7 @@ void CSVView::updateModel() charset = right; } } - + QTextStream stream(reply); stream.setCodec(QTextCodec::codecForName(charset.toLatin1())); |