| | 79 | /** Emitted when the Tor process has stopped */ |
| | 80 | void stopped(int exitCode, QProcess::ExitStatus exitStatus); |
| | 81 | |
| | 82 | /** Emitted when the controller has connected to Tor */ |
| | 83 | void connected(); |
| | 84 | |
| | 85 | /** Emitted when the controller has disconnected from Tor */ |
| | 86 | void disconnected(); |
| | 87 | |
| | 88 | |
| | 89 | private: |
| | 90 | /** Instantiates a socket used to connect to Tor's control port */ |
| | 91 | ControlConnection _controlConn; |
| | 92 | /** Manages and monitors the Tor process */ |
| | 93 | TorProcess _torProcess; |
| | 94 | |
| | 95 | /* The slots below simply relay signals from the appropriate member objects */ |
| | 96 | private slots: |
| | 97 | void onStarted(); |
| | 98 | void onStopped(int exitCode, QProcess::ExitStatus exitStatus); |
| | 99 | void onConnected(); |
| | 100 | void onDisconnected(); |