Make a branch to make krunner Good Enough For Aaron™.
[kdebase/uwolfer.git] / apps / konqueror / settings / kio / ksaveioconfig.h
blob137af539a76ba40a84e3075e022099b397a6778a
1 /*
2 Copyright (C) 2001 Dawit Alemayehu <adawit@kde.org>
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
20 #ifndef KSAVEIO_CONFIG_H_
21 #define KSAVEIO_CONFIG_H_
23 #include <kprotocolmanager.h>
25 class QWidget;
26 class KSaveIOConfigPrivate;
27 class KConfig;
28 class KSaveIOConfig
30 public:
32 /* Reload config file (kioslaverc) */
33 static void reparseConfiguration();
36 /** Timeout Settings */
37 static void setReadTimeout( int );
39 static void setConnectTimeout( int );
41 static void setProxyConnectTimeout( int );
43 static void setResponseTimeout( int );
46 /** Cache Settings */
47 static void setMaxCacheAge( int );
49 static void setUseCache( bool );
51 static void setMaxCacheSize( int );
53 static void setCacheControl( KIO::CacheControl );
56 /** Proxy Settings */
57 static void setUseReverseProxy( bool );
59 static void setProxyType( KProtocolManager::ProxyType );
61 static void setProxyAuthMode( KProtocolManager::ProxyAuthMode );
63 static void setProxyConfigScript( const QString& );
65 static void setProxyFor( const QString&, const QString& );
67 static void setNoProxyFor( const QString& );
70 /** Miscellaneous Settings */
71 static void setMarkPartial( bool );
73 static void setMinimumKeepSize( int );
75 static void setAutoResume( bool );
77 static void setPersistentConnections( bool );
79 static void setPersistentProxyConnection( bool );
82 /** Update all running io-slaves */
83 static void updateRunningIOSlaves (QWidget * parent = 0L);
85 /** Update proxy scout */
86 static void updateProxyScout( QWidget * parent = 0L );
88 protected:
89 static KConfig* config ();
90 static KConfig* http_config ();
91 KSaveIOConfig ();
93 private:
94 static KSaveIOConfigPrivate* d;
96 #endif