MythTV master
backendconnectionmanager.h
Go to the documentation of this file.
1#ifndef MYTHFRONTEND_BACKENDCONNECTIONMANAGER_H
2#define MYTHFRONTEND_BACKENDCONNECTIONMANAGER_H
3
4#include <QObject>
5
6class Reconnect;
7class QTimer;
8class QEvent;
9
10class BackendConnectionManager : public QObject
11{
12 Q_OBJECT
13
14 public:
17
18 void customEvent(QEvent *event) override; // QObject
19
20 protected slots:
21 void ReconnectToBackend(void);
22
23 protected:
25 QTimer *m_reconnectTimer {nullptr};
26 bool m_reconnectAgain {false};
27};
28
29#endif // MYTHFRONTEND_BACKENDCONNECTIONMANAGER_H
void customEvent(QEvent *event) override