Refactor network device management and SSH terminal integration

- Removed the old NetworkDeviceManager class and replaced it with a new NetworkDeviceProvider class to streamline network device handling.
- Updated various widgets (NetworkDevicesToConnectWidget, NetworkDevicesWidget, SSHTerminalTool) to utilize the new NetworkDeviceProvider for device management.
- Introduced a new SSHTerminalTool class to manage SSH connections, replacing the OpenSSHTerminalWidget.
- Enhanced device selection UI to support both wired and wireless devices, including manual IP connection options.
- Improved signal-slot connections for device addition and removal events.
- Cleaned up unnecessary includes and code related to the old SSH terminal widget.
- Added checks for device jailbreak status during SSH connection attempts.
This commit is contained in:
uncor3
2026-03-20 20:25:24 +03:00
parent 61b049d8dc
commit 1023777642
19 changed files with 617 additions and 602 deletions
+1 -12
View File
@@ -21,12 +21,7 @@
#define NETWORKDEVICESTOCONNECTWIDGET_H
#include "iDescriptor-ui.h"
#ifdef __linux__
#include "core/services/avahi/avahi_service.h"
#else
#include "core/services/dnssd/dnssd_service.h"
#endif
#include "networkdeviceprovider.h"
#include <QGroupBox>
#include <QLabel>
@@ -81,12 +76,6 @@ private:
QVBoxLayout *m_deviceLayout = nullptr;
QLabel *m_statusLabel = nullptr;
#ifdef __linux__
AvahiService *m_networkProvider = nullptr;
#else
DnssdService *m_networkProvider = nullptr;
#endif
QMap<QString, NetworkDeviceCard *> m_deviceCards;
};