AusweisApp2
NetworkReplyTimeout.h
gehe zur Dokumentation dieser Datei
1 
7 #pragma once
8 
9 #include "NetworkManager.h"
10 
11 #include <QNetworkReply>
12 #include <QTimer>
13 
14 namespace governikus
15 {
16 
18  : public QObject
19 {
20  Q_OBJECT
21 
22  private:
23  QTimer mTimer;
24 
25  NetworkReplyTimeout(QNetworkReply* pReply, const int pTimeout);
26 
27  private Q_SLOTS:
28  void onTimeout();
29  void onShutdown();
30 
31  public:
35  static void setTimeout(const NetworkManager* pManager, QNetworkReply* pReply, const int pTimeoutMilliSeconds);
36 };
37 
38 } // namespace governikus
Definition: NetworkManager.h:28
Definition: NetworkReplyTimeout.h:19
static void setTimeout(const NetworkManager *pManager, QNetworkReply *pReply, const int pTimeoutMilliSeconds)
Set the timeout in milli-seconds on the specified QNetworkReply.
Definition: NetworkReplyTimeout.cpp:44
Implementation of GeneralAuthenticate response APDUs.
Definition: CommandApdu.h:16