From d86f77ad00466a00b2246496106689117efeeb0e Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Fri, 29 Mar 2024 10:01:27 +0200 Subject: [PATCH] kcontrol: adjust kio KCM to kdelibs changes for proxy settings there can be KCM that sets klauncher variables for proxy preferences, has yet to be decided tho Signed-off-by: Ivailo Monev --- kcontrol/kio/CMakeLists.txt | 3 - kcontrol/kio/kproxydlg.cpp | 506 ------------------- kcontrol/kio/kproxydlg.h | 61 --- kcontrol/kio/kproxydlg.ui | 867 --------------------------------- kcontrol/kio/ksaveioconfig.cpp | 42 -- kcontrol/kio/ksaveioconfig.h | 14 - kcontrol/kio/main.cpp | 2 - kcontrol/kio/netpref.cpp | 11 +- kcontrol/kio/netpref.h | 1 - kcontrol/kio/proxy.desktop | 248 ---------- 10 files changed, 1 insertion(+), 1754 deletions(-) delete mode 100644 kcontrol/kio/kproxydlg.cpp delete mode 100644 kcontrol/kio/kproxydlg.h delete mode 100644 kcontrol/kio/kproxydlg.ui delete mode 100644 kcontrol/kio/proxy.desktop diff --git a/kcontrol/kio/CMakeLists.txt b/kcontrol/kio/CMakeLists.txt index c27ca60c..0a6804e6 100644 --- a/kcontrol/kio/CMakeLists.txt +++ b/kcontrol/kio/CMakeLists.txt @@ -2,7 +2,6 @@ set(kcm_kio_PART_SRCS main.cpp - kproxydlg.cpp netpref.cpp bookmarks.cpp ksaveioconfig.cpp @@ -10,7 +9,6 @@ set(kcm_kio_PART_SRCS set_source_files_properties( ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp - ${CMAKE_CURRENT_SOURCE_DIR}/kproxydlg.cpp ${CMAKE_CURRENT_SOURCE_DIR}/netpref.cpp ${CMAKE_CURRENT_SOURCE_DIR}/bookmarks.cpp ${CMAKE_CURRENT_SOURCE_DIR}/ksaveioconfig.cpp @@ -35,6 +33,5 @@ install( FILES bookmarks.desktop netpref.desktop - proxy.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR} ) diff --git a/kcontrol/kio/kproxydlg.cpp b/kcontrol/kio/kproxydlg.cpp deleted file mode 100644 index e462cd31..00000000 --- a/kcontrol/kio/kproxydlg.cpp +++ /dev/null @@ -1,506 +0,0 @@ -/* - kproxydlg.cpp - Proxy configuration dialog - - Copyright (C) 2001, 2011 Dawit Alemayehu - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public - License (GPL) version 2 as published by the Free Software - Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -// Own -#include "kproxydlg.h" - -// Local -#include "ksaveioconfig.h" - -// KDE -#include -#include -#include -#include -#include - -// Qt -#include -#include -#include -#include - - -#define QL1C(x) QLatin1Char(x) -#define QL1S(x) QLatin1String(x) - -#define ENV_HTTP_PROXY QL1S("HTTP_PROXY,http_proxy,HTTPPROXY,httpproxy,PROXY,proxy") -#define ENV_HTTPS_PROXY QL1S("HTTPS_PROXY,https_proxy,HTTPSPROXY,httpsproxy,PROXY,proxy") -#define ENV_FTP_PROXY QL1S("FTP_PROXY,ftp_proxy,FTPPROXY,ftpproxy,PROXY,proxy") -#define ENV_SOCKS_PROXY QL1S("SOCKS_PROXY,socks_proxy,SOCKSPROXY,socksproxy,PROXY,proxy") -#define ENV_NO_PROXY QL1S("NO_PROXY,no_proxy") - -K_PLUGIN_FACTORY_DECLARATION (KioConfigFactory) - - -class InputValidator : public QValidator -{ -public: - QValidator::State validate(QString& input, int& pos) const - { - if (input.isEmpty()) - return QValidator::Acceptable; - - const QChar ch = input.at((pos > 0 ? pos - 1 : pos)); - if (ch.isSpace()) - return QValidator::Invalid; - - return QValidator::Acceptable; - } -}; - - -static QString manualProxyToText(const QLineEdit* edit, const QSpinBox* spinBox, const QChar& separator) -{ - QString value; - - value = edit->text(); - value += separator; - value += QString::number(spinBox->value()); - - return value; -} - -static void setManualProxyFromText(const QString& value, QLineEdit* edit, QSpinBox* spinBox) -{ - if (value.isEmpty()) - return; - - const QStringList values = value.split(QL1S(" ")); - edit->setText(values.at(0)); - bool ok = false; - const int num = values.at(1).toInt(&ok); - if (ok) { - spinBox->setValue(num); - } -} - -static void showSystemProxyUrl(QLineEdit* edit, QString* value) -{ - Q_ASSERT(edit); - Q_ASSERT(value); - - *value = edit->text(); - edit->setEnabled(false); - const QByteArray envVar(edit->text().toUtf8()); - edit->setText(QString::fromUtf8(qgetenv(envVar.constData()))); -} - -static QString proxyUrlFromInput(const QLineEdit* edit, const QSpinBox* spinBox) -{ - Q_ASSERT(edit); - Q_ASSERT(spinBox); - - QString proxyStr; - - if (edit->text().isEmpty()) - return proxyStr; - - KUriFilterData data; - data.setData(edit->text()); - data.setCheckForExecutables(false); - - if (KUriFilter::self()->filterUri(data, QStringList() << QL1S("kshorturifilter"))) { - KUrl url = data.uri(); - const int portNum = (spinBox->value() > 0 ? spinBox->value() : url.port()); - url.setPort(-1); - - proxyStr = url.url(); - proxyStr += QL1C(' '); - if (portNum > -1) { - proxyStr += QString::number(portNum); - } - } else { - proxyStr = edit->text(); - if (spinBox->value() > 0) { - proxyStr += QL1C(' '); - proxyStr += QString::number(spinBox->value()); - } - } - - return proxyStr; -} - -static void setProxyInformation(const QString& value, - int proxyType, - QLineEdit* manEdit, - QLineEdit* sysEdit, - QSpinBox* spinBox) -{ - const bool isSysProxy = (!value.contains(QL1C(' ')) && - !value.contains(QL1C('.')) && - !value.contains(QL1C(',')) && - !value.contains(QL1C(':'))); - - if (proxyType == KProtocolManager::EnvVarProxy || isSysProxy) { - sysEdit->setText(value); - return; - } - - if (spinBox) { - QString urlStr; - int portNum = -1; - int index = value.lastIndexOf(QL1C(' ')); - if (index == -1) - index = value.lastIndexOf(QL1C(':')); - - if (index > 0) { - bool ok = false; - portNum = value.mid(index+1).toInt(&ok); - if (!ok) { - portNum = -1; - } - urlStr = value.left(index).trimmed(); - } else { - urlStr = value.trimmed(); - } - - KUriFilterData data; - data.setData(urlStr); - data.setCheckForExecutables(false); - - if (KUriFilter::self()->filterUri(data, QStringList() << QL1S("kshorturifilter"))) { - KUrl url (data.uri()); - if (portNum == -1 && url.port() > -1) { - portNum = url.port(); - } - - url.setPort(-1); - url.setUserName(QString()); - url.setPassword(QString()); - url.setPath(QString()); - - manEdit->setText(url.url()); - } else { - manEdit->setText(urlStr); - } - - if (spinBox && portNum > -1) { - spinBox->setValue(portNum); - } - return; - } - - manEdit->setText(value); // Manual proxy exception... -} - -KProxyDialog::KProxyDialog(QWidget* parent, const QVariantList& args) - : KCModule(KioConfigFactory::componentData(), parent) -{ - Q_UNUSED(args); - mUi.setupUi(this); - - mUi.systemProxyGroupBox->setVisible(false); - mUi.manualProxyGroupBox->setVisible(false); - mUi.autoDetectButton->setVisible(false); - - InputValidator* v = new InputValidator; - mUi.manualProxyHttpEdit->setValidator(v); - mUi.manualProxyHttpsEdit->setValidator(v); - mUi.manualProxyFtpEdit->setValidator(v); - mUi.manualProxySocksEdit->setValidator(v); - mUi.manualNoProxyEdit->setValidator(v); - - connect(mUi.systemProxyRadioButton, SIGNAL(toggled(bool)), mUi.systemProxyGroupBox, SLOT(setVisible(bool))); - - // signals and slots connections - connect(mUi.noProxyRadioButton, SIGNAL(clicked()), SLOT(slotChanged())); - connect(mUi.manualProxyRadioButton, SIGNAL(clicked()), SLOT(slotChanged())); - connect(mUi.systemProxyRadioButton, SIGNAL(clicked()), SLOT(slotChanged())); - connect(mUi.noProxyRadioButton, SIGNAL(clicked()), SLOT(slotChanged())); - connect(mUi.useReverseProxyCheckBox, SIGNAL(clicked()), SLOT(slotChanged())); - connect(mUi.useSameProxyCheckBox, SIGNAL(clicked()), SLOT(slotChanged())); - - connect(mUi.manualProxyHttpEdit, SIGNAL(textChanged(QString)), SLOT(slotChanged())); - connect(mUi.manualProxyHttpsEdit, SIGNAL(textChanged(QString)), SLOT(slotChanged())); - connect(mUi.manualProxyFtpEdit, SIGNAL(textChanged(QString)), SLOT(slotChanged())); - connect(mUi.manualProxySocksEdit, SIGNAL(textChanged(QString)), SLOT(slotChanged())); - connect(mUi.manualNoProxyEdit, SIGNAL(textChanged(QString)), SLOT(slotChanged())); - - connect(mUi.manualProxyHttpSpinBox, SIGNAL(valueChanged(int)), SLOT(slotChanged())); - connect(mUi.manualProxyHttpsSpinBox, SIGNAL(valueChanged(int)), SLOT(slotChanged())); - connect(mUi.manualProxyFtpSpinBox, SIGNAL(valueChanged(int)), SLOT(slotChanged())); - connect(mUi.manualProxySocksSpinBox, SIGNAL(valueChanged(int)), SLOT(slotChanged())); - - connect(mUi.systemProxyHttpEdit, SIGNAL(textEdited(QString)), SLOT(slotChanged())); - connect(mUi.systemProxyHttpsEdit, SIGNAL(textEdited(QString)), SLOT(slotChanged())); - connect(mUi.systemProxyFtpEdit, SIGNAL(textEdited(QString)), SLOT(slotChanged())); - connect(mUi.systemProxySocksEdit, SIGNAL(textEdited(QString)), SLOT(slotChanged())); - connect(mUi.systemNoProxyEdit, SIGNAL(textEdited(QString)), SLOT(slotChanged())); -} - -KProxyDialog::~KProxyDialog() -{ -} - -void KProxyDialog::load() -{ - mProxyMap[QL1S("HttpProxy")] = KProtocolManager::proxyFor(QL1S("http")); - mProxyMap[QL1S("HttpsProxy")] = KProtocolManager::proxyFor(QL1S("https")); - mProxyMap[QL1S("FtpProxy")] = KProtocolManager::proxyFor(QL1S("ftp")); - mProxyMap[QL1S("SocksProxy")] = KProtocolManager::proxyFor(QL1S("socks")); - mProxyMap[QL1S("NoProxy")] = KSaveIOConfig::noProxyFor(); - - const int proxyType = KProtocolManager::proxyType(); - - // Make sure showEnvValueCheckBox is unchecked before setting proxy env var names - mUi.showEnvValueCheckBox->setChecked(false); - - setProxyInformation(mProxyMap.value(QL1S("HttpProxy")), proxyType, mUi.manualProxyHttpEdit, mUi.systemProxyHttpEdit, mUi.manualProxyHttpSpinBox); - setProxyInformation(mProxyMap.value(QL1S("HttpsProxy")), proxyType, mUi.manualProxyHttpsEdit, mUi.systemProxyHttpsEdit, mUi.manualProxyHttpsSpinBox); - setProxyInformation(mProxyMap.value(QL1S("FtpProxy")), proxyType, mUi.manualProxyFtpEdit, mUi.systemProxyFtpEdit, mUi.manualProxyFtpSpinBox); - setProxyInformation(mProxyMap.value(QL1S("SocksProxy")), proxyType, mUi.manualProxySocksEdit, mUi.systemProxySocksEdit, mUi.manualProxySocksSpinBox); - setProxyInformation(mProxyMap.value(QL1S("NoProxy")), proxyType, mUi.manualNoProxyEdit, mUi.systemNoProxyEdit, 0); - - // Check the "Use this proxy server for all protocols" if all the proxy URLs are the same... - const QString httpProxy(mUi.manualProxyHttpEdit->text()); - if (!httpProxy.isEmpty()) { - const int httpProxyPort = mUi.manualProxyHttpSpinBox->value(); - mUi.useSameProxyCheckBox->setChecked(httpProxy == mUi.manualProxyHttpsEdit->text() && - httpProxy == mUi.manualProxyFtpEdit->text() && - httpProxy == mUi.manualProxySocksEdit->text() && - httpProxyPort == mUi.manualProxyHttpsSpinBox->value() && - httpProxyPort == mUi.manualProxyFtpSpinBox->value() && - httpProxyPort == mUi.manualProxySocksSpinBox->value()); - } - - // Set use reverse proxy checkbox... - mUi.useReverseProxyCheckBox->setChecked((!mProxyMap.value(QL1S("NoProxy")).isEmpty() - && KProtocolManager::useReverseProxy())); - - switch (proxyType) { - case KProtocolManager::ManualProxy: - mUi.manualProxyRadioButton->setChecked(true); - break; - case KProtocolManager::EnvVarProxy: - mUi.systemProxyRadioButton->setChecked(true); - break; - case KProtocolManager::NoProxy: - default: - mUi.noProxyRadioButton->setChecked(true); - break; - } -} - -void KProxyDialog::save() -{ - KProtocolManager::ProxyType proxyType = KProtocolManager::NoProxy; - if (mUi.manualProxyRadioButton->isChecked()) { - proxyType = KProtocolManager::ManualProxy; - mProxyMap[QL1S("HttpProxy")] = proxyUrlFromInput(mUi.manualProxyHttpEdit, mUi.manualProxyHttpSpinBox); - mProxyMap[QL1S("HttpsProxy")] = proxyUrlFromInput(mUi.manualProxyHttpsEdit, mUi.manualProxyHttpsSpinBox); - mProxyMap[QL1S("FtpProxy")] = proxyUrlFromInput(mUi.manualProxyFtpEdit, mUi.manualProxyFtpSpinBox); - mProxyMap[QL1S("SocksProxy")] = proxyUrlFromInput(mUi.manualProxySocksEdit, mUi.manualProxySocksSpinBox); - mProxyMap[QL1S("NoProxy")] = mUi.manualNoProxyEdit->text(); - } else if (mUi.systemProxyRadioButton->isChecked()) { - proxyType = KProtocolManager::EnvVarProxy; - if (!mUi.showEnvValueCheckBox->isChecked()) { - mProxyMap[QL1S("HttpProxy")] = mUi.systemProxyHttpEdit->text(); - mProxyMap[QL1S("HttpsProxy")] = mUi.systemProxyHttpsEdit->text(); - mProxyMap[QL1S("FtpProxy")] = mUi.systemProxyFtpEdit->text(); - mProxyMap[QL1S("SocksProxy")] = mUi.systemProxySocksEdit->text(); - mProxyMap[QL1S("NoProxy")] = mUi.systemNoProxyEdit->text(); - } else { - mProxyMap[QL1S("HttpProxy")] = mProxyMap.take(mUi.systemProxyHttpEdit->objectName()); - mProxyMap[QL1S("HttpsProxy")] = mProxyMap.take(mUi.systemProxyHttpsEdit->objectName()); - mProxyMap[QL1S("FtpProxy")] = mProxyMap.take(mUi.systemProxyFtpEdit->objectName()); - mProxyMap[QL1S("SocksProxy")] = mProxyMap.take(mUi.systemProxySocksEdit->objectName()); - mProxyMap[QL1S("NoProxy")] = mProxyMap.take(mUi.systemNoProxyEdit->objectName()); - } - } - - KSaveIOConfig::setProxyType(proxyType); - KSaveIOConfig::setUseReverseProxy(mUi.useReverseProxyCheckBox->isChecked()); - - // Save the common proxy setting... - KSaveIOConfig::setProxyFor(QL1S("http"), mProxyMap.value(QL1S("HttpProxy"))); - KSaveIOConfig::setProxyFor(QL1S("https"), mProxyMap.value(QL1S("HttpsProxy"))); - KSaveIOConfig::setProxyFor(QL1S("ftp"), mProxyMap.value(QL1S("FtpProxy"))); - KSaveIOConfig::setProxyFor(QL1S("socks"), mProxyMap.value(QL1S("SocksProxy"))); - - KSaveIOConfig::setNoProxyFor (mProxyMap.value(QL1S("NoProxy"))); - - KSaveIOConfig::updateRunningIOSlaves (this); - - emit changed (false); -} - -void KProxyDialog::defaults() -{ - mUi.noProxyRadioButton->setChecked(true); - - mUi.manualProxyHttpEdit->clear(); - mUi.manualProxyHttpsEdit->clear(); - mUi.manualProxyFtpEdit->clear(); - mUi.manualProxySocksEdit->clear(); - mUi.manualNoProxyEdit->clear(); - - mUi.manualProxyHttpSpinBox->setValue(0); - mUi.manualProxyHttpsSpinBox->setValue(0); - mUi.manualProxyFtpSpinBox->setValue(0); - mUi.manualProxySocksSpinBox->setValue(0); - - mUi.systemProxyHttpEdit->clear(); - mUi.systemProxyHttpsEdit->clear(); - mUi.systemProxyFtpEdit->clear(); - mUi.systemProxySocksEdit->clear(); - - emit changed (true); -} - -bool KProxyDialog::autoDetectSystemProxy(QLineEdit* edit, const QString& envVarStr, bool showValue) -{ - const QStringList envVars = envVarStr.split(QL1S(","), QString::SkipEmptyParts); - Q_FOREACH (const QString & envVar, envVars) { - const QByteArray envVarUtf8(envVar.toUtf8()); - const QByteArray envVarValue = qgetenv(envVarUtf8.constData()); - if (!envVarValue.isEmpty()) { - if (showValue) { - mProxyMap[edit->objectName()] = envVar; - edit->setText(envVarValue); - } else { - edit->setText(envVar); - } - edit->setEnabled(!showValue); - return true; - } - } - return false; -} - -void KProxyDialog::on_autoDetectButton_clicked() -{ - const bool showValue = mUi.showEnvValueCheckBox->isChecked(); - bool wasChanged = false; - - wasChanged |= autoDetectSystemProxy(mUi.systemProxyHttpEdit, ENV_HTTP_PROXY, showValue); - wasChanged |= autoDetectSystemProxy(mUi.systemProxyHttpsEdit, ENV_HTTPS_PROXY, showValue); - wasChanged |= autoDetectSystemProxy(mUi.systemProxyFtpEdit, ENV_FTP_PROXY, showValue); - wasChanged |= autoDetectSystemProxy(mUi.systemProxySocksEdit, ENV_SOCKS_PROXY, showValue); - wasChanged |= autoDetectSystemProxy(mUi.systemNoProxyEdit, ENV_NO_PROXY, showValue); - - if (wasChanged) - emit changed (true); -} - -void KProxyDialog::on_manualProxyHttpEdit_textChanged(const QString& text) -{ - mUi.useSameProxyCheckBox->setEnabled(!text.isEmpty()); -} - -void KProxyDialog::on_manualNoProxyEdit_textChanged (const QString& text) -{ - mUi.useReverseProxyCheckBox->setEnabled(!text.isEmpty()); -} - -void KProxyDialog::on_manualProxyHttpEdit_textEdited(const QString& text) -{ - if (!mUi.useSameProxyCheckBox->isChecked()) { - return; - } - - mUi.manualProxyHttpsEdit->setText(text); - mUi.manualProxyFtpEdit->setText(text); - mUi.manualProxySocksEdit->setText(text); -} - -void KProxyDialog::on_manualProxyHttpSpinBox_valueChanged (int value) -{ - if (!mUi.useSameProxyCheckBox->isChecked()) { - return; - } - - mUi.manualProxyHttpsSpinBox->setValue(value); - mUi.manualProxyFtpSpinBox->setValue(value); - mUi.manualProxySocksSpinBox->setValue(value); -} - -void KProxyDialog::on_showEnvValueCheckBox_toggled (bool on) -{ - if (on) { - showSystemProxyUrl(mUi.systemProxyHttpEdit, &mProxyMap[mUi.systemProxyHttpEdit->objectName()]); - showSystemProxyUrl(mUi.systemProxyHttpsEdit, &mProxyMap[mUi.systemProxyHttpsEdit->objectName()]); - showSystemProxyUrl(mUi.systemProxyFtpEdit, &mProxyMap[mUi.systemProxyFtpEdit->objectName()]); - showSystemProxyUrl(mUi.systemProxySocksEdit, &mProxyMap[mUi.systemProxySocksEdit->objectName()]); - showSystemProxyUrl(mUi.systemNoProxyEdit, &mProxyMap[mUi.systemNoProxyEdit->objectName()]); - return; - } - - mUi.systemProxyHttpEdit->setText(mProxyMap.take(mUi.systemProxyHttpEdit->objectName())); - mUi.systemProxyHttpEdit->setEnabled(true); - mUi.systemProxyHttpsEdit->setText(mProxyMap.take(mUi.systemProxyHttpsEdit->objectName())); - mUi.systemProxyHttpsEdit->setEnabled(true); - mUi.systemProxyFtpEdit->setText(mProxyMap.take(mUi.systemProxyFtpEdit->objectName())); - mUi.systemProxyFtpEdit->setEnabled(true); - mUi.systemProxySocksEdit->setText(mProxyMap.take(mUi.systemProxySocksEdit->objectName())); - mUi.systemProxySocksEdit->setEnabled(true); - mUi.systemNoProxyEdit->setText(mProxyMap.take(mUi.systemNoProxyEdit->objectName())); - mUi.systemNoProxyEdit->setEnabled(true); -} - -void KProxyDialog::on_useSameProxyCheckBox_clicked(bool on) -{ - if (on) { - mProxyMap[QL1S("ManProxyHttps")] = manualProxyToText (mUi.manualProxyHttpsEdit, mUi.manualProxyHttpsSpinBox, QL1C (' ')); - mProxyMap[QL1S("ManProxyFtp")] = manualProxyToText (mUi.manualProxyFtpEdit, mUi.manualProxyFtpSpinBox, QL1C (' ')); - mProxyMap[QL1S("ManProxySocks")] = manualProxyToText (mUi.manualProxySocksEdit, mUi.manualProxySocksSpinBox, QL1C (' ')); - - const QString& httpProxy = mUi.manualProxyHttpEdit->text(); - if (!httpProxy.isEmpty()) { - mUi.manualProxyHttpsEdit->setText(httpProxy); - mUi.manualProxyFtpEdit->setText(httpProxy); - mUi.manualProxySocksEdit->setText(httpProxy); - } - const int httpProxyPort = mUi.manualProxyHttpSpinBox->value(); - if (httpProxyPort > 0) { - mUi.manualProxyHttpsSpinBox->setValue(httpProxyPort); - mUi.manualProxyFtpSpinBox->setValue(httpProxyPort); - mUi.manualProxySocksSpinBox->setValue(httpProxyPort); - } - return; - } - - setManualProxyFromText(mProxyMap.take (QL1S("ManProxyHttps")), mUi.manualProxyHttpsEdit, mUi.manualProxyHttpsSpinBox); - setManualProxyFromText(mProxyMap.take (QL1S("ManProxyFtp")), mUi.manualProxyFtpEdit, mUi.manualProxyFtpSpinBox); - setManualProxyFromText(mProxyMap.take (QL1S("ManProxySocks")), mUi.manualProxySocksEdit, mUi.manualProxySocksSpinBox); -} - -void KProxyDialog::slotChanged() -{ - emit changed(true); -} - -QString KProxyDialog::quickHelp() const -{ - return i18n ("

Proxy

" - "

A proxy server is an intermediate program that sits between " - "your machine and the Internet and provides services such as " - "web page caching and/or filtering.

" - "

Caching proxy servers give you faster access to sites you have " - "already visited by locally storing or caching the content of those " - "pages; filtering proxy servers, on the other hand, provide the " - "ability to block out requests for ads, spam, or anything else you " - "want to block.

" - "

Note: Some proxy servers provide both services.

"); -} - -#include "moc_kproxydlg.cpp" - diff --git a/kcontrol/kio/kproxydlg.h b/kcontrol/kio/kproxydlg.h deleted file mode 100644 index 8829e23e..00000000 --- a/kcontrol/kio/kproxydlg.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - kproxydlg.h - Proxy configuration dialog - - Copyright (C) 2001, 2011 Dawit Alemayehu - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public - License (GPL) version 2 as published by the Free Software - Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KPROXYDLG_H -#define KPROXYDLG_H - -#include -#include "ui_kproxydlg.h" - -class KProxyDialog : public KCModule -{ - Q_OBJECT - -public: - KProxyDialog(QWidget* parent, const QVariantList& args); - ~KProxyDialog(); - - virtual void load(); - virtual void save(); - virtual void defaults(); - QString quickHelp() const; - -private Q_SLOTS: - void on_autoDetectButton_clicked(); - void on_showEnvValueCheckBox_toggled(bool); - void on_useSameProxyCheckBox_clicked(bool); - - void on_manualProxyHttpEdit_textChanged(const QString&); - void on_manualNoProxyEdit_textChanged(const QString&); - void on_manualProxyHttpEdit_textEdited(const QString&); - void on_manualProxyHttpSpinBox_valueChanged(int); - - void slotChanged(); - -private: - bool autoDetectSystemProxy(QLineEdit* edit, const QString& envVarStr, bool showValue); - - Ui::ProxyDialogUI mUi; - QStringList mNoProxyForList; - QMap mProxyMap; -}; - -#endif // KPROXYDLG_H diff --git a/kcontrol/kio/kproxydlg.ui b/kcontrol/kio/kproxydlg.ui deleted file mode 100644 index 2f0af56c..00000000 --- a/kcontrol/kio/kproxydlg.ui +++ /dev/null @@ -1,867 +0,0 @@ - - - ProxyDialogUI - - - - 0 - 0 - 513 - 578 - - - - <qt> -Setup proxy configuration. -<p> -A proxy server is an intermediate machine that sits between your computer and the Internet and provides services such as web page caching and filtering. Caching proxy servers give you faster access to web sites you have already visited by locally storing or caching those pages; filtering proxy servers usually provide the ability to block out requests for ads, spam, or anything else you want to block. -<p> -If you are uncertain whether or not you need to use a proxy server to connect to the Internet, consult your Internet service provider's setup guide or your system administrator. -</qt> - - - - - - - - - true - - - - QFormLayout::ExpandingFieldsGrow - - - 20 - - - 0 - - - 0 - - - 0 - - - - - - 0 - 0 - - - - HTTP Proxy: - - - false - - - manualProxyHttpEdit - - - - - - - - - Enter the address of the HTTP proxy server. - - - - - - - Port: - - - manualProxyHttpSpinBox - - - - - - - - 32767 - 32767 - - - - Enter the port number of the HTTP proxy server. - - - 65536 - - - - - - - - - false - - - Use this proxy server for a&ll protocols - - - - - - - - 0 - 0 - - - - SSL Proxy: - - - false - - - manualProxyHttpsEdit - - - - - - - - - Enter the address of the HTTPS proxy server. - - - - - - - Port: - - - manualProxyHttpsSpinBox - - - - - - - Enter the port number of the HTTPS proxy server. - - - 65536 - - - - - - - - - - 0 - 0 - - - - FTP Proxy: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - false - - - manualProxyFtpEdit - - - - - - - - - Enter the address of the FTP proxy server. - - - - - - - Port: - - - manualProxyFtpSpinBox - - - - - - - Enter the port number of the FTP proxy server. - - - 65536 - - - - - - - - - - 0 - 0 - - - - SOCKS Proxy: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - manualProxySocksEdit - - - - - - - - - Enter the address of the SOCKS proxy server. - - - - - - - Port: - - - manualProxySocksSpinBox - - - - - - - Enter the port number of the SOCKS proxy server. - - - 65536 - - - - - - - - - <qt> -Enter the environment variable, e.g. <b>NO_PROXY</b>, used to store the addresses of sites for which the proxy server should not be used.<p> -Alternatively, you can click on the <b>"Auto Detect"</b> button to attempt an automatic discovery of this variable. -</qt> - - - Exceptions: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - false - - - manualNoProxyEdit - - - - - - - - 0 - 0 - - - - <qt> -<p>Enter a comma separated list of hostnames or ip addresses that should be excluded from using the above proxy settings.</p> -<p>If you want to exclude all hosts for a given domain, then simply enter the domain name preceded by a dot. For example, to exclude all hostnames for <i>kde.org</i>, enter <i>.kde.org</i>. Wildcard characters such as '*' or '?' are not supported and will have no effect.</p> -<p>Additionally, you can also enter IP addresses, e.g. 127.0.0.1 and IP addresses with a subnet, e.g. 192.168.0.1/24.</p> -</qt> - - - - - - - false - - - <qt> -Check this box if you want the above proxy settings to apply only to the addresses listed in the <i>Exceptions</i> list.</qt> - - - Use proxy settings only for addresses in the Exceptions list - - - - - - - - - - Qt::Vertical - - - QSizePolicy::MinimumExpanding - - - - 20 - 42 - - - - - - - - <qt>Attempt automatic discovery of the environment variables used for setting system wide proxy information.<p> This feature works by searching for commonly used variable names such as HTTP_PROXY, FTP_PROXY and NO_PROXY.</qt> - - - Auto D&etect - - - - - - - true - - - - 0 - 0 - - - - <qt><p>Use proxy settings defined on the system.</p> -<p>Some platforms offer system wide proxy configuration information and selecting this option allows you to use those settings.</p> -<p>On Mac platforms</p> -<p>On Windows platforms</p> -<p>On Unix and Linux platforms, such system proxy settings are usually defined through environment variables. The following environment variables are detected and used when present: <b>HTTP_PROXY</b>, <b>HTTPS_PROXY</b>, <b>FTP_PROXY</b>, <b>NO_PROXY</b>.</p> -</qt> - - - Use system proxy configuration: - - - - - - - true - - - - 0 - 0 - - - - Manually enter proxy server configuration information. - - - Use manually specified proxy configuration: - - - - - - - true - - - - 20 - - - 0 - - - 0 - - - 0 - - - - - <qt> -Enter the name of the environment variable, e.g. <b>HTTP_PROXY</b>, used to store the address of the HTTP proxy server.<p> -Alternatively, you can click on the <b>"Auto Detect"</b> button to attempt automatic discovery of this variable.</p> -</qt> - - - HTTP Proxy: - - - false - - - systemProxyHttpEdit - - - - - - - - 0 - 0 - - - - <qt> -Enter the name of the environment variable, e.g. <b>HTTP_PROXY</b>, used to store the address of the HTTP proxy server.<p> -Alternatively, you can click on the <b>"Auto Detect"</b> button to attempt automatic discovery of this variable.</p> -</qt> - - - - - - - <qt> -Enter the name of the environment variable, e.g. <b>HTTPS_PROXY</b>, used to store the address of the HTTPS proxy server.<p> -Alternatively, you can click on the <b>"Auto Detect"</b> button to attempt an automatic discovery of this variable.</p> -</qt> - - - SSL Proxy: - - - false - - - systemProxyHttpsEdit - - - - - - - - 0 - 0 - - - - <qt> -Enter the name of the environment variable, e.g. <b>HTTPS_PROXY</b>, used to store the address of the HTTPS proxy server.<p> -Alternatively, you can click on the <b>"Auto Detect"</b> button to attempt an automatic discovery of this variable.</p> -</qt> - - - - - - - <qt> -Enter the name of the environment variable, e.g. <b>FTP_PROXY</b>, used to store the address of the FTP proxy server.<p> -Alternatively, you can click on the <b>"Auto Detect"</b> button to attempt an automatic discovery of this variable.</p> -</qt> - - - FTP Proxy: - - - false - - - systemProxyFtpEdit - - - - - - - - 0 - 0 - - - - <qt> -Enter the name of the environment variable, e.g. <b>FTP_PROXY</b>, used to store the address of the FTP proxy server.<p> -Alternatively, you can click on the <b>"Auto Detect"</b> button to attempt an automatic discovery of this variable.</p> -</qt> - - - - - - - <qt> -Enter the name of the environment variable, e.g. <b>SOCKS_PROXY</b>, used to store the address of the SOCKS proxy server.<p> -Alternatively, you can click on the <b>"Auto Detect"</b> button to attempt an automatic discovery of this variable.</p> -</qt> - - - SOCKS Proxy: - - - false - - - systemProxySocksEdit - - - - - - - - 0 - 0 - - - - <qt>Enter the name of the environment variable, e.g. <b>SOCKS_PROXY</b>, used to store the address of the SOCKS proxy server.<p>Alternatively, you can click on the <b>&quot;Auto Detect&quot;</b> button to attempt an automatic discovery of this variable.</p></qt> - - - - - - - <qt> -Enter the environment variable, e.g. <b>NO_PROXY</b>, used to store the addresses of sites for which the proxy server should not be used.<p> -Alternatively, you can click on the <b>"Auto Detect"</b> button to attempt an automatic discovery of this variable. -</qt> - - - Exceptions: - - - false - - - systemNoProxyEdit - - - - - - - - 0 - 0 - - - - <qt>Enter the environment variable, e.g. <b>NO_PROXY</b>, used to store the addresses of sites for which the above proxy settings should not be used.<p>Alternatively, you can click on the <b>&quot;Auto Detect&quot;</b> button to attempt an automatic discovery of this variable.</p></qt> - - - - - - - Show the &value of the environment variables - - - - - - - - - - Connect to the Internet directly. - - - No Proxy - - - true - - - - - - - - KLineEdit - QLineEdit -
klineedit.h
-
- - KIntSpinBox - QSpinBox -
knuminput.h
-
-
- - noProxyRadioButton - systemProxyRadioButton - autoDetectButton - systemProxyHttpEdit - systemProxyHttpsEdit - systemProxyFtpEdit - systemProxySocksEdit - systemNoProxyEdit - showEnvValueCheckBox - manualProxyRadioButton - manualProxyHttpEdit - manualProxyHttpSpinBox - useSameProxyCheckBox - manualProxyHttpsEdit - manualProxyHttpsSpinBox - manualProxyFtpEdit - manualProxyFtpSpinBox - manualProxySocksEdit - manualProxySocksSpinBox - manualNoProxyEdit - useReverseProxyCheckBox - - - kpushbutton.h - - - - systemProxyRadioButton - toggled(bool) - systemProxyGroupBox - setVisible(bool) - - - 97 - 121 - - - 23 - 150 - - - - - manualProxyRadioButton - toggled(bool) - manualProxyGroupBox - setVisible(bool) - - - 76 - 304 - - - 18 - 333 - - - - - useSameProxyCheckBox - toggled(bool) - manualProxyHttpsEdit - setDisabled(bool) - - - 249 - 370 - - - 250 - 384 - - - - - useSameProxyCheckBox - toggled(bool) - manualProxyFtpEdit - setDisabled(bool) - - - 218 - 364 - - - 215 - 414 - - - - - useSameProxyCheckBox - toggled(bool) - manualProxySocksEdit - setDisabled(bool) - - - 191 - 362 - - - 187 - 440 - - - - - showEnvValueCheckBox - toggled(bool) - systemNoProxyEdit - setDisabled(bool) - - - 352 - 282 - - - 353 - 259 - - - - - showEnvValueCheckBox - toggled(bool) - systemProxySocksEdit - setDisabled(bool) - - - 275 - 278 - - - 273 - 231 - - - - - showEnvValueCheckBox - toggled(bool) - systemProxyFtpEdit - setDisabled(bool) - - - 299 - 279 - - - 299 - 206 - - - - - showEnvValueCheckBox - toggled(bool) - systemProxyHttpsEdit - setDisabled(bool) - - - 349 - 280 - - - 336 - 185 - - - - - showEnvValueCheckBox - toggled(bool) - systemProxyHttpEdit - setDisabled(bool) - - - 272 - 279 - - - 236 - 156 - - - - - systemProxyRadioButton - toggled(bool) - autoDetectButton - setVisible(bool) - - - 186 - 119 - - - 433 - 124 - - - - - useSameProxyCheckBox - toggled(bool) - manualProxyHttpsSpinBox - setDisabled(bool) - - - 155 - 361 - - - 464 - 385 - - - - - useSameProxyCheckBox - toggled(bool) - manualProxyFtpSpinBox - setDisabled(bool) - - - 139 - 364 - - - 451 - 421 - - - - - useSameProxyCheckBox - toggled(bool) - manualProxySocksSpinBox - setDisabled(bool) - - - 157 - 363 - - - 438 - 449 - - - - -
diff --git a/kcontrol/kio/ksaveioconfig.cpp b/kcontrol/kio/ksaveioconfig.cpp index 2aa1c8e1..751cbcbc 100644 --- a/kcontrol/kio/ksaveioconfig.cpp +++ b/kcontrol/kio/ksaveioconfig.cpp @@ -80,13 +80,6 @@ void KSaveIOConfig::setConnectTimeout( int _timeout ) cfg.sync(); } -void KSaveIOConfig::setProxyConnectTimeout( int _timeout ) -{ - KConfigGroup cfg (config(), QString()); - cfg.writeEntry("ProxyConnectTimeout", qMax(MIN_TIMEOUT_VALUE,_timeout)); - cfg.sync(); -} - void KSaveIOConfig::setResponseTimeout( int _timeout ) { KConfigGroup cfg (config(), QString()); @@ -116,41 +109,6 @@ void KSaveIOConfig::setAutoResume( bool _mode ) cfg.sync(); } -void KSaveIOConfig::setUseReverseProxy( bool mode ) -{ - KConfigGroup cfg (config(), "Proxy Settings"); - cfg.writeEntry("ReversedException", mode); - cfg.sync(); -} - -void KSaveIOConfig::setProxyType(KProtocolManager::ProxyType type) -{ - KConfigGroup cfg (config(), "Proxy Settings"); - cfg.writeEntry("ProxyType", static_cast(type)); - cfg.sync(); -} - -QString KSaveIOConfig::noProxyFor() -{ - KConfigGroup cfg(config(), "Proxy Settings"); - return cfg.readEntry("NoProxyFor"); -} - -void KSaveIOConfig::setNoProxyFor( const QString& _noproxy ) -{ - KConfigGroup cfg (config(), "Proxy Settings"); - cfg.writeEntry("NoProxyFor", _noproxy); - cfg.sync(); -} - -void KSaveIOConfig::setProxyFor( const QString& protocol, - const QString& _proxy ) -{ - KConfigGroup cfg (config(), "Proxy Settings"); - cfg.writeEntry(protocol.toLower() + "Proxy", _proxy); - cfg.sync(); -} - void KSaveIOConfig::updateRunningIOSlaves (QWidget *parent) { // Inform all running io-slaves about the changes... diff --git a/kcontrol/kio/ksaveioconfig.h b/kcontrol/kio/ksaveioconfig.h index b7974474..533a5b53 100644 --- a/kcontrol/kio/ksaveioconfig.h +++ b/kcontrol/kio/ksaveioconfig.h @@ -34,22 +34,8 @@ void setReadTimeout (int); void setConnectTimeout (int); -void setProxyConnectTimeout (int); - void setResponseTimeout (int); - -/** Proxy Settings */ -void setUseReverseProxy (bool); - -void setProxyType (KProtocolManager::ProxyType); - -void setProxyFor (const QString&, const QString&); - -QString noProxyFor(); -void setNoProxyFor (const QString&); - - /** Miscellaneous Settings */ void setMarkPartial (bool); diff --git a/kcontrol/kio/main.cpp b/kcontrol/kio/main.cpp index 2a01ff5b..648369f5 100644 --- a/kcontrol/kio/main.cpp +++ b/kcontrol/kio/main.cpp @@ -34,12 +34,10 @@ // Local #include "netpref.h" -#include "kproxydlg.h" #include "bookmarks.h" K_PLUGIN_FACTORY(KioConfigFactory, registerPlugin("netpref"); - registerPlugin("proxy"); registerPlugin("bookmarks"); ) K_EXPORT_PLUGIN(KioConfigFactory("kcmkio")) diff --git a/kcontrol/kio/netpref.cpp b/kcontrol/kio/netpref.cpp index 14bd548b..ade9e1f4 100644 --- a/kcontrol/kio/netpref.cpp +++ b/kcontrol/kio/netpref.cpp @@ -46,11 +46,6 @@ KIOPreferences::KIOPreferences(QWidget *parent, const QVariantList &) connect(sb_socketRead, SIGNAL(valueChanged(int)), SLOT(configChanged())); timeoutLayout->addRow(i18n( "Soc&ket read:" ), sb_socketRead); - sb_proxyConnect = new KIntNumInput( 0, this ); - sb_proxyConnect->setSuffix( ki18np( " second", " seconds" ) ); - connect(sb_proxyConnect, SIGNAL(valueChanged(int)), SLOT(configChanged())); - timeoutLayout->addRow(i18n( "Pro&xy connect:" ), sb_proxyConnect); - sb_serverConnect = new KIntNumInput( 0, this ); sb_serverConnect->setSuffix( ki18np( " second", " seconds" ) ); connect(sb_serverConnect, SIGNAL(valueChanged(int)), SLOT(configChanged())); @@ -110,12 +105,10 @@ void KIOPreferences::load() sb_socketRead->setRange( MIN_TIMEOUT_VALUE, MAX_TIMEOUT_VALUE ); sb_serverResponse->setRange( MIN_TIMEOUT_VALUE, MAX_TIMEOUT_VALUE ); sb_serverConnect->setRange( MIN_TIMEOUT_VALUE, MAX_TIMEOUT_VALUE ); - sb_proxyConnect->setRange( MIN_TIMEOUT_VALUE, MAX_TIMEOUT_VALUE ); sb_socketRead->setValue( proto.readTimeout() ); sb_serverResponse->setValue( proto.responseTimeout() ); sb_serverConnect->setValue( proto.connectTimeout() ); - sb_proxyConnect->setValue( proto.proxyConnectTimeout() ); KConfig config( "kio_ftprc", KConfig::NoGlobals ); cb_ftpEnablePasv->setChecked( !config.group("").readEntry( "DisablePassiveMode", false ) ); @@ -132,7 +125,6 @@ void KIOPreferences::save() KSaveIOConfig::setReadTimeout( sb_socketRead->value() ); KSaveIOConfig::setResponseTimeout( sb_serverResponse->value() ); KSaveIOConfig::setConnectTimeout( sb_serverConnect->value() ); - KSaveIOConfig::setProxyConnectTimeout( sb_proxyConnect->value() ); KConfig config("kio_ftprc", KConfig::NoGlobals); config.group("").writeEntry( "DisablePassiveMode", !cb_ftpEnablePasv->isChecked() ); @@ -152,13 +144,12 @@ void KIOPreferences::defaults() sb_socketRead->setValue( DEFAULT_READ_TIMEOUT ); sb_serverResponse->setValue( DEFAULT_RESPONSE_TIMEOUT ); sb_serverConnect->setValue( DEFAULT_CONNECT_TIMEOUT ); - sb_proxyConnect->setValue( DEFAULT_PROXY_CONNECT_TIMEOUT ); cb_ftpEnablePasv->setChecked( true ); cb_ftpMarkPartial->setChecked( true ); sb_minimumKeepSize->setValue( DEFAULT_MINIMUM_KEEP_SIZE ); - cb_AutoResume->setChecked( false ); + cb_AutoResume->setChecked( true ); emit changed(true); } diff --git a/kcontrol/kio/netpref.h b/kcontrol/kio/netpref.h index a79635b6..576fe8ed 100644 --- a/kcontrol/kio/netpref.h +++ b/kcontrol/kio/netpref.h @@ -34,7 +34,6 @@ private: QCheckBox* cb_ftpMarkPartial; KIntNumInput* sb_socketRead; - KIntNumInput* sb_proxyConnect; KIntNumInput* sb_serverConnect; KIntNumInput* sb_serverResponse; diff --git a/kcontrol/kio/proxy.desktop b/kcontrol/kio/proxy.desktop deleted file mode 100644 index c78fa689..00000000 --- a/kcontrol/kio/proxy.desktop +++ /dev/null @@ -1,248 +0,0 @@ -[Desktop Entry] -Type=Service -X-KDE-ServiceTypes=KCModule -X-DocPath=kcontrol/proxy/index.html -Icon=preferences-system-network-proxy -Exec=kcmshell4 proxy - -X-KDE-Library=kcm_kio -X-KDE-PluginKeyword=proxy -X-KDE-ParentApp=kcontrol - -X-KDE-System-Settings-Parent-Category=network-settings -X-KDE-Weight=50 - -Name=Proxy -Name[af]=Volmag -Name[ar]=الوكيل -Name[as]=প্ৰশমক -Name[ast]=Proxy -Name[be]=Проксі -Name[be@latin]=Proxy -Name[bg]=Прокси сървър -Name[bn]=প্রক্সি -Name[bn_IN]=প্রক্সি -Name[br]=Proksi -Name[bs]=Proksi -Name[ca]=Intermediari -Name[ca@valencia]=Intermediari -Name[cs]=Proxy -Name[csb]=Pòstrzédnik (Proxy) -Name[cy]=Dirprwy -Name[da]=Proxy -Name[de]=Proxy -Name[el]=Διαμεσολαβητής -Name[en_GB]=Proxy -Name[eo]=Prokuriloj -Name[es]=Proxy -Name[et]=Puhverserver -Name[eu]=Proxy-a -Name[fa]=پیشکار -Name[fi]=Välityspalvelin -Name[fr]=Serveur mandataire (proxy) -Name[fy]=Proxy -Name[ga]=Seachfhreastalaí -Name[gl]=Proxy -Name[gu]=પ્રોક્સી -Name[he]=מתווך -Name[hi]=प्रॉक्सी -Name[hne]=प्राक्सी -Name[hr]=Proxy -Name[hsb]=Proxy -Name[hu]=Proxy -Name[ia]=Proxy -Name[id]=Proxy -Name[is]=Milliþjónn -Name[it]=Proxy -Name[ja]=プロキシ -Name[ka]=პროქსი -Name[kk]=Прокси -Name[km]=ប្រូកស៊ី -Name[kn]=ಪ್ರಾತಿನಿಧಿಕ (ಪ್ರಾಕ್ಸಿ) -Name[ko]=프록시 -Name[ku]=Cihgir -Name[lt]=Įgaliotasis serveris -Name[lv]=Starpniekserveris -Name[mai]=प्राक्सी -Name[mk]=Прокси -Name[ml]=പ്രോക്സി -Name[mr]=प्रॉक्सी -Name[ms]=Proksi -Name[nb]=Mellomtjener -Name[nds]=Proxy -Name[ne]=प्रोक्सी -Name[nl]=Proxy -Name[nn]=Mellomtenar -Name[oc]=Proxy -Name[or]=ପ୍ରକ୍ସି -Name[pa]=ਪਰਾਕਸੀ -Name[pl]=Pośrednik -Name[pt]=Proxy -Name[pt_BR]=Proxy -Name[ro]=Proxy -Name[ru]=Прокси-сервер -Name[se]=Gaskabálvá -Name[si]=ප්‍රොක්සි -Name[sk]=Proxy -Name[sl]=Posredniški strežnik -Name[sr]=Прокси -Name[sr@ijekavian]=Прокси -Name[sr@ijekavianlatin]=Proksi -Name[sr@latin]=Proksi -Name[sv]=Proxyservrar -Name[ta]=போலி -Name[te]=ప్రాక్సి -Name[tg]=Proxy -Name[th]=พร็อกซี -Name[tr]=Vekil Sunucu -Name[ug]=ۋاكالەتچى -Name[uk]=Проксі -Name[uz]=Proksi -Name[uz@cyrillic]=Прокси -Name[vi]=Ủy nhiệm -Name[wa]=Procsi -Name[xh]=Umntu onegunya lokusebenzela omnye -Name[x-test]=xxProxyxx -Name[zh_CN]=代理 -Name[zh_TW]=代理伺服器 - -Comment=Configure the proxy servers used -Comment[af]=Konfigureer die volmag bedieners gebruik word -Comment[ar]=اضبط خوادم الوكيل المستخدمة -Comment[as]=ব্যৱহাৰ কৰা প্ৰশমক সেৱক বিন্যাস কৰক -Comment[ast]=Configuración de los sirvidores proxy usaos -Comment[be]=Настаўленні сервераў проксі -Comment[be@latin]=Naładź dziejnyja proxy-servery -Comment[bg]=Настройки на прокси сървъра -Comment[bn]=ব্যবহৃত প্রক্সি সার্ভার কনফিগার করুন -Comment[bn_IN]=ব্যবহৃত প্রক্সি সার্ভার(গুলি) কনফিগার করুন -Comment[br]=Kefluniañ ar servijeroù proksi implijet -Comment[bs]=Podešavanje proksi servera -Comment[ca]=Configura els servidors intermediaris emprats -Comment[ca@valencia]=Configura els servidors intermediaris emprats -Comment[cs]=Nastavení proxy serverů -Comment[csb]=Kònfigùracëjô pòstrzédniczącëch serwerów (proxy) -Comment[cy]=Ffurfweddu gweinyddion dirprwyol i'w defnyddio -Comment[da]=Indstil de proxyservere der bruges -Comment[de]=Proxy-Server einrichten -Comment[el]=Διαμορφώστε τους διαμεσολαβητές που χρησιμοποιούνται -Comment[en_GB]=Configure the proxy servers used -Comment[eo]=Agordi la prokurilon -Comment[es]=Configuración de los servidores proxy usados -Comment[et]=Kasutatavate puhverserverite seadistamine -Comment[eu]=Konfiguratu erabilitako proxy zerbitzariak -Comment[fa]=پیکربندی پیشکارهای استفاده‌شده -Comment[fi]=Välityspalvelimien asetukset -Comment[fr]=Configuration des serveurs mandataires (proxy) utilisés -Comment[fy]=Hjir kinne jo de Proxy-tsjinner ynstelle -Comment[ga]=Cumraigh na seachfhreastalaithe -Comment[gl]=Configurar os servidores proxy empregados -Comment[gu]=ઉપયોગ કરેલ પ્રોક્સી સર્વરો રૂપરેખાંકિત કરો -Comment[he]=הגדרת שרתי הפרוקסי שבשימוש -Comment[hi]=उपयोग में प्रॉक्सी सर्वर कॉन्फ़िगर करें -Comment[hne]=उपयोग मं प्राक्सी सर्वर कान्फिगर करव -Comment[hr]=Konfiguriranje proxy poslužitelja -Comment[hsb]=Nastajić, kotre proxyje so wužiwaja -Comment[hu]=A proxy kiszolgálók beállításai -Comment[ia]=Configura le servitores de proxy usate -Comment[id]=Atur server proxy yang digunakan -Comment[is]=Stilla milliþjóna sem á að nota -Comment[it]=Configura i server proxy da usare -Comment[ja]=プロキシサーバの設定 -Comment[ka]=გამოყენებული პროქსების კონფიგურაცია -Comment[kk]=Қолданатын прокси серверлерді баптау -Comment[km]=កំណត់​រចនាសម្ព័ន្ធ​ម៉ាស៊ីន​បម្រើ​ប្រូកស៊ី​​ដែល​បាន​ប្រើ -Comment[kn]=ಬಳಸಲಾದ ಪ್ರಾತಿನಿಧಿಕ ಪರಿಚಾರಕಗಳನ್ನು (ಪ್ರಾಕ್ಸಿ ಸರ್ವರ್) ಸಂರಚಿಸು -Comment[ko]=사용할 프록시 서버 설정 -Comment[ku]=Proksiyan ava bike -Comment[lt]=Konfigūruoti naudojamus įgaliotuosius serverius -Comment[lv]=Šeit jūs varat konfigurēt izmantojamos starpniekserverus -Comment[mai]=उपयोग मे प्राक्सी सर्वर केँ बिन्यस्त करू -Comment[mk]=Конфигурирајте ги прокси-серверите кои се користат -Comment[ml]=ഉപയോഗിച്ചിരിയ്ക്കുന്ന പ്രോക്സി സെര്‍വറുകള്‍ ക്രമീകരിയ്ക്കുക -Comment[mr]=वापरलेले प्रॉक्सी सर्व्हर्स संयोजीत करा -Comment[ms]=Konfigur pelayan proksi yang digunakan -Comment[nb]=Sett opp mellomtjenere -Comment[nds]=De bruukten Proxies instellen -Comment[ne]=प्रयोग गरिएको प्रोक्सी सर्भर कन्फिगर गर्नुहोस् -Comment[nl]=Hier kunt u de Proxy-servers instellen -Comment[nn]=Oppsett av mellomtenarar -Comment[or]=ବ୍ୟବହୃତ ପ୍ରକ୍ସି ସର୍ଭରକୁ ବିନ୍ୟାସ କରନ୍ତୁ -Comment[pa]=ਵਰਤੇ ਜਾਂਦੇ ਪਰਾਕਸੀ ਸਰਵਰਾਂ ਦੀ ਸੰਰਚਨਾ -Comment[pl]=Ustawienia serwerów pośredniczących (proxy) -Comment[pt]=Configurar os servidores 'proxy' usados -Comment[pt_BR]=Configura os servidores proxy usados -Comment[ro]=Configurează serverele proxy utilizate -Comment[ru]=Настройка соединения через прокси-сервер -Comment[se]=Heivet gaskabálváid mat geavahuvvojit -Comment[si]=භාවිතවන ප්‍රොක්සි සේවා දැකසුම් -Comment[sk]=Nastavenie proxy serverov -Comment[sl]=Nastavitve posredniških strežnikov -Comment[sr]=Подешавање прокси сервера -Comment[sr@ijekavian]=Подешавање прокси сервера -Comment[sr@ijekavianlatin]=Podešavanje proksi servera -Comment[sr@latin]=Podešavanje proksi servera -Comment[sv]=Anpassa proxyservrar som används -Comment[ta]=பயன்படுத்தப்படும் போலி வழங்கிகளை வடிவமை -Comment[te]=ఉపయోగించిన ప్రోక్సీ సేవికలను ఆకృతీకరించుము -Comment[tg]=Танзимоти хидматҳои proxy истифодашуда -Comment[th]=ปรับแต่งเซิร์ฟเวอร์พร็อกซี -Comment[tr]=Kullanılan vekil sunucuları yapılandır -Comment[ug]=ئىشلەتكەن ۋاكالەتچى مۇلازىمېتىر سەپلىمىسى -Comment[uk]=Налаштування проксі-сервера -Comment[uz]=Proksi serverlarini moslash -Comment[uz@cyrillic]=Прокси серверларини мослаш -Comment[vi]=Cấu hình máy phục vụ ủy nhiệm được sử dụng -Comment[wa]=Apontyî les sierveus procsi eployîs -Comment[xh]=Qwalasela indlela abasebenziswa ngayo abancedisi be proxy -Comment[x-test]=xxConfigure the proxy servers usedxx -Comment[zh_CN]=配置所用的代理服务器 -Comment[zh_TW]=設定使用的代理伺服器 - -X-KDE-Keywords=Proxy,Proxy server,Firewall,Squid -X-KDE-Keywords[bg]=Прокси,Прокси сървър,Защитна стена,Proxy,Proxy server,Firewall,Squid -X-KDE-Keywords[bs]=Proxy,Proxy server,Firewall,Squid -X-KDE-Keywords[ca]=Intermediari,Servidor intermediari,Tallafocs,Squid -X-KDE-Keywords[ca@valencia]=Intermediari,Servidor intermediari,Tallafocs,Squid -X-KDE-Keywords[da]=Proxy,Proxy-server,Firewall,Squid -X-KDE-Keywords[de]=Proxy,Proxy-Server,Firewall,Squid -X-KDE-Keywords[el]=Διαμεσολαβητής,εξυπηρετητής διαμεσολάβησης,τείχος προστασίας,squid -X-KDE-Keywords[en_GB]=Proxy,Proxy server,Firewall,Squid -X-KDE-Keywords[es]=Proxy,Servidor proxy,Cortafuegos,Squid -X-KDE-Keywords[et]=Puhver,Puhverserver,Tulemüür,Squid -X-KDE-Keywords[fi]=Proxy,Välitys,Välityspalvelin,Firewall,Palomuuri,Squid -X-KDE-Keywords[fr]=Serveur mandataire, serveur (proxy), pare-feu, squid -X-KDE-Keywords[ga]=Seachfhreastalaí,Balla Dóiteáin,Squid -X-KDE-Keywords[gl]=Proxy,servidor proxy,devasa,Squid -X-KDE-Keywords[he]=Proxy,Proxy server,Firewall,Squid,פרוקסי,מתווך,שרת,חמת אש, חומה -X-KDE-Keywords[hu]=Proxy,Proxy kiszolgáló,Tűzfal,Squid -X-KDE-Keywords[ia]=Proxy,Servitor de Proxy,Talia Foco,Squid -X-KDE-Keywords[id]=Proxy,server Proxy,Firewall,Squid -X-KDE-Keywords[it]=Proxy,Server proxy server,Firewall,Squid -X-KDE-Keywords[kk]=Proxy,Proxy server,Firewall,Squid,Прокси -X-KDE-Keywords[km]=ប្រូកស៊ី ម៉ាស៊ីន​បម្រើ​ប្រូកស៊ី ជញ្ជាំង​ភ្លើង Squid -X-KDE-Keywords[ko]=Proxy,Proxy server,Firewall,Squid,proxy,프록시,프록시 서버,방화벽 -X-KDE-Keywords[lt]=Įgaliotasis serveris,Įgaliotasis,Užkarda,Squid -X-KDE-Keywords[nb]=Mellomtjener,Brannmur,Squid -X-KDE-Keywords[nds]=Proxy,Proxy-Server,Nettdiek,Squid -X-KDE-Keywords[nl]=Proxy,proxy-server,firewall,squid -X-KDE-Keywords[pa]=ਪਰਾਕਸੀ,ਪਰਾਕਸੀ ਸਰਵਰ,ਫਾਇਰਵਾਲ,ਸੁਕਵਿਡ -X-KDE-Keywords[pl]=Pośrednik,Serwer pośrednika,Zapora sieciowa,Squid -X-KDE-Keywords[pt]=Proxy,servidor proxy,Firewall,Squid -X-KDE-Keywords[pt_BR]=Proxy,Servidor proxy,Firewall,Squid -X-KDE-Keywords[ro]=Proxy,server proxy,paravan de protecție,squid -X-KDE-Keywords[ru]=Proxy,Proxy server,Firewall,Squid,прокси,прокси-сервер,брандмауэр,защитный экран -X-KDE-Keywords[sk]=Proxy,Proxy server,Firewall,Squid -X-KDE-Keywords[sl]=Proxy,Posredniški strežnik,Požarni zid,Squid -X-KDE-Keywords[sr]=Proxy,Proxy server,Firewall,Squid,прокси,прокси сервер,Сквид,заштитни зид -X-KDE-Keywords[sr@ijekavian]=Proxy,Proxy server,Firewall,Squid,прокси,прокси сервер,Сквид,заштитни зид -X-KDE-Keywords[sr@ijekavianlatin]=Proxy,Proxy server,Firewall,Squid,proksi,proksi server,Squid,zaštitni zid -X-KDE-Keywords[sr@latin]=Proxy,Proxy server,Firewall,Squid,proksi,proksi server,Squid,zaštitni zid -X-KDE-Keywords[sv]=Proxy,Proxyserver,Brandvägg,Squid -X-KDE-Keywords[tr]=Vekil,Vekil sunucu,Firewall,Squid -X-KDE-Keywords[uk]=Proxy;Proxy server;Firewall;Squid;proxy;проксі;сервер;проксі-сервер;брандмауер;файрвол -X-KDE-Keywords[wa]=Procsi,sierveu Procsi,Côpe-feu,Squid -X-KDE-Keywords[x-test]=xxProxy,Proxy server,Firewall,Squidxx -X-KDE-Keywords[zh_CN]=Proxy,Proxy server,Firewall,Squid,代理,代理服务器,防火墙 -X-KDE-Keywords[zh_TW]=Proxy,Proxy server,Firewall,Squid -