/***************************************************************************
                            kde_KProtocolManager.cpp -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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.                       *
 *                                                                         *
 ***************************************************************************/

extern "C" {
#include "kde_KProtocolManager.h"
}

#include <kprotocolmanager.h>

qt_QString * kde_KProtocolManager_defaultUserAgent( ){
	return (qt_QString *)new QString(KProtocolManager::defaultUserAgent());
}
qt_QString * kde_KProtocolManager_defaultUserAgent1( qt_QString * keys){
	return (qt_QString *)new QString(KProtocolManager::defaultUserAgent((QString&)* (QString*)keys));
}
qt_QString * kde_KProtocolManager_userAgentForHost( qt_QString * arg1){
	return (qt_QString *)new QString(KProtocolManager::userAgentForHost((QString&)* (QString*)arg1));
}
int kde_KProtocolManager_readTimeout( ){
	return (int) KProtocolManager::readTimeout();
}
int kde_KProtocolManager_connectTimeout( ){
	return (int) KProtocolManager::connectTimeout();
}
int kde_KProtocolManager_proxyConnectTimeout( ){
	return (int) KProtocolManager::proxyConnectTimeout();
}
int kde_KProtocolManager_responseTimeout( ){
	return (int) KProtocolManager::responseTimeout();
}
//int kde_KProtocolManager_defaultConnectTimeout( ){
//	return (int) KProtocolManager::defaultConnectTimeout();
//}
int kde_KProtocolManager_useProxy( ){
	return (int) KProtocolManager::useProxy();
}
int kde_KProtocolManager_useReverseProxy( ){
	return (int) KProtocolManager::useReverseProxy();
}
int kde_KProtocolManager_proxyType( ){
	return (int) KProtocolManager::proxyType();
}
int kde_KProtocolManager_proxyAuthMode( ){
	return (int) KProtocolManager::proxyAuthMode();
}
qt_QString * kde_KProtocolManager_noProxyFor( ){
	return (qt_QString *)new QString(KProtocolManager::noProxyFor());
}
qt_QString * kde_KProtocolManager_proxyFor( qt_QString * arg1){
	return (qt_QString *)new QString(KProtocolManager::proxyFor((QString&)* (QString*)arg1));
}
qt_QString * kde_KProtocolManager_proxyForURL( kde_KURL* arg1){
	return (qt_QString *)new QString(KProtocolManager::proxyForURL((KURL&)* (KURL*)arg1));
}
void kde_KProtocolManager_badProxy( qt_QString * arg1){
	KProtocolManager::badProxy((QString&)* (QString*)arg1);
	return;
}
qt_QString * kde_KProtocolManager_proxyConfigScript( ){
	return (qt_QString *)new QString(KProtocolManager::proxyConfigScript());
}
int kde_KProtocolManager_useCache( ){
	return (int) KProtocolManager::useCache();
}
int kde_KProtocolManager_maxCacheAge( ){
	return (int) KProtocolManager::maxCacheAge();
}
int kde_KProtocolManager_maxCacheSize( ){
	return (int) KProtocolManager::maxCacheSize();
}
qt_QString * kde_KProtocolManager_cacheDir( ){
	return (qt_QString *)new QString(KProtocolManager::cacheDir());
}
int kde_KProtocolManager_cacheControl( ){
	return (int) KProtocolManager::cacheControl();
}
int kde_KProtocolManager_autoResume( ){
	return (int) KProtocolManager::autoResume();
}
int kde_KProtocolManager_markPartial( ){
	return (int) KProtocolManager::markPartial();
}
int kde_KProtocolManager_minimumKeepSize( ){
	return (int) KProtocolManager::minimumKeepSize();
}
int kde_KProtocolManager_persistentConnections( ){
	return (int) KProtocolManager::persistentConnections();
}
void kde_KProtocolManager_reparseConfiguration( ){
	KProtocolManager::reparseConfiguration();
	return;
}
qt_QString * kde_KProtocolManager_slaveProtocol( kde_KURL* url, qt_QString * proxy){
	return (qt_QString *)new QString(KProtocolManager::slaveProtocol((KURL&)* (KURL*)url, (QString&)* (QString*)proxy));
}
kde_KConfig* kde_KProtocolManager_config( ){
	return (kde_KConfig*) KProtocolManager::config();
}
