Diffstat (limited to 'noncore/settings/aqpkg/settingsimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/settingsimpl.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/noncore/settings/aqpkg/settingsimpl.cpp b/noncore/settings/aqpkg/settingsimpl.cpp index 9dd2206..4bb928a 100644 --- a/noncore/settings/aqpkg/settingsimpl.cpp +++ b/noncore/settings/aqpkg/settingsimpl.cpp | |||
@@ -80,2 +80,3 @@ void SettingsImpl :: setupData() | |||
80 | 80 | ||
81 | // setup general tab | ||
81 | #ifdef QWS | 82 | #ifdef QWS |
@@ -87,2 +88,10 @@ void SettingsImpl :: setupData() | |||
87 | #endif | 88 | #endif |
89 | |||
90 | // setup proxy tab | ||
91 | txtHttpProxy->setText( dataMgr->getHttpProxy() ); | ||
92 | txtFtpProxy->setText( dataMgr->getFtpProxy() ); | ||
93 | txtUsername->setText( dataMgr->getProxyUsername() ); | ||
94 | txtPassword->setText( dataMgr->getProxyPassword() ); | ||
95 | chkHttpProxyEnabled->setChecked( dataMgr->getHttpProxyEnabled() ); | ||
96 | chkFtpProxyEnabled->setChecked( dataMgr->getFtpProxyEnabled() ); | ||
88 | } | 97 | } |
@@ -246 +255,13 @@ void SettingsImpl :: toggleJumpTo( bool val ) | |||
246 | 255 | ||
256 | //------------------ Proxy tab ---------------------- | ||
257 | void SettingsImpl :: proxyApplyChanges() | ||
258 | { | ||
259 | changed = true; | ||
260 | dataMgr->setHttpProxy( txtHttpProxy->text() ); | ||
261 | dataMgr->setFtpProxy( txtFtpProxy->text() ); | ||
262 | dataMgr->setProxyUsername( txtUsername->text() ); | ||
263 | dataMgr->setProxyPassword( txtPassword->text() ); | ||
264 | |||
265 | dataMgr->setHttpProxyEnabled( chkHttpProxyEnabled->isChecked() ); | ||
266 | dataMgr->setFtpProxyEnabled( chkFtpProxyEnabled->isChecked() ); | ||
267 | } | ||