|
|
@ -30,7 +30,6 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include <QDateTime> |
|
|
|
#include <QDateTime> |
|
|
|
#include <QHash> |
|
|
|
#include <QHash> |
|
|
|
#include <QMap> |
|
|
|
|
|
|
|
#include <QObject> |
|
|
|
#include <QObject> |
|
|
|
#include <QRegularExpression> |
|
|
|
#include <QRegularExpression> |
|
|
|
#include <QSet> |
|
|
|
#include <QSet> |
|
|
@ -120,7 +119,7 @@ private: |
|
|
|
bool validateHostHeader(const QStringList &domains) const; |
|
|
|
bool validateHostHeader(const QStringList &domains) const; |
|
|
|
|
|
|
|
|
|
|
|
// Persistent data
|
|
|
|
// Persistent data
|
|
|
|
QMap<QString, WebSession *> m_sessions; |
|
|
|
QHash<QString, WebSession *> m_sessions; |
|
|
|
|
|
|
|
|
|
|
|
// Current data
|
|
|
|
// Current data
|
|
|
|
WebSession *m_currentSession = nullptr; |
|
|
|
WebSession *m_currentSession = nullptr; |
|
|
@ -141,7 +140,7 @@ private: |
|
|
|
QByteArray data; |
|
|
|
QByteArray data; |
|
|
|
QDateTime lastModified; |
|
|
|
QDateTime lastModified; |
|
|
|
}; |
|
|
|
}; |
|
|
|
QMap<QString, TranslatedFile> m_translatedFiles; |
|
|
|
QHash<QString, TranslatedFile> m_translatedFiles; |
|
|
|
QString m_currentLocale; |
|
|
|
QString m_currentLocale; |
|
|
|
QTranslator m_translator; |
|
|
|
QTranslator m_translator; |
|
|
|
bool m_translationFileLoaded = false; |
|
|
|
bool m_translationFileLoaded = false; |
|
|
|