2020-10-07 10:36:04 +00:00
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2024-01-01 17:07:58 +00:00
|
|
|
// SPDX-FileCopyrightText: 2020-2024 The Monero Project
|
2020-10-07 10:36:04 +00:00
|
|
|
|
|
|
|
#ifndef FEATHER_TORINFODIALOG_H
|
|
|
|
#define FEATHER_TORINFODIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class TorInfoDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class TorInfoDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2023-02-11 17:11:21 +00:00
|
|
|
explicit TorInfoDialog(QWidget *parent = nullptr);
|
2020-10-07 10:36:04 +00:00
|
|
|
~TorInfoDialog() override;
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void onLogsUpdated();
|
|
|
|
|
2021-05-02 18:22:38 +00:00
|
|
|
private slots:
|
|
|
|
void onConnectionStatusChanged(bool connected);
|
2023-02-11 17:11:21 +00:00
|
|
|
void onStatusChanged(const QString &msg = "");
|
2021-05-02 18:22:38 +00:00
|
|
|
|
2020-10-07 10:36:04 +00:00
|
|
|
private:
|
2021-06-27 12:13:05 +00:00
|
|
|
QScopedPointer<Ui::TorInfoDialog> ui;
|
2020-10-07 10:36:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif //FEATHER_TORINFODIALOG_H
|