dolphin/konqueror/settings/kio/ksaveioconfig.h
Dawit Alemayehu f90f318f21 Rewrote the proxy configuration dialog to include missing SOCKS
proxy entry and make it much simpler to use.

BUG:82352
BUG:115704
BUG:139789
BUG:147340
BUG:164460
BUG:189019
BUG:190149
BUG:190901
BUG:205594
BUG:258196
BUG:283226
FIXED-IN:4.8

REVIEW: 102802

GUI:  Proxy configuration dialog rewrite.
2011-10-20 02:16:04 -04:00

82 lines
1.9 KiB
C++

/*
Copyright (C) 2001 Dawit Alemayehu <adawit@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
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 Library 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 KSAVEIO_CONFIG_H_
#define KSAVEIO_CONFIG_H_
#include <kprotocolmanager.h>
class QWidget;
namespace KSaveIOConfig
{
int proxyDisplayUrlFlags();
void setProxyDisplayUrlFlags (int);
/* Reload config file (kioslaverc) */
void reparseConfiguration();
/** Timeout Settings */
void setReadTimeout (int);
void setConnectTimeout (int);
void setProxyConnectTimeout (int);
void setResponseTimeout (int);
/** Cache Settings */
void setMaxCacheAge (int);
void setUseCache (bool);
void setMaxCacheSize (int);
void setCacheControl (KIO::CacheControl);
/** Proxy Settings */
void setUseReverseProxy (bool);
void setProxyType (KProtocolManager::ProxyType);
void setProxyConfigScript (const QString&);
void setProxyFor (const QString&, const QString&);
void setNoProxyFor (const QString&);
/** Miscellaneous Settings */
void setMarkPartial (bool);
void setMinimumKeepSize (int);
void setAutoResume (bool);
/** Update all running io-slaves */
void updateRunningIOSlaves (QWidget* parent = 0L);
/** Update proxy scout */
void updateProxyScout (QWidget* parent = 0L);
}
#endif