|
@@ -630,6 +630,7 @@ various Qt modules.
|
630
|
630
|
#include <QtXmlPatterns>
|
631
|
631
|
#include <QtWebKit>
|
632
|
632
|
#include <QtSvg>
|
|
633
|
+#include <QtNetwork>
|
633
|
634
|
|
634
|
635
|
@ New code is being written in separate files in a long term effort to improve
|
635
|
636
|
organization of the code. The result of this is that some additional headers
|
|
@@ -12876,7 +12877,8 @@ class Application : public QApplication@/
|
12876
|
12877
|
Q_INVOKABLE QString currentTypicaUser();
|
12877
|
12878
|
Q_INVOKABLE bool login(const QString &user, const QString &password);
|
12878
|
12879
|
Q_INVOKABLE bool autoLogin();
|
12879
|
|
- QScriptEngine *engine;@/
|
|
12880
|
+ QScriptEngine *engine;
|
|
12881
|
+ QNetworkAccessManager *network;@/
|
12880
|
12882
|
@[public slots@]:@/
|
12881
|
12883
|
void setDatabaseConnected(bool status);
|
12882
|
12884
|
void setCurrentTypicaUser(const QString &user);
|
|
@@ -12897,6 +12899,7 @@ handled in |main()|.
|
12897
|
12899
|
Application::Application(int &argc, char **argv) : QApplication(argc, argv),
|
12898
|
12900
|
connectionStatus(false), currentUser(QString())@/
|
12899
|
12901
|
{
|
|
12902
|
+ network = new QNetworkAccessManager(this);
|
12900
|
12903
|
@<Allow use of the default QSettings constructor@>@;
|
12901
|
12904
|
@<Load translation objects@>@;
|
12902
|
12905
|
@<Register meta-types@>@;
|