Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
2c83c5e4
Commit
2c83c5e4
authored
9 years ago
by
agriche
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Update the mhttp variable.
parent
8b6a9279
master
bugfix
1.5.4z3
1.5.4z2
1.5.4z
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
3 deletions
+23
-3
UBApplicationController.h
src/core/UBApplicationController.h
+23
-3
No files found.
src/core/UBApplicationController.h
View file @
2c83c5e4
...
@@ -31,6 +31,18 @@
...
@@ -31,6 +31,18 @@
//#include <QtGui>
//#include <QtGui>
#include <QtWidgets>
#include <QtWidgets>
#include <QtNetwork>
//#include <QFtp>
//#include <QHttpResponseHeader>
#include <QNetworkAccessManager>
#include <QtNetwork/QHttpPart>
#include <QScriptValue>
#include <QScriptEngine>
class
UBBoardView
;
class
UBBoardView
;
class
UBDocumentProxy
;
class
UBDocumentProxy
;
class
UBGraphicsScene
;
class
UBGraphicsScene
;
...
@@ -42,9 +54,13 @@ class UBVersion;
...
@@ -42,9 +54,13 @@ class UBVersion;
class
UBSoftwareUpdate
;
class
UBSoftwareUpdate
;
class
QNetworkAccessManager
;
class
QNetworkAccessManager
;
class
QNetworkReply
;
class
QNetworkReply
;
class
QHttp
;
class
QHttpPart
;
//class QHttp;
class
UBRightPalette
;
class
UBRightPalette
;
class
UBOpenSankoreImporter
;
class
UBOpenSankoreImporter
;
class
QScriptValue
;
class
QScriptEngine
;
class
QNetworkReply
;
class
UBApplicationController
:
public
QObject
class
UBApplicationController
:
public
QObject
{
{
...
@@ -144,8 +160,9 @@ class UBApplicationController : public QObject
...
@@ -144,8 +160,9 @@ class UBApplicationController : public QObject
void
checkAtLaunch
();
void
checkAtLaunch
();
private
slots
:
private
slots
:
void
updateRequestFinished
(
QNetworkReply
*
reply
);
void
updateRequestFinished
(
int
id
,
bool
error
);
//void updateHeaderReceived(QHttpResponseHeader header);
void
updateHeaderReceived
(
QNetworkRequest
header
);
protected
:
protected
:
...
@@ -183,6 +200,9 @@ class UBApplicationController : public QObject
...
@@ -183,6 +200,9 @@ class UBApplicationController : public QObject
QNetworkAccessManager
*
networkAccessManager
;
QNetworkAccessManager
*
networkAccessManager
;
void
downloadJsonFinished
(
QString
updateString
);
void
downloadJsonFinished
(
QString
updateString
);
QHttpPart
*
mHttp
;
QNetworkAccessManager
qnam
;
QNetworkReply
*
mHttpreply
;
};
};
#endif
/* UBAPPLICATIONCONTROLLER_H_ */
#endif
/* UBAPPLICATIONCONTROLLER_H_ */
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment