ATLAS Offline Software
Loading...
Searching...
No Matches
VP1Authenticator.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5
7// //
8// Header file for class VP1Authenticator //
9// //
10// Description: ... //
11// //
13
14#ifndef VP1AUTHENTICATOR_H
15#define VP1AUTHENTICATOR_H
16
17#include "../src/ui_vp1authenticator.h"
18
19#include <QObject>
20#include <QDialog>
21#include <QNetworkReply>
22
23
24
25class QNetworkAccessManager;
26class QSslError;
27
28class VP1Authenticator : public QDialog, public Ui::dlgAuthentication
29{
30 Q_OBJECT
31
32public:
33
34 VP1Authenticator(QWidget*,const QString &);
35 virtual ~VP1Authenticator();
36
37 bool connectToServer();
38 QNetworkAccessManager* networkAccessManager();
39
40signals:
41 void authenticationSuccessful(QNetworkAccessManager*);
42
43private Q_SLOTS:
44 // ---- Https/SSL slots ----
45 // Slots of the QNetworkReply
46 void finished();
47 void error(QNetworkReply::NetworkError);
48
49#ifndef QT_NO_SSL
50 void sslErrors(const QList<QSslError>&);
51#endif
52
53 // GUI slots
54 void loginClicked();
55
56private:
57 class Imp;
58 Imp* m_d{};
59};
60
61#endif
62
QNetworkAccessManager * networkAccessManager()
VP1Authenticator(QWidget *, const QString &)
void authenticationSuccessful(QNetworkAccessManager *)
void sslErrors(const QList< QSslError > &)