/* * Copyright (c) 2012 Remko Tronçon * Licensed under the GNU General Public License v3. * See Documentation/Licenses/GPLv3.txt for more information. */ #pragma once #include #include "ui_QtConnectionSettings.h" #include namespace Swift { class QtConnectionSettingsWindow : public QDialog { Q_OBJECT public: QtConnectionSettingsWindow(const ClientOptions& options); ClientOptions getOptions(); private slots: void handleProxyTypeChanged(int); void handleAcceptRequested(); private: enum { NoProxy = 0, SystemProxy = 1, SOCKS5Proxy = 2, HTTPProxy = 3 }; Ui::QtConnectionSettings ui; }; }