mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
organize includes
This commit is contained in:
parent
0ca0dbe7ad
commit
71d4693f03
15
.vscode/settings.json
vendored
15
.vscode/settings.json
vendored
@ -5,6 +5,19 @@
|
|||||||
"qregularexpressionmatch": "cpp",
|
"qregularexpressionmatch": "cpp",
|
||||||
"qdatetime": "cpp",
|
"qdatetime": "cpp",
|
||||||
"qprocess": "cpp",
|
"qprocess": "cpp",
|
||||||
"qobject": "cpp"
|
"qobject": "cpp",
|
||||||
|
"qstandardpaths": "cpp",
|
||||||
|
"qmainwindow": "cpp",
|
||||||
|
"qsystemtrayicon": "cpp",
|
||||||
|
"qpushbutton": "cpp",
|
||||||
|
"qmenu": "cpp",
|
||||||
|
"qjsondocument": "cpp",
|
||||||
|
"qnetworkaccessmanager": "cpp",
|
||||||
|
"qwebengineview": "cpp",
|
||||||
|
"qprocessenvironment": "cpp",
|
||||||
|
"qnetworkreply": "cpp",
|
||||||
|
"qicon": "cpp",
|
||||||
|
"qsslsocket": "cpp",
|
||||||
|
"qapplication": "cpp"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,8 +1,8 @@
|
|||||||
#include "cdpcommand.h"
|
#include <QtCore/QVariantMap>
|
||||||
|
#include <QtCore/QJsonDocument>
|
||||||
|
#include <QtCore/QJsonObject>
|
||||||
|
|
||||||
#include <QVariantMap>
|
#include "cdpcommand.h"
|
||||||
#include <QJsonDocument>
|
|
||||||
#include <QJsonObject>
|
|
||||||
|
|
||||||
CDPCommand::CDPCommand(QObject *parent) : QObject(parent)
|
CDPCommand::CDPCommand(QObject *parent) : QObject(parent)
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef CDPCOMMAND_H
|
#ifndef CDPCOMMAND_H
|
||||||
#define CDPCOMMAND_H
|
#define CDPCOMMAND_H
|
||||||
|
|
||||||
#include <QObject>
|
#include <QtCore/QObject>
|
||||||
|
|
||||||
class CDPCommand : public QObject
|
class CDPCommand : public QObject
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
#include "cdpcommandmanager.h"
|
#include <QtCore/QVariantMap>
|
||||||
#include <QVariantMap>
|
|
||||||
#include <plog/Log.h>
|
#include <plog/Log.h>
|
||||||
|
|
||||||
|
#include "cdpcommandmanager.h"
|
||||||
|
|
||||||
CDPCommandManager::CDPCommandManager(QObject *parent)
|
CDPCommandManager::CDPCommandManager(QObject *parent)
|
||||||
: QObject(parent)
|
: QObject(parent)
|
||||||
, networkManager(new QNetworkAccessManager)
|
, networkManager(new QNetworkAccessManager)
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
#ifndef CDPCOMMANDMANAGER_H
|
#ifndef CDPCOMMANDMANAGER_H
|
||||||
#define CDPCOMMANDMANAGER_H
|
#define CDPCOMMANDMANAGER_H
|
||||||
|
|
||||||
|
#include <QtCore/QObject>
|
||||||
|
#include <QtCore/QHash>
|
||||||
|
#include <QtWebSockets/QtWebSockets>
|
||||||
|
#include <QtNetwork/QNetworkAccessManager>
|
||||||
|
|
||||||
#include "cdpcommand.h"
|
#include "cdpcommand.h"
|
||||||
#include <QObject>
|
|
||||||
#include <QHash>
|
|
||||||
#include <QtWebSockets>
|
|
||||||
#include <QNetworkAccessManager>
|
|
||||||
|
|
||||||
class CDPCommandManager : public QObject
|
class CDPCommandManager : public QObject
|
||||||
{
|
{
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
|
#include <QtCore/QProcessEnvironment>
|
||||||
|
#include <QtWebEngineWidgets/QWebEngineView>
|
||||||
|
|
||||||
#include "enhancedwebview.h"
|
#include "enhancedwebview.h"
|
||||||
#include "cdpcommandmanager.h"
|
#include "cdpcommandmanager.h"
|
||||||
|
|
||||||
#include <QtWebEngineWidgets/QWebEngineView>
|
|
||||||
#include <QProcessEnvironment>
|
|
||||||
|
|
||||||
EnhancedWebView::EnhancedWebView(QWidget *parent)
|
EnhancedWebView::EnhancedWebView(QWidget *parent)
|
||||||
: QWebEngineView(parent)
|
: QWebEngineView(parent)
|
||||||
, cdp(new CDPCommandManager)
|
, cdp(new CDPCommandManager)
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
#ifndef ENHANCEDWEBVIEW_H
|
#ifndef ENHANCEDWEBVIEW_H
|
||||||
#define ENHANCEDWEBVIEW_H
|
#define ENHANCEDWEBVIEW_H
|
||||||
|
|
||||||
#include "cdpcommandmanager.h"
|
|
||||||
#include <QtWebEngineWidgets/QWebEngineView>
|
#include <QtWebEngineWidgets/QWebEngineView>
|
||||||
|
|
||||||
|
#include "cdpcommandmanager.h"
|
||||||
|
|
||||||
#define ENV_CDP_PORT "QTWEBENGINE_REMOTE_DEBUGGING"
|
#define ENV_CDP_PORT "QTWEBENGINE_REMOTE_DEBUGGING"
|
||||||
|
|
||||||
class EnhancedWebView : public QWebEngineView
|
class EnhancedWebView : public QWebEngineView
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
|
#include <QtNetwork/QNetworkReply>
|
||||||
|
#include <plog/Log.h>
|
||||||
|
|
||||||
#include "gatewayauthenticator.h"
|
#include "gatewayauthenticator.h"
|
||||||
#include "gphelper.h"
|
#include "gphelper.h"
|
||||||
#include "loginparams.h"
|
#include "loginparams.h"
|
||||||
#include "preloginresponse.h"
|
#include "preloginresponse.h"
|
||||||
|
|
||||||
#include <QNetworkReply>
|
|
||||||
#include <plog/Log.h>
|
|
||||||
|
|
||||||
using namespace gpclient::helper;
|
using namespace gpclient::helper;
|
||||||
|
|
||||||
GatewayAuthenticator::GatewayAuthenticator(const QString& gateway, const GatewayAuthenticatorParams params)
|
GatewayAuthenticator::GatewayAuthenticator(const QString& gateway, const GatewayAuthenticatorParams params)
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
#ifndef GATEWAYAUTHENTICATOR_H
|
#ifndef GATEWAYAUTHENTICATOR_H
|
||||||
#define GATEWAYAUTHENTICATOR_H
|
#define GATEWAYAUTHENTICATOR_H
|
||||||
|
|
||||||
|
#include <QtCore/QObject>
|
||||||
|
|
||||||
#include "normalloginwindow.h"
|
#include "normalloginwindow.h"
|
||||||
#include "loginparams.h"
|
#include "loginparams.h"
|
||||||
#include "gatewayauthenticatorparams.h"
|
#include "gatewayauthenticatorparams.h"
|
||||||
#include <QObject>
|
|
||||||
|
|
||||||
class GatewayAuthenticator : public QObject
|
class GatewayAuthenticator : public QObject
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
#ifndef GATEWAYAUTHENTICATORPARAMS_H
|
#ifndef GATEWAYAUTHENTICATORPARAMS_H
|
||||||
#define GATEWAYAUTHENTICATORPARAMS_H
|
#define GATEWAYAUTHENTICATORPARAMS_H
|
||||||
|
|
||||||
#include <QString>
|
#include <QtCore/QString>
|
||||||
|
|
||||||
#include "portalconfigresponse.h"
|
#include "portalconfigresponse.h"
|
||||||
|
|
||||||
class GatewayAuthenticatorParams
|
class GatewayAuthenticatorParams
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
#include <QtGui/QIcon>
|
||||||
|
#include <plog/Log.h>
|
||||||
|
|
||||||
#include "gpclient.h"
|
#include "gpclient.h"
|
||||||
#include "gphelper.h"
|
#include "gphelper.h"
|
||||||
#include "ui_gpclient.h"
|
#include "ui_gpclient.h"
|
||||||
@ -6,9 +9,6 @@
|
|||||||
#include "settingsdialog.h"
|
#include "settingsdialog.h"
|
||||||
#include "gatewayauthenticatorparams.h"
|
#include "gatewayauthenticatorparams.h"
|
||||||
|
|
||||||
#include <plog/Log.h>
|
|
||||||
#include <QIcon>
|
|
||||||
|
|
||||||
using namespace gpclient::helper;
|
using namespace gpclient::helper;
|
||||||
|
|
||||||
GPClient::GPClient(QWidget *parent)
|
GPClient::GPClient(QWidget *parent)
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
#ifndef GPCLIENT_H
|
#ifndef GPCLIENT_H
|
||||||
#define GPCLIENT_H
|
#define GPCLIENT_H
|
||||||
|
|
||||||
|
#include <QtWidgets/QMainWindow>
|
||||||
|
#include <QtWidgets/QSystemTrayIcon>
|
||||||
|
#include <QtWidgets/QMenu>
|
||||||
|
#include <QtWidgets/QPushButton>
|
||||||
|
|
||||||
#include "gpserviceinterface.h"
|
#include "gpserviceinterface.h"
|
||||||
#include "portalconfigresponse.h"
|
#include "portalconfigresponse.h"
|
||||||
#include "settingsdialog.h"
|
#include "settingsdialog.h"
|
||||||
|
|
||||||
#include <QMainWindow>
|
|
||||||
#include <QSystemTrayIcon>
|
|
||||||
#include <QMenu>
|
|
||||||
#include <QPushButton>
|
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
namespace Ui { class GPClient; }
|
namespace Ui { class GPClient; }
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#include "gpgateway.h"
|
#include <QtCore/QJsonObject>
|
||||||
|
#include <QtCore/QJsonDocument>
|
||||||
|
#include <QtCore/QJsonArray>
|
||||||
|
|
||||||
#include <QJsonObject>
|
#include "gpgateway.h"
|
||||||
#include <QJsonDocument>
|
|
||||||
#include <QJsonArray>
|
|
||||||
|
|
||||||
GPGateway::GPGateway()
|
GPGateway::GPGateway()
|
||||||
{
|
{
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#ifndef GPGATEWAY_H
|
#ifndef GPGATEWAY_H
|
||||||
#define GPGATEWAY_H
|
#define GPGATEWAY_H
|
||||||
|
|
||||||
#include <QString>
|
#include <QtCore/QString>
|
||||||
#include <QMap>
|
#include <QtCore/QMap>
|
||||||
#include <QJsonObject>
|
#include <QtCore/QJsonObject>
|
||||||
|
|
||||||
class GPGateway
|
class GPGateway
|
||||||
{
|
{
|
||||||
|
@ -1,14 +1,15 @@
|
|||||||
#include "gphelper.h"
|
#include <QtCore/QXmlStreamReader>
|
||||||
#include <QNetworkRequest>
|
#include <QtWidgets/QMessageBox>
|
||||||
#include <QXmlStreamReader>
|
#include <QtWidgets/QDesktopWidget>
|
||||||
#include <QMessageBox>
|
#include <QtWidgets/QApplication>
|
||||||
#include <QDesktopWidget>
|
#include <QtWidgets/QWidget>
|
||||||
#include <QApplication>
|
#include <QtNetwork/QNetworkRequest>
|
||||||
#include <QWidget>
|
#include <QtNetwork/QSslConfiguration>
|
||||||
#include <QSslConfiguration>
|
#include <QtNetwork/QSslSocket>
|
||||||
#include <QSslSocket>
|
|
||||||
#include <plog/Log.h>
|
#include <plog/Log.h>
|
||||||
|
|
||||||
|
#include "gphelper.h"
|
||||||
|
|
||||||
QNetworkAccessManager* gpclient::helper::networkManager = new QNetworkAccessManager;
|
QNetworkAccessManager* gpclient::helper::networkManager = new QNetworkAccessManager;
|
||||||
|
|
||||||
QNetworkReply* gpclient::helper::createRequest(QString url, QByteArray params)
|
QNetworkReply* gpclient::helper::createRequest(QString url, QByteArray params)
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
#ifndef GPHELPER_H
|
#ifndef GPHELPER_H
|
||||||
#define GPHELPER_H
|
#define GPHELPER_H
|
||||||
|
|
||||||
|
#include <QtCore/QObject>
|
||||||
|
#include <QtCore/QUrlQuery>
|
||||||
|
#include <QtCore/QSettings>
|
||||||
|
#include <QtNetwork/QNetworkAccessManager>
|
||||||
|
#include <QtNetwork/QNetworkRequest>
|
||||||
|
#include <QtNetwork/QNetworkReply>
|
||||||
|
|
||||||
#include "samlloginwindow.h"
|
#include "samlloginwindow.h"
|
||||||
#include "gpgateway.h"
|
#include "gpgateway.h"
|
||||||
|
|
||||||
#include <QObject>
|
|
||||||
#include <QNetworkAccessManager>
|
|
||||||
#include <QNetworkRequest>
|
|
||||||
#include <QNetworkReply>
|
|
||||||
#include <QUrlQuery>
|
|
||||||
#include <QSettings>
|
|
||||||
|
|
||||||
|
|
||||||
const QString UA = "PAN GlobalProtect";
|
const QString UA = "PAN GlobalProtect";
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "loginparams.h"
|
#include <QtCore/QUrlQuery>
|
||||||
|
|
||||||
#include <QUrlQuery>
|
#include "loginparams.h"
|
||||||
|
|
||||||
LoginParams::LoginParams(const QString clientos)
|
LoginParams::LoginParams(const QString clientos)
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef LOGINPARAMS_H
|
#ifndef LOGINPARAMS_H
|
||||||
#define LOGINPARAMS_H
|
#define LOGINPARAMS_H
|
||||||
|
|
||||||
#include <QUrlQuery>
|
#include <QtCore/QUrlQuery>
|
||||||
|
|
||||||
class LoginParams
|
class LoginParams
|
||||||
{
|
{
|
||||||
|
@ -1,12 +1,14 @@
|
|||||||
#include "singleapplication.h"
|
#include <QtCore/QObject>
|
||||||
#include "gpclient.h"
|
#include <QtCore/QString>
|
||||||
#include "enhancedwebview.h"
|
#include <QtCore/QDir>
|
||||||
|
#include <QtCore/QStandardPaths>
|
||||||
#include <QStandardPaths>
|
|
||||||
#include <plog/Log.h>
|
#include <plog/Log.h>
|
||||||
#include <plog/Appenders/ColorConsoleAppender.h>
|
#include <plog/Appenders/ColorConsoleAppender.h>
|
||||||
|
|
||||||
static const QString version = "v1.3.3";
|
#include "singleapplication.h"
|
||||||
|
#include "gpclient.h"
|
||||||
|
#include "enhancedwebview.h"
|
||||||
|
#include "version.h"
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
@ -19,7 +21,7 @@ int main(int argc, char *argv[])
|
|||||||
static plog::ColorConsoleAppender<plog::TxtFormatter> consoleAppender;
|
static plog::ColorConsoleAppender<plog::TxtFormatter> consoleAppender;
|
||||||
plog::init(plog::debug, logFile.toUtf8()).addAppender(&consoleAppender);
|
plog::init(plog::debug, logFile.toUtf8()).addAppender(&consoleAppender);
|
||||||
|
|
||||||
PLOGI << "GlobalProtect started, version: " << version;
|
PLOGI << "GlobalProtect started, version: " << VERSION;
|
||||||
|
|
||||||
QString port = QString::fromLocal8Bit(qgetenv(ENV_CDP_PORT));
|
QString port = QString::fromLocal8Bit(qgetenv(ENV_CDP_PORT));
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
|
#include <QtGui/QCloseEvent>
|
||||||
|
|
||||||
#include "normalloginwindow.h"
|
#include "normalloginwindow.h"
|
||||||
#include "ui_normalloginwindow.h"
|
#include "ui_normalloginwindow.h"
|
||||||
|
|
||||||
#include <QCloseEvent>
|
|
||||||
|
|
||||||
NormalLoginWindow::NormalLoginWindow(QWidget *parent) :
|
NormalLoginWindow::NormalLoginWindow(QWidget *parent) :
|
||||||
QDialog(parent),
|
QDialog(parent),
|
||||||
ui(new Ui::NormalLoginWindow)
|
ui(new Ui::NormalLoginWindow)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef PORTALAUTHWINDOW_H
|
#ifndef PORTALAUTHWINDOW_H
|
||||||
#define PORTALAUTHWINDOW_H
|
#define PORTALAUTHWINDOW_H
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QtWidgets/QDialog>
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class NormalLoginWindow;
|
class NormalLoginWindow;
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
#include <QtNetwork/QNetworkReply>
|
||||||
|
#include <plog/Log.h>
|
||||||
|
|
||||||
#include "portalauthenticator.h"
|
#include "portalauthenticator.h"
|
||||||
#include "gphelper.h"
|
#include "gphelper.h"
|
||||||
#include "normalloginwindow.h"
|
#include "normalloginwindow.h"
|
||||||
@ -7,9 +10,6 @@
|
|||||||
#include "portalconfigresponse.h"
|
#include "portalconfigresponse.h"
|
||||||
#include "gpgateway.h"
|
#include "gpgateway.h"
|
||||||
|
|
||||||
#include <plog/Log.h>
|
|
||||||
#include <QNetworkReply>
|
|
||||||
|
|
||||||
using namespace gpclient::helper;
|
using namespace gpclient::helper;
|
||||||
|
|
||||||
PortalAuthenticator::PortalAuthenticator(const QString& portal, const QString& clientos) : QObject()
|
PortalAuthenticator::PortalAuthenticator(const QString& portal, const QString& clientos) : QObject()
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
#ifndef PORTALAUTHENTICATOR_H
|
#ifndef PORTALAUTHENTICATOR_H
|
||||||
#define PORTALAUTHENTICATOR_H
|
#define PORTALAUTHENTICATOR_H
|
||||||
|
|
||||||
|
#include <QtCore/QObject>
|
||||||
|
|
||||||
#include "portalconfigresponse.h"
|
#include "portalconfigresponse.h"
|
||||||
#include "normalloginwindow.h"
|
#include "normalloginwindow.h"
|
||||||
#include "samlloginwindow.h"
|
#include "samlloginwindow.h"
|
||||||
#include "preloginresponse.h"
|
#include "preloginresponse.h"
|
||||||
|
|
||||||
#include <QObject>
|
|
||||||
|
|
||||||
class PortalAuthenticator : public QObject
|
class PortalAuthenticator : public QObject
|
||||||
{
|
{
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#include "portalconfigresponse.h"
|
#include <QtCore/QXmlStreamReader>
|
||||||
|
|
||||||
#include <QXmlStreamReader>
|
|
||||||
#include <plog/Log.h>
|
#include <plog/Log.h>
|
||||||
|
|
||||||
|
#include "portalconfigresponse.h"
|
||||||
|
|
||||||
QString PortalConfigResponse::xmlUserAuthCookie = "portal-userauthcookie";
|
QString PortalConfigResponse::xmlUserAuthCookie = "portal-userauthcookie";
|
||||||
QString PortalConfigResponse::xmlPrelogonUserAuthCookie = "portal-prelogonuserauthcookie";
|
QString PortalConfigResponse::xmlPrelogonUserAuthCookie = "portal-prelogonuserauthcookie";
|
||||||
QString PortalConfigResponse::xmlGateways = "gateways";
|
QString PortalConfigResponse::xmlGateways = "gateways";
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
#ifndef PORTALCONFIGRESPONSE_H
|
#ifndef PORTALCONFIGRESPONSE_H
|
||||||
#define PORTALCONFIGRESPONSE_H
|
#define PORTALCONFIGRESPONSE_H
|
||||||
|
|
||||||
#include "gpgateway.h"
|
#include <QtCore/QString>
|
||||||
|
#include <QtCore/QList>
|
||||||
|
#include <QtCore/QXmlStreamReader>
|
||||||
|
|
||||||
#include <QString>
|
#include "gpgateway.h"
|
||||||
#include <QList>
|
|
||||||
#include <QXmlStreamReader>
|
|
||||||
|
|
||||||
class PortalConfigResponse
|
class PortalConfigResponse
|
||||||
{
|
{
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#include "preloginresponse.h"
|
#include <QtCore/QXmlStreamReader>
|
||||||
|
#include <QtCore/QMap>
|
||||||
#include <QXmlStreamReader>
|
|
||||||
#include <QMap>
|
|
||||||
#include <plog/Log.h>
|
#include <plog/Log.h>
|
||||||
|
|
||||||
|
#include "preloginresponse.h"
|
||||||
|
|
||||||
QString PreloginResponse::xmlAuthMessage = "authentication-message";
|
QString PreloginResponse::xmlAuthMessage = "authentication-message";
|
||||||
QString PreloginResponse::xmlLabelUsername = "username-label";
|
QString PreloginResponse::xmlLabelUsername = "username-label";
|
||||||
QString PreloginResponse::xmlLabelPassword = "password-label";
|
QString PreloginResponse::xmlLabelPassword = "password-label";
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#ifndef PRELOGINRESPONSE_H
|
#ifndef PRELOGINRESPONSE_H
|
||||||
#define PRELOGINRESPONSE_H
|
#define PRELOGINRESPONSE_H
|
||||||
|
|
||||||
#include <QString>
|
#include <QtCore/QString>
|
||||||
#include <QMap>
|
#include <QtCore/QMap>
|
||||||
|
|
||||||
class PreloginResponse
|
class PreloginResponse
|
||||||
{
|
{
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#include "samlloginwindow.h"
|
#include <QtWidgets/QVBoxLayout>
|
||||||
|
#include <QtWebEngineWidgets/QWebEngineProfile>
|
||||||
#include <QVBoxLayout>
|
#include <QtWebEngineWidgets/QWebEngineView>
|
||||||
#include <plog/Log.h>
|
#include <plog/Log.h>
|
||||||
#include <QWebEngineProfile>
|
|
||||||
#include <QWebEngineView>
|
#include "samlloginwindow.h"
|
||||||
|
|
||||||
SAMLLoginWindow::SAMLLoginWindow(QWidget *parent)
|
SAMLLoginWindow::SAMLLoginWindow(QWidget *parent)
|
||||||
: QDialog(parent)
|
: QDialog(parent)
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
#ifndef SAMLLOGINWINDOW_H
|
#ifndef SAMLLOGINWINDOW_H
|
||||||
#define SAMLLOGINWINDOW_H
|
#define SAMLLOGINWINDOW_H
|
||||||
|
|
||||||
#include "enhancedwebview.h"
|
#include <QtCore/QMap>
|
||||||
|
#include <QtGui/QCloseEvent>
|
||||||
|
#include <QtWidgets/QDialog>
|
||||||
|
|
||||||
#include <QDialog>
|
#include "enhancedwebview.h"
|
||||||
#include <QMap>
|
|
||||||
#include <QCloseEvent>
|
|
||||||
|
|
||||||
class SAMLLoginWindow : public QDialog
|
class SAMLLoginWindow : public QDialog
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef SETTINGSDIALOG_H
|
#ifndef SETTINGSDIALOG_H
|
||||||
#define SETTINGSDIALOG_H
|
#define SETTINGSDIALOG_H
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QtWidgets/QDialog>
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class SettingsDialog;
|
class SettingsDialog;
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
#include "gpservice.h"
|
|
||||||
#include "gpserviceadaptor.h"
|
|
||||||
|
|
||||||
#include <QtCore/QFileInfo>
|
#include <QtCore/QFileInfo>
|
||||||
#include <QtDBus/QtDBus>
|
|
||||||
#include <QtCore/QDateTime>
|
#include <QtCore/QDateTime>
|
||||||
#include <QtCore/QVariant>
|
#include <QtCore/QVariant>
|
||||||
#include <QtCore/QRegularExpression>
|
#include <QtCore/QRegularExpression>
|
||||||
#include <QtCore/QRegularExpressionMatch>
|
#include <QtCore/QRegularExpressionMatch>
|
||||||
|
#include <QtDBus/QtDBus>
|
||||||
|
|
||||||
|
#include "gpservice.h"
|
||||||
|
#include "gpserviceadaptor.h"
|
||||||
|
|
||||||
GPService::GPService(QObject *parent)
|
GPService::GPService(QObject *parent)
|
||||||
: QObject(parent)
|
: QObject(parent)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#include <QtDBus>
|
#include <QtDBus/QtDBus>
|
||||||
|
|
||||||
#include "gpservice.h"
|
#include "gpservice.h"
|
||||||
#include "singleapplication.h"
|
#include "singleapplication.h"
|
||||||
#include "sigwatch.h"
|
#include "sigwatch.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user