diff --git a/src/core/UBApplicationController.h b/src/core/UBApplicationController.h index bca300b7..9db9a130 100644 --- a/src/core/UBApplicationController.h +++ b/src/core/UBApplicationController.h @@ -31,6 +31,18 @@ //#include #include + +#include +//#include +//#include +#include + + +#include +#include +#include + + class UBBoardView; class UBDocumentProxy; class UBGraphicsScene; @@ -42,9 +54,13 @@ class UBVersion; class UBSoftwareUpdate; class QNetworkAccessManager; class QNetworkReply; -class QHttp; +class QHttpPart; +//class QHttp; class UBRightPalette; class UBOpenSankoreImporter; +class QScriptValue; +class QScriptEngine; +class QNetworkReply; class UBApplicationController : public QObject { @@ -144,8 +160,9 @@ class UBApplicationController : public QObject void checkAtLaunch(); private slots: - void updateRequestFinished(QNetworkReply * reply); - + void updateRequestFinished(int id, bool error); + //void updateHeaderReceived(QHttpResponseHeader header); + void updateHeaderReceived(QNetworkRequest header ); protected: @@ -183,6 +200,9 @@ class UBApplicationController : public QObject QNetworkAccessManager *networkAccessManager; void downloadJsonFinished(QString updateString); + QHttpPart* mHttp; + QNetworkAccessManager qnam; + QNetworkReply *mHttpreply; }; #endif /* UBAPPLICATIONCONTROLLER_H_ */