/***************************************************************************
                            kde_KConfigBackEnd.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_KConfigBackEnd.h"
}

#include <kconfigbackend.h>

void kde_del_KConfigBackEnd( kde_KConfigBackEnd* p ){
	delete (KConfigBackEnd*) p;
}
int kde_KConfigBackEnd_parseConfigFiles( kde_KConfigBackEnd* instPointer){
	return (int) ((KConfigBackEnd*)instPointer)->parseConfigFiles();
}
void kde_KConfigBackEnd_sync( kde_KConfigBackEnd* instPointer,int bMerge){
	((KConfigBackEnd*)instPointer)->sync((bool)bMerge);
	return;
}
void kde_KConfigBackEnd_changeFileName( kde_KConfigBackEnd* instPointer,qt_QString * _fileName, char* _resType, int _useKDEGlobals){
	((KConfigBackEnd*)instPointer)->changeFileName((QString&)* (QString*)_fileName, (char*)_resType, (bool)_useKDEGlobals);
	return;
}
//kde_KConfigBase_ConfigState kde_KConfigBackEnd_getConfigState( kde_KConfigBackEnd* instPointer){
//	return (kde_KConfigBase_ConfigState) ((KConfigBackEnd*)instPointer)->getConfigState();
//}
qt_QString * kde_KConfigBackEnd_fileName( kde_KConfigBackEnd* instPointer){
	return (qt_QString *)new QString(((KConfigBackEnd*)instPointer)->fileName());
}
char* kde_KConfigBackEnd_resource( kde_KConfigBackEnd* instPointer){
	return (char*) ((KConfigBackEnd*)instPointer)->resource();
}
void kde_KConfigBackEnd_setLocaleString( kde_KConfigBackEnd* instPointer,qt_QCString* _localeString){
	((KConfigBackEnd*)instPointer)->setLocaleString((QCString&)* (QCString*)_localeString);
	return;
}
