ATLAS Offline Software
VP1Authenticator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 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 
25 class QNetworkAccessManager;
26 class QSslError;
27 
28 class VP1Authenticator : public QDialog, public Ui::dlgAuthentication
29 {
30  Q_OBJECT
31 
32 public:
33 
34  VP1Authenticator(QWidget*,QString);
35  virtual ~VP1Authenticator();
36 
37  bool connectToServer();
38  QNetworkAccessManager* networkAccessManager();
39 
40 signals:
41  void authenticationSuccessful(QNetworkAccessManager*);
42 
43 private 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 
56 private:
57  class Imp;
58  Imp* m_d;
59 };
60 
61 #endif
62 
VP1Authenticator::connectToServer
bool connectToServer()
Definition: VP1Authenticator.cxx:164
VP1Authenticator::VP1Authenticator
VP1Authenticator(QWidget *, QString)
Definition: VP1Authenticator.cxx:136
VP1Authenticator::Imp
Definition: VP1Authenticator.cxx:21
VP1Authenticator::networkAccessManager
QNetworkAccessManager * networkAccessManager()
Definition: VP1Authenticator.cxx:593
VP1Authenticator::loginClicked
void loginClicked()
Definition: VP1Authenticator.cxx:567
VP1Authenticator::finished
void finished()
Definition: VP1Authenticator.cxx:174
python.L1.Config.LegacyTopoMergerMap.signals
signals
Definition: LegacyTopoMergerMap.py:13
VP1Authenticator
Definition: VP1Authenticator.h:29
VP1Authenticator::sslErrors
void sslErrors(const QList< QSslError > &)
Definition: VP1Authenticator.cxx:553
VP1Authenticator::authenticationSuccessful
void authenticationSuccessful(QNetworkAccessManager *)
VP1Authenticator::~VP1Authenticator
virtual ~VP1Authenticator()
Definition: VP1Authenticator.cxx:157
VP1Authenticator::error
void error(QNetworkReply::NetworkError)
Definition: VP1Authenticator.cxx:543
VP1Authenticator::m_d
Imp * m_d
Definition: VP1Authenticator.h:57