// For license of this file, see /LICENSE.md. #ifndef NETWORKPROXYDETAILS_H #define NETWORKPROXYDETAILS_H #include #include "ui_networkproxydetails.h" #include class NetworkProxyDetails : public QWidget { Q_OBJECT public: explicit NetworkProxyDetails(QWidget* parent = nullptr); QNetworkProxy proxy() const; void setProxy(const QNetworkProxy& proxy); signals: void changed(); private slots: void displayProxyPassword(int state); void onProxyTypeChanged(int index); private: Ui::NetworkProxyDetails m_ui; }; #endif // NETWORKPROXYDETAILS_H