mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
website in tor network container improved
Sponsored by "Теплица социальных технологий", 2021 В рамках работы над задачами по хакатону 2021
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
#include "PageProtocolLogicBase.h"
|
||||
|
||||
#include <QProcess>
|
||||
|
||||
class UiLogic;
|
||||
|
||||
class OtherProtocolsLogic : public PageProtocolLogicBase
|
||||
@@ -12,13 +14,18 @@ class OtherProtocolsLogic : public PageProtocolLogicBase
|
||||
AUTO_PROPERTY(QString, labelTftpUserNameText)
|
||||
AUTO_PROPERTY(QString, labelTftpPasswordText)
|
||||
AUTO_PROPERTY(QString, labelTftpPortText)
|
||||
AUTO_PROPERTY(bool, pushButtonSftpMountEnabled)
|
||||
AUTO_PROPERTY(bool, checkBoxSftpRestoreChecked)
|
||||
|
||||
AUTO_PROPERTY(QString, labelTorWebSiteAddressText)
|
||||
|
||||
|
||||
public:
|
||||
Q_INVOKABLE void onPushButtonProtoShadowSocksSaveClicked();
|
||||
|
||||
Q_INVOKABLE void onPushButtonSftpMountDriveClicked();
|
||||
Q_INVOKABLE void checkBoxSftpRestoreClicked();
|
||||
public:
|
||||
explicit OtherProtocolsLogic(UiLogic *uiLogic, QObject *parent = nullptr);
|
||||
~OtherProtocolsLogic() = default;
|
||||
~OtherProtocolsLogic();
|
||||
|
||||
void updateProtocolPage(const QJsonObject &config, DockerContainer container, bool haveAuthData) override;
|
||||
//QJsonObject getProtocolConfigFromPage(QJsonObject oldConfig) override;
|
||||
@@ -27,5 +34,7 @@ private:
|
||||
Settings m_settings;
|
||||
UiLogic *m_uiLogic;
|
||||
|
||||
QList <QProcess *> m_sftpMpuntProcesses;
|
||||
|
||||
};
|
||||
#endif // OTHER_PROTOCOLS_LOGIC_H
|
||||
|
||||
Reference in New Issue
Block a user