/***************************************************************************
                            KConfigBase.m -  description
                             -------------------
    begin                : Fri Mar  8 13:55:08 2002
    copyright            : (C) 2000-2002 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Fri Mar  8 13:55:08 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.                       *
 *                                                                         *
 ***************************************************************************/

#include <qtc/qt_QString.h>
#include <qtc/qt_QCString.h>
#include <kdec/kde_KConfigBase.h>
#include <kdeobjc/KDESupport.h>
#include <kdeobjc/KConfigBase.h>
#include <qtobjc/QFont.h>
#include <qtobjc/QPoint.h>
#include <qtobjc/QRect.h>
#include <qtobjc/QSize.h>
#include <qtobjc/QVariant.h>


@implementation  KConfigBase


- (void) dealloc
{
	if ([self qt] != 0L) {
		if ([self allocatedInObjcWorld] && [self parent] == nil) {
			kde_del_KConfigBase((kde_KConfigBase *)[self qt]);
		}
		[QtSupport removeQtKey: [self qt]];
		[self setQt: 0L];
	}
	[super dealloc];
}

- setGroup: (NSString *)group
{
static qt_QString * _qstring_group = 0L;
	kde_KConfigBase_setGroup((kde_KConfigBase *)[self qt], (qt_QString *) [group toQString: &_qstring_group]);
	return self;
}

- setDesktopGroup
{
	kde_KConfigBase_setDesktopGroup((kde_KConfigBase *)[self qt]);
	return self;
}

- (NSString *) group
{
static qt_QString * _qstring = 0L;
	_qstring = kde_KConfigBase_group((kde_KConfigBase *)[self qt]);
	return [NSString fromQString: _qstring];
}

- (BOOL) hasGroup: (NSString *)group
{
static qt_QString * _qstring_group = 0L;
	return (BOOL) kde_KConfigBase_hasGroup((kde_KConfigBase *)[self qt], (qt_QString *) [group toQString: &_qstring_group]);
}

- (NSArray *) groupList
{
static qt_QStringList * _qlist = 0L;
	_qlist = kde_KConfigBase_groupList((kde_KConfigBase *)[self qt]);
	return (NSArray *) [NSMutableArray arrayWithQStringList: _qlist];
}

- (NSString *) locale
{
static qt_QString * _qstring = 0L;
	_qstring = kde_KConfigBase_locale((kde_KConfigBase *)[self qt]);
	return [NSString fromQString: _qstring];
}

- (NSString *) readEntry: (NSString *)pKey aDefault: (NSString *)aDefault
{
static qt_QString * _qstring = 0L;
static qt_QString * _qstring_aDefault = 0L;
static qt_QString * _qstring_pKey = 0L;
	_qstring = kde_KConfigBase_readEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QString *) [aDefault toQString: &_qstring_aDefault]);
	return [NSString fromQString: _qstring];
}

//- (NSString *) readEntry: (NSString *)pKey aDefault: (NSString *)aDefault
//{
//static qt_QString * _qstring = 0L;
//static qt_QString * _qstring_aDefault = 0L;
//	_qstring = kde_KConfigBase_readEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QString *) [aDefault toQString: &_qstring_aDefault]);
//	return [NSString fromQString: _qstring];
//}

- (QVariant*) readPropertyEntry: (NSString *)pKey int: (int)arg1
{
static qt_QString * _qstring_pKey = 0L;
	return (QVariant*) [QtSupport objectForQtKey: kde_KConfigBase_readPropertyEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (int)arg1) withClass: [QVariant class] allocatedInObjcWorld: YES];
}

//- (QVariant*) readPropertyEntry: (NSString *)pKey int: (int)arg1
//{
//	return (QVariant*) [QtSupport objectForQtKey: kde_KConfigBase_readPropertyEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], (int)arg1) withClass: [QVariant class] allocatedInObjcWorld: YES];
//}

- (QVariant*) readPropertyEntry: (NSString *)pKey adefault: (QVariant *)adefault
{
static qt_QString * _qstring_pKey = 0L;
	return (QVariant*) [QtSupport objectForQtKey: kde_KConfigBase_readPropertyEntry2((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QVariant *) [adefault qt]) withClass: [QVariant class] allocatedInObjcWorld: YES];
}

- (QVariant*) readPropertyEntry: (NSString *)pKey aDefault: (QVariant *)aDefault
{
	return (QVariant*) [QtSupport objectForQtKey: kde_KConfigBase_readPropertyEntry3((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QVariant *) [aDefault qt]) withClass: [QVariant class] allocatedInObjcWorld: YES];
}

//- (int) readListEntry: (NSString *)pKey list: (NSArray *)list char: (char sep ')arg1 : (' )arg2
//{
//static qt_QStrList * _qlist_list = 0L;
//static qt_QString * _qstring_pKey = 0L;
//	return (int) kde_KConfigBase_readListEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QStrList *) [list toQStrList: (void *)&_qlist_list], (char sep ') arg1, (' ) arg2);
//}

//- (int) readListEntry: (NSString *)pKey list: (NSArray *)list
//{
//static qt_QStrList * _qlist_list = 0L;
//static qt_QString * _qstring_pKey = 0L;
//	return (int) kde_KConfigBase_readListEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QStrList *) [list toQStrList: (void *)&_qlist_list],);
//}

//- (int) readListEntry: (NSString *)pKey list: (NSArray *)list char: (char sep ')arg1 : (' )arg2
//{
//static qt_QStrList * _qlist_list = 0L;
//	return (int) kde_KConfigBase_readListEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QStrList *) [list toQStrList: (void *)&_qlist_list], (char sep ') arg1, (' ) arg2);
//}

//- (int) readListEntry: (NSString *)pKey list: (NSArray *)list
//{
//static qt_QStrList * _qlist_list = 0L;
//	return (int) kde_KConfigBase_readListEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QStrList *) [list toQStrList: (void *)&_qlist_list],);
//}

//- (NSArray *) readListEntry: (NSString *)pKey char: (char sep ')arg1 : (' )arg2
//{
//static qt_QStringList * _qlist = 0L;
//static qt_QString * _qstring_pKey = 0L;
//	_qlist = kde_KConfigBase_readListEntry2((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (char sep ') arg1, (' ) arg2);
//	return (NSArray *) [NSMutableArray arrayWithQStringList: _qlist];
//}

//- (NSArray *) readListEntry: (NSString *)pKey char: (char sep ')arg1 : (' )arg2
//{
//static qt_QStringList * _qlist = 0L;
//	_qlist = kde_KConfigBase_readListEntry3((kde_KConfigBase *)[self qt], (char*) [pKey cString], (char sep ') arg1, (' ) arg2);
//	return (NSArray *) [NSMutableArray arrayWithQStringList: _qlist];
//}

- (NSString *) readPathEntry: (NSString *)pKey aDefault: (NSString *)aDefault
{
static qt_QString * _qstring = 0L;
static qt_QString * _qstring_aDefault = 0L;
static qt_QString * _qstring_pKey = 0L;
	_qstring = kde_KConfigBase_readPathEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QString *) [aDefault toQString: &_qstring_aDefault]);
	return [NSString fromQString: _qstring];
}

//- (NSString *) readPathEntry: (NSString *)pKey aDefault: (NSString *)aDefault
//{
//static qt_QString * _qstring = 0L;
//static qt_QString * _qstring_aDefault = 0L;
//	_qstring = kde_KConfigBase_readPathEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QString *) [aDefault toQString: &_qstring_aDefault]);
//	return [NSString fromQString: _qstring];
//}

- (int) readNumEntry: (NSString *)pKey nDefault: (int)nDefault
{
static qt_QString * _qstring_pKey = 0L;
	return (int) kde_KConfigBase_readNumEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (int)nDefault);
}

- (int) readNumEntry: (NSString *)pKey 
{
static qt_QString * _qstring_pKey = 0L;
	return (int) kde_KConfigBase_readNumEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], 0);
}

//- (int) readNumEntry: (NSString *)pKey nDefault: (int)nDefault
//{
//	return (int) kde_KConfigBase_readNumEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], (int)nDefault);
//}

//- (int) readNumEntry: (NSString *)pKey
//{
//	return (int) kde_KConfigBase_readNumEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], 0);
//}

- (unsigned int) readUnsignedNumEntry: (NSString *)pKey nDefault: (unsigned int)nDefault
{
static qt_QString * _qstring_pKey = 0L;
	return (unsigned int) kde_KConfigBase_readUnsignedNumEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (unsigned int)nDefault);
}

- (unsigned int) readUnsignedNumEntry: (NSString *)pKey 
{
static qt_QString * _qstring_pKey = 0L;
	return (unsigned int) kde_KConfigBase_readUnsignedNumEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], 0);
}

//- (unsigned int) readUnsignedNumEntry: (NSString *)pKey nDefault: (unsigned int)nDefault
//{
//	return (unsigned int) kde_KConfigBase_readUnsignedNumEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], (unsigned int)nDefault);
//}

//- (unsigned int) readUnsignedNumEntry: (NSString *)pKey
//{
//	return (unsigned int) kde_KConfigBase_readUnsignedNumEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], 0);
//}

- (long) readLongNumEntry: (NSString *)pKey nDefault: (long)nDefault
{
static qt_QString * _qstring_pKey = 0L;
	return (long) kde_KConfigBase_readLongNumEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (long)nDefault);
}

- (long) readLongNumEntry: (NSString *)pKey 
{
static qt_QString * _qstring_pKey = 0L;
	return (long) kde_KConfigBase_readLongNumEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], 0);
}

//- (long) readLongNumEntry: (NSString *)pKey nDefault: (long)nDefault
//{
//	return (long) kde_KConfigBase_readLongNumEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], (long)nDefault);
//}

//- (long) readLongNumEntry: (NSString *)pKey
//{
//	return (long) kde_KConfigBase_readLongNumEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], 0);
//}

- (unsigned long) readUnsignedLongNumEntry: (NSString *)pKey nDefault: (unsigned long)nDefault
{
static qt_QString * _qstring_pKey = 0L;
	return (unsigned long) kde_KConfigBase_readUnsignedLongNumEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (unsigned long)nDefault);
}

- (unsigned long) readUnsignedLongNumEntry: (NSString *)pKey 
{
static qt_QString * _qstring_pKey = 0L;
	return (unsigned long) kde_KConfigBase_readUnsignedLongNumEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], 0);
}

//- (unsigned long) readUnsignedLongNumEntry: (NSString *)pKey nDefault: (unsigned long)nDefault
//{
//	return (unsigned long) kde_KConfigBase_readUnsignedLongNumEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], (unsigned long)nDefault);
//}

//- (unsigned long) readUnsignedLongNumEntry: (NSString *)pKey
//{
//	return (unsigned long) kde_KConfigBase_readUnsignedLongNumEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], 0);
//}

- (double) readDoubleNumEntry: (NSString *)pKey nDefault: (double)nDefault
{
static qt_QString * _qstring_pKey = 0L;
	return (double) kde_KConfigBase_readDoubleNumEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (double)nDefault);
}

- (double) readDoubleNumEntry: (NSString *)pKey 
{
static qt_QString * _qstring_pKey = 0L;
	return (double) kde_KConfigBase_readDoubleNumEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], 0.0);
}

//- (double) readDoubleNumEntry: (NSString *)pKey nDefault: (double)nDefault
//{
//	return (double) kde_KConfigBase_readDoubleNumEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], (double)nDefault);
//}

//- (double) readDoubleNumEntry: (NSString *)pKey
//{
//	return (double) kde_KConfigBase_readDoubleNumEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], 0.0);
//}

- (QFont*) readFontEntry: (NSString *)pKey pDefault: (QFont *)pDefault
{
static qt_QString * _qstring_pKey = 0L;
	return (QFont*) [QtSupport objectForQtKey: kde_KConfigBase_readFontEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QFont *) [pDefault qt]) withClass: [QFont class] allocatedInObjcWorld: YES];
}

- (QFont*) readFontEntry: (NSString *)pKey 
{
static qt_QString * _qstring_pKey = 0L;
	return (QFont*) [QtSupport objectForQtKey: kde_KConfigBase_readFontEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], 0L) withClass: [QFont class] allocatedInObjcWorld: YES];
}

//- (QFont*) readFontEntry: (NSString *)pKey pDefault: (QFont *)pDefault
//{
//	return (QFont*) [QtSupport objectForQtKey: kde_KConfigBase_readFontEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QFont *) [pDefault qt]) withClass: [QFont class] allocatedInObjcWorld: YES];
//}

//- (QFont*) readFontEntry: (NSString *)pKey
//{
//	return (QFont*) [QtSupport objectForQtKey: kde_KConfigBase_readFontEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], 0L) withClass: [QFont class] allocatedInObjcWorld: YES];
//}

- (BOOL) readBoolEntry: (NSString *)pKey bDefault: (BOOL)bDefault
{
static qt_QString * _qstring_pKey = 0L;
	return (BOOL) kde_KConfigBase_readBoolEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (int)bDefault);
}

- (BOOL) readBoolEntry: (NSString *)pKey 
{
static qt_QString * _qstring_pKey = 0L;
	return (BOOL) kde_KConfigBase_readBoolEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], 0);
}

//- (BOOL) readBoolEntry: (NSString *)pKey bDefault: (BOOL)bDefault
//{
//	return (BOOL) kde_KConfigBase_readBoolEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], (int)bDefault);
//}

//- (BOOL) readBoolEntry: (NSString *)pKey
//{
//	return (BOOL) kde_KConfigBase_readBoolEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], 0);
//}

- (QRect*) readRectEntry: (NSString *)pKey pDefault: (QRect*)pDefault
{
static qt_QString * _qstring_pKey = 0L;
	return (QRect*) [QtSupport objectForQtKey: kde_KConfigBase_readRectEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QRect*) [pDefault qt]) withClass: [QRect class] allocatedInObjcWorld: YES];
}

- (QRect*) readRectEntry: (NSString *)pKey 
{
static qt_QString * _qstring_pKey = 0L;
	return (QRect*) [QtSupport objectForQtKey: kde_KConfigBase_readRectEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], 0L) withClass: [QRect class] allocatedInObjcWorld: YES];
}

//- (QRect*) readRectEntry: (NSString *)pKey pDefault: (QRect*)pDefault
//{
//	return (QRect*) [QtSupport objectForQtKey: kde_KConfigBase_readRectEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QRect*) [pDefault qt]) withClass: [QRect class] allocatedInObjcWorld: YES];
//}

//- (QRect*) readRectEntry: (NSString *)pKey
//{
//	return (QRect*) [QtSupport objectForQtKey: kde_KConfigBase_readRectEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], 0L) withClass: [QRect class] allocatedInObjcWorld: YES];
//}

- (QPoint*) readPointEntry: (NSString *)pKey pDefault: (QPoint*)pDefault
{
static qt_QString * _qstring_pKey = 0L;
	return (QPoint*) [QtSupport objectForQtKey: kde_KConfigBase_readPointEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QPoint*) [pDefault qt]) withClass: [QPoint class] allocatedInObjcWorld: YES];
}

- (QPoint*) readPointEntry: (NSString *)pKey 
{
static qt_QString * _qstring_pKey = 0L;
	return (QPoint*) [QtSupport objectForQtKey: kde_KConfigBase_readPointEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], 0L) withClass: [QPoint class] allocatedInObjcWorld: YES];
}

//- (QPoint*) readPointEntry: (NSString *)pKey pDefault: (QPoint*)pDefault
//{
//	return (QPoint*) [QtSupport objectForQtKey: kde_KConfigBase_readPointEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QPoint*) [pDefault qt]) withClass: [QPoint class] allocatedInObjcWorld: YES];
//}

//- (QPoint*) readPointEntry: (NSString *)pKey
//{
//	return (QPoint*) [QtSupport objectForQtKey: kde_KConfigBase_readPointEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], 0L) withClass: [QPoint class] allocatedInObjcWorld: YES];
//}

- (QSize*) readSizeEntry: (NSString *)pKey pDefault: (QSize*)pDefault
{
static qt_QString * _qstring_pKey = 0L;
	return (QSize*) [QtSupport objectForQtKey: kde_KConfigBase_readSizeEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QSize*) [pDefault qt]) withClass: [QSize class] allocatedInObjcWorld: YES];
}

- (QSize*) readSizeEntry: (NSString *)pKey 
{
static qt_QString * _qstring_pKey = 0L;
	return (QSize*) [QtSupport objectForQtKey: kde_KConfigBase_readSizeEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], 0L) withClass: [QSize class] allocatedInObjcWorld: YES];
}

//- (QSize*) readSizeEntry: (NSString *)pKey pDefault: (QSize*)pDefault
//{
//	return (QSize*) [QtSupport objectForQtKey: kde_KConfigBase_readSizeEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QSize*) [pDefault qt]) withClass: [QSize class] allocatedInObjcWorld: YES];
//}

//- (QSize*) readSizeEntry: (NSString *)pKey
//{
//	return (QSize*) [QtSupport objectForQtKey: kde_KConfigBase_readSizeEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], 0L) withClass: [QSize class] allocatedInObjcWorld: YES];
//}

- (QColor*) readColorEntry: (NSString *)pKey pDefault: (QColor*)pDefault
{
static qt_QString * _qstring_pKey = 0L;
	return (QColor*) [QtSupport objectForQtKey: kde_KConfigBase_readColorEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QColor*) [pDefault qt]) withClass: [QColor class] allocatedInObjcWorld: YES];
}

- (QColor*) readColorEntry: (NSString *)pKey 
{
static qt_QString * _qstring_pKey = 0L;
	return (QColor*) [QtSupport objectForQtKey: kde_KConfigBase_readColorEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], 0L) withClass: [QColor class] allocatedInObjcWorld: YES];
}

//- (QColor*) readColorEntry: (NSString *)pKey pDefault: (QColor*)pDefault
//{
//	return (QColor*) [QtSupport objectForQtKey: kde_KConfigBase_readColorEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QColor*) [pDefault qt]) withClass: [QColor class] allocatedInObjcWorld: YES];
//}

//- (QColor*) readColorEntry: (NSString *)pKey
//{
//	return (QColor*) [QtSupport objectForQtKey: kde_KConfigBase_readColorEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], 0L) withClass: [QColor class] allocatedInObjcWorld: YES];
//}

- (NSDate *) readDateTimeEntry: (NSString *)pKey pDefault: (NSDate *)pDefault
{
static qt_QDateTime * _qdate = 0L;
static qt_QDateTime * _qdate_pDefault = 0L;
static qt_QString * _qstring_pKey = 0L;
	_qdate = kde_KConfigBase_readDateTimeEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QDateTime*) [pDefault toQDateTime: (qt_QDateTime **)&_qdate_pDefault]);
	return (NSDate *) [[NSDate alloc] initWithQDateTime: _qdate];
}

//- (NSDate *) readDateTimeEntry: (NSString *)pKey pDefault: (NSDate *)pDefault
//{
//static qt_QDateTime * _qdate = 0L;
//static qt_QDateTime * _qdate_pDefault = 0L;
//	_qdate = kde_KConfigBase_readDateTimeEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QDateTime*) [pDefault toQDateTime: (qt_QDateTime **)&_qdate_pDefault]);
//	return (NSDate *) [[NSDate alloc] initWithQDateTime: _qdate];
//}

- writeEntry: (NSString *)pKey pValue: (NSString *)pValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
{
static qt_QString * _qstring_pValue = 0L;
static qt_QString * _qstring_pKey = 0L;
	kde_KConfigBase_writeEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QString *) [pValue toQString: &_qstring_pValue], (int)bPersistent, (int)bGlobal, (int)bNLS);
	return self;
}

- writeEntry: (NSString *)pKey pValue: (NSString *)pValue 
{
static qt_QString * _qstring_pValue = 0L;
static qt_QString * _qstring_pKey = 0L;
	kde_KConfigBase_writeEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QString *) [pValue toQString: &_qstring_pValue], 1, 0, 0);
	return self;
}

//- writeEntry: (NSString *)pKey pValue: (NSString *)pValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//static qt_QString * _qstring_pValue = 0L;
//	kde_KConfigBase_writeEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QString *) [pValue toQString: &_qstring_pValue], (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey pValue: (NSString *)pValue
//{
//static qt_QString * _qstring_pValue = 0L;
//	kde_KConfigBase_writeEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QString *) [pValue toQString: &_qstring_pValue], 1, 0, 0);
//	return self;
//}

- writeEntry: (NSString *)pKey rValue: (QVariant *)rValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
{
static qt_QString * _qstring_pKey = 0L;
	kde_KConfigBase_writeEntry2((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QVariant *) [rValue qt], (int)bPersistent, (int)bGlobal, (int)bNLS);
	return self;
}

- writeEntry: (NSString *)pKey rValue: (QVariant *)rValue 
{
static qt_QString * _qstring_pKey = 0L;
	kde_KConfigBase_writeEntry2((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QVariant *) [rValue qt], 1, 0, 0);
	return self;
}

//- writeEntry: (NSString *)pKey rValue: (QVariant *)rValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//	kde_KConfigBase_writeEntry3((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QVariant *) [rValue qt], (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey rValue: (QVariant *)rValue
//{
//	kde_KConfigBase_writeEntry3((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QVariant *) [rValue qt], 1, 0, 0);
//	return self;
//}

//- writeEntry: (NSString *)pKey rValue: (NSArray *)rValue char: (char sep ')arg1 : (')arg2 bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//static qt_QStrList * _qlist_rValue = 0L;
//static qt_QString * _qstring_pKey = 0L;
//	kde_KConfigBase_writeEntry4((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QStrList *) [rValue toQStrList: (void *)&_qlist_rValue], (char sep ') arg1, (') arg2, (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey rValue: (NSArray *)rValue
//{
//static qt_QStrList * _qlist_rValue = 0L;
//static qt_QString * _qstring_pKey = 0L;
//	kde_KConfigBase_writeEntry4((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QStrList *) [rValue toQStrList: (void *)&_qlist_rValue], , 1, 0, 0);
//	return self;
//}

//- writeEntry: (NSString *)pKey rValue: (NSArray *)rValue char: (char sep ')arg1 : (')arg2 bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//static qt_QStrList * _qlist_rValue = 0L;
//	kde_KConfigBase_writeEntry5((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QStrList *) [rValue toQStrList: (void *)&_qlist_rValue], (char sep ') arg1, (') arg2, (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey rValue: (NSArray *)rValue
//{
//static qt_QStrList * _qlist_rValue = 0L;
//	kde_KConfigBase_writeEntry5((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QStrList *) [rValue toQStrList: (void *)&_qlist_rValue], , 1, 0, 0);
//	return self;
//}

//- writeEntry: (NSString *)pKey rValue: (NSArray *)rValue char: (char sep ')arg1 : (')arg2 bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//static qt_QStringList * _qlist_rValue = 0L;
//static qt_QString * _qstring_pKey = 0L;
//	kde_KConfigBase_writeEntry6((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QStringList*) [rValue toQStringList: (void *)&_qlist_rValue], (char sep ') arg1, (') arg2, (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey rValue: (NSArray *)rValue
//{
//static qt_QStringList * _qlist_rValue = 0L;
//static qt_QString * _qstring_pKey = 0L;
//	kde_KConfigBase_writeEntry6((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QStringList*) [rValue toQStringList: (void *)&_qlist_rValue], , 1, 0, 0);
//	return self;
//}

//- writeEntry: (NSString *)pKey rValue: (NSArray *)rValue char: (char sep ')arg1 : (')arg2 bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//static qt_QStringList * _qlist_rValue = 0L;
//	kde_KConfigBase_writeEntry7((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QStringList*) [rValue toQStringList: (void *)&_qlist_rValue], (char sep ') arg1, (') arg2, (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey rValue: (NSArray *)rValue
//{
//static qt_QStringList * _qlist_rValue = 0L;
//	kde_KConfigBase_writeEntry7((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QStringList*) [rValue toQStringList: (void *)&_qlist_rValue], , 1, 0, 0);
//	return self;
//}

//- writeEntry: (NSString *)pKey pValue: (NSString *)pValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//static qt_QString * _qstring_pKey = 0L;
//	kde_KConfigBase_writeEntry10((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (char*) [pValue cString], (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey pValue: (NSString *)pValue
//{
//static qt_QString * _qstring_pKey = 0L;
//	kde_KConfigBase_writeEntry10((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (char*) [pValue cString], 1, 0, 0);
//	return self;
//}

//- writeEntry: (NSString *)pKey pValue: (NSString *)pValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//	kde_KConfigBase_writeEntry11((kde_KConfigBase *)[self qt], (char*) [pKey cString], (char*) [pValue cString], (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey pValue: (NSString *)pValue
//{
//	kde_KConfigBase_writeEntry11((kde_KConfigBase *)[self qt], (char*) [pKey cString], (char*) [pValue cString], 1, 0, 0);
//	return self;
//}

- writeEntry: (NSString *)pKey nValue: (int)nValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
{
static qt_QString * _qstring_pKey = 0L;
	kde_KConfigBase_writeEntry12((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (int)nValue, (int)bPersistent, (int)bGlobal, (int)bNLS);
	return self;
}

- writeEntry: (NSString *)pKey nValue: (int)nValue 
{
static qt_QString * _qstring_pKey = 0L;
	kde_KConfigBase_writeEntry12((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (int)nValue, 1, 0, 0);
	return self;
}

//- writeEntry: (NSString *)pKey nValue: (int)nValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//	kde_KConfigBase_writeEntry13((kde_KConfigBase *)[self qt], (char*) [pKey cString], (int)nValue, (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey nValue: (int)nValue
//{
//	kde_KConfigBase_writeEntry13((kde_KConfigBase *)[self qt], (char*) [pKey cString], (int)nValue, 1, 0, 0);
//	return self;
//}

//- writeEntry: (NSString *)pKey nValue: (unsigned int)nValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//static qt_QString * _qstring_pKey = 0L;
//	kde_KConfigBase_writeEntry14((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (unsigned int)nValue, (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey nValue: (unsigned int)nValue
//{
//static qt_QString * _qstring_pKey = 0L;
//	kde_KConfigBase_writeEntry14((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (unsigned int)nValue, 1, 0, 0);
//	return self;
//}

//- writeEntry: (NSString *)pKey nValue: (unsigned int)nValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//	kde_KConfigBase_writeEntry15((kde_KConfigBase *)[self qt], (char*) [pKey cString], (unsigned int)nValue, (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey nValue: (unsigned int)nValue
//{
//	kde_KConfigBase_writeEntry15((kde_KConfigBase *)[self qt], (char*) [pKey cString], (unsigned int)nValue, 1, 0, 0);
//	return self;
//}

//- writeEntry: (NSString *)pKey nValue: (long)nValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//static qt_QString * _qstring_pKey = 0L;
//	kde_KConfigBase_writeEntry16((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (long)nValue, (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey nValue: (long)nValue
//{
//static qt_QString * _qstring_pKey = 0L;
//	kde_KConfigBase_writeEntry16((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (long)nValue, 1, 0, 0);
//	return self;
//}

//- writeEntry: (NSString *)pKey nValue: (long)nValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//	kde_KConfigBase_writeEntry17((kde_KConfigBase *)[self qt], (char*) [pKey cString], (long)nValue, (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey nValue: (long)nValue
//{
//	kde_KConfigBase_writeEntry17((kde_KConfigBase *)[self qt], (char*) [pKey cString], (long)nValue, 1, 0, 0);
//	return self;
//}

//- writeEntry: (NSString *)pKey nValue: (unsigned long)nValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//static qt_QString * _qstring_pKey = 0L;
//	kde_KConfigBase_writeEntry18((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (unsigned long)nValue, (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey nValue: (unsigned long)nValue
//{
//static qt_QString * _qstring_pKey = 0L;
//	kde_KConfigBase_writeEntry18((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (unsigned long)nValue, 1, 0, 0);
//	return self;
//}

//- writeEntry: (NSString *)pKey nValue: (unsigned long)nValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//	kde_KConfigBase_writeEntry19((kde_KConfigBase *)[self qt], (char*) [pKey cString], (unsigned long)nValue, (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey nValue: (unsigned long)nValue
//{
//	kde_KConfigBase_writeEntry19((kde_KConfigBase *)[self qt], (char*) [pKey cString], (unsigned long)nValue, 1, 0, 0);
//	return self;
//}

- writeEntry: (NSString *)pKey nValue: (double)nValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal format: (char)format precision: (int)precision bNLS: (BOOL)bNLS
{
static qt_QString * _qstring_pKey = 0L;
	kde_KConfigBase_writeEntry20((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (double)nValue, (int)bPersistent, (int)bGlobal, (char)format, (int)precision, (int)bNLS);
	return self;
}

//- writeEntry: (NSString *)pKey nValue: (double)nValue
//{
//static qt_QString * _qstring_pKey = 0L;
//	kde_KConfigBase_writeEntry20((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (double)nValue, 1, 0, 'g', 6, 0);
//	return self;
//}

//- writeEntry: (NSString *)pKey nValue: (double)nValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal format: (char)format precision: (int)precision bNLS: (BOOL)bNLS
//{
//	kde_KConfigBase_writeEntry21((kde_KConfigBase *)[self qt], (char*) [pKey cString], (double)nValue, (int)bPersistent, (int)bGlobal, (char)format, (int)precision, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey nValue: (double)nValue
//{
//	kde_KConfigBase_writeEntry21((kde_KConfigBase *)[self qt], (char*) [pKey cString], (double)nValue, 1, 0, 'g', 6, 0);
//	return self;
//}

- writeEntry: (NSString *)pKey bValue: (BOOL)bValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
{
static qt_QString * _qstring_pKey = 0L;
	kde_KConfigBase_writeEntry22((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (int)bValue, (int)bPersistent, (int)bGlobal, (int)bNLS);
	return self;
}

- writeEntry: (NSString *)pKey bValue: (BOOL)bValue 
{
static qt_QString * _qstring_pKey = 0L;
	kde_KConfigBase_writeEntry22((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (int)bValue, 1, 0, 0);
	return self;
}

//- writeEntry: (NSString *)pKey bValue: (BOOL)bValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//	kde_KConfigBase_writeEntry23((kde_KConfigBase *)[self qt], (char*) [pKey cString], (int)bValue, (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey bValue: (BOOL)bValue
//{
//	kde_KConfigBase_writeEntry23((kde_KConfigBase *)[self qt], (char*) [pKey cString], (int)bValue, 1, 0, 0);
//	return self;
//}

- writeEntry: (NSString *)pKey rFont: (QFont *)rFont bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
{
static qt_QString * _qstring_pKey = 0L;
	kde_KConfigBase_writeEntry24((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QFont *) [rFont qt], (int)bPersistent, (int)bGlobal, (int)bNLS);
	return self;
}

- writeEntry: (NSString *)pKey rFont: (QFont *)rFont 
{
static qt_QString * _qstring_pKey = 0L;
	kde_KConfigBase_writeEntry24((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QFont *) [rFont qt], 1, 0, 0);
	return self;
}

//- writeEntry: (NSString *)pKey rFont: (QFont *)rFont bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//	kde_KConfigBase_writeEntry25((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QFont *) [rFont qt], (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey rFont: (QFont *)rFont
//{
//	kde_KConfigBase_writeEntry25((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QFont *) [rFont qt], 1, 0, 0);
//	return self;
//}

- writeEntry: (NSString *)pKey rColor: (QColor *)rColor bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
{
static qt_QString * _qstring_pKey = 0L;
	kde_KConfigBase_writeEntry26((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QColor *) [rColor qt], (int)bPersistent, (int)bGlobal, (int)bNLS);
	return self;
}

- writeEntry: (NSString *)pKey rColor: (QColor *)rColor 
{
static qt_QString * _qstring_pKey = 0L;
	kde_KConfigBase_writeEntry26((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QColor *) [rColor qt], 1, 0, 0);
	return self;
}

//- writeEntry: (NSString *)pKey rColor: (QColor *)rColor bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//	kde_KConfigBase_writeEntry27((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QColor *) [rColor qt], (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey rColor: (QColor *)rColor
//{
//	kde_KConfigBase_writeEntry27((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QColor *) [rColor qt], 1, 0, 0);
//	return self;
//}

- writeEntry: (NSString *)pKey rDateTime: (NSDate *)rDateTime bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
{
static qt_QDateTime * _qdate_rDateTime = 0L;
static qt_QString * _qstring_pKey = 0L;
	kde_KConfigBase_writeEntry28((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QDateTime *) [rDateTime toQDateTime: (qt_QDateTime **)&_qdate_rDateTime], (int)bPersistent, (int)bGlobal, (int)bNLS);
	return self;
}

- writeEntry: (NSString *)pKey rDateTime: (NSDate *)rDateTime 
{
static qt_QDateTime * _qdate_rDateTime = 0L;
static qt_QString * _qstring_pKey = 0L;
	kde_KConfigBase_writeEntry28((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QDateTime *) [rDateTime toQDateTime: (qt_QDateTime **)&_qdate_rDateTime], 1, 0, 0);
	return self;
}

//- writeEntry: (NSString *)pKey rDateTime: (NSDate *)rDateTime bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//static qt_QDateTime * _qdate_rDateTime = 0L;
//	kde_KConfigBase_writeEntry29((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QDateTime *) [rDateTime toQDateTime: (qt_QDateTime **)&_qdate_rDateTime], (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey rDateTime: (NSDate *)rDateTime
//{
//static qt_QDateTime * _qdate_rDateTime = 0L;
//	kde_KConfigBase_writeEntry29((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QDateTime *) [rDateTime toQDateTime: (qt_QDateTime **)&_qdate_rDateTime], 1, 0, 0);
//	return self;
//}

//- writeEntry: (NSString *)pKey rValue: (QRect*)rValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//static qt_QString * _qstring_pKey = 0L;
//	kde_KConfigBase_writeEntry30((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QRect*) [rValue qt], (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey rValue: (QRect*)rValue
//{
//static qt_QString * _qstring_pKey = 0L;
//	kde_KConfigBase_writeEntry30((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QRect*) [rValue qt], 1, 0, 0);
//	return self;
//}

//- writeEntry: (NSString *)pKey rValue: (QRect*)rValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//	kde_KConfigBase_writeEntry31((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QRect*) [rValue qt], (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey rValue: (QRect*)rValue
//{
//	kde_KConfigBase_writeEntry31((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QRect*) [rValue qt], 1, 0, 0);
//	return self;
//}

//- writeEntry: (NSString *)pKey rValue: (QPoint*)rValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//static qt_QString * _qstring_pKey = 0L;
//	kde_KConfigBase_writeEntry32((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QPoint*) [rValue qt], (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey rValue: (QPoint*)rValue
//{
//static qt_QString * _qstring_pKey = 0L;
//	kde_KConfigBase_writeEntry32((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QPoint*) [rValue qt], 1, 0, 0);
//	return self;
//}

//- writeEntry: (NSString *)pKey rValue: (QPoint*)rValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//	kde_KConfigBase_writeEntry33((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QPoint*) [rValue qt], (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey rValue: (QPoint*)rValue
//{
//	kde_KConfigBase_writeEntry33((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QPoint*) [rValue qt], 1, 0, 0);
//	return self;
//}

//- writeEntry: (NSString *)pKey rValue: (QSize *)rValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//static qt_QString * _qstring_pKey = 0L;
//	kde_KConfigBase_writeEntry34((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QSize *) [rValue qt], (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey rValue: (QSize *)rValue
//{
//static qt_QString * _qstring_pKey = 0L;
//	kde_KConfigBase_writeEntry34((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QSize *) [rValue qt], 1, 0, 0);
//	return self;
//}

//- writeEntry: (NSString *)pKey rValue: (QSize *)rValue bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//	kde_KConfigBase_writeEntry35((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QSize *) [rValue qt], (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writeEntry: (NSString *)pKey rValue: (QSize *)rValue
//{
//	kde_KConfigBase_writeEntry35((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QSize *) [rValue qt], 1, 0, 0);
//	return self;
//}

- writePathEntry: (NSString *)pKey path: (NSString *)path bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
{
static qt_QString * _qstring_path = 0L;
static qt_QString * _qstring_pKey = 0L;
	kde_KConfigBase_writePathEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QString *) [path toQString: &_qstring_path], (int)bPersistent, (int)bGlobal, (int)bNLS);
	return self;
}

- writePathEntry: (NSString *)pKey path: (NSString *)path 
{
static qt_QString * _qstring_path = 0L;
static qt_QString * _qstring_pKey = 0L;
	kde_KConfigBase_writePathEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (qt_QString *) [path toQString: &_qstring_path], 1, 0, 0);
	return self;
}

//- writePathEntry: (NSString *)pKey path: (NSString *)path bPersistent: (BOOL)bPersistent bGlobal: (BOOL)bGlobal bNLS: (BOOL)bNLS
//{
//static qt_QString * _qstring_path = 0L;
//	kde_KConfigBase_writePathEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QString *) [path toQString: &_qstring_path], (int)bPersistent, (int)bGlobal, (int)bNLS);
//	return self;
//}

//- writePathEntry: (NSString *)pKey path: (NSString *)path
//{
//static qt_QString * _qstring_path = 0L;
//	kde_KConfigBase_writePathEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], (qt_QString *) [path toQString: &_qstring_path], 1, 0, 0);
//	return self;
//}

- deleteEntry: (NSString *)pKey bNLS: (BOOL)bNLS bGlobal: (BOOL)bGlobal
{
static qt_QString * _qstring_pKey = 0L;
	kde_KConfigBase_deleteEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], (int)bNLS, (int)bGlobal);
	return self;
}

- deleteEntry: (NSString *)pKey 
{
static qt_QString * _qstring_pKey = 0L;
	kde_KConfigBase_deleteEntry((kde_KConfigBase *)[self qt], (qt_QString *) [pKey toQString: &_qstring_pKey], 0, 0);
	return self;
}

//- deleteEntry: (NSString *)pKey bNLS: (BOOL)bNLS bGlobal: (BOOL)bGlobal
//{
//	kde_KConfigBase_deleteEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], (int)bNLS, (int)bGlobal);
//	return self;
//}

//- deleteEntry: (NSString *)pKey
//{
//	kde_KConfigBase_deleteEntry1((kde_KConfigBase *)[self qt], (char*) [pKey cString], 0, 0);
//	return self;
//}

- (BOOL) deleteGroup: (NSString *)group bDeep: (BOOL)bDeep bGlobal: (BOOL)bGlobal
{
static qt_QString * _qstring_group = 0L;
	return (BOOL) kde_KConfigBase_deleteGroup((kde_KConfigBase *)[self qt], (qt_QString *) [group toQString: &_qstring_group], (int)bDeep, (int)bGlobal);
}

- (BOOL) deleteGroup: (NSString *)group 
{
static qt_QString * _qstring_group = 0L;
	return (BOOL) kde_KConfigBase_deleteGroup((kde_KConfigBase *)[self qt], (qt_QString *) [group toQString: &_qstring_group], 1, 0);
}

- setDollarExpansion: (BOOL)_bExpand
{
	kde_KConfigBase_setDollarExpansion((kde_KConfigBase *)[self qt], (int)_bExpand);
	return self;
}

- setDollarExpansion
{
	kde_KConfigBase_setDollarExpansion((kde_KConfigBase *)[self qt], 1);
	return self;
}

- (BOOL) isDollarExpansion
{
	return (BOOL) kde_KConfigBase_isDollarExpansion((kde_KConfigBase *)[self qt]);
}

- rollback: (BOOL)bDeep
{
	kde_KConfigBase_rollback((kde_KConfigBase *)[self qt], (int)bDeep);
	return self;
}

- rollback
{
	kde_KConfigBase_rollback((kde_KConfigBase *)[self qt], 1);
	return self;
}

- sync
{
	kde_KConfigBase_sync((kde_KConfigBase *)[self qt]);
	return self;
}

- (BOOL) isDirty
{
	return (BOOL) kde_KConfigBase_isDirty((kde_KConfigBase *)[self qt]);
}

- setReadOnly: (BOOL)_ro
{
	kde_KConfigBase_setReadOnly((kde_KConfigBase *)[self qt], (int)_ro);
	return self;
}

- (BOOL) isReadOnly
{
	return (BOOL) kde_KConfigBase_isReadOnly((kde_KConfigBase *)[self qt]);
}

- (BOOL) hasKey: (NSString *)key
{
static qt_QString * _qstring_key = 0L;
	return (BOOL) kde_KConfigBase_hasKey((kde_KConfigBase *)[self qt], (qt_QString *) [key toQString: &_qstring_key]);
}

- reparseConfiguration
{
	kde_KConfigBase_reparseConfiguration((kde_KConfigBase *)[self qt]);
	return self;
}

- (BOOL) isImmutable
{
	return (BOOL) kde_KConfigBase_isImmutable((kde_KConfigBase *)[self qt]);
}

- (BOOL) groupIsImmutable: (NSString *)group
{
static qt_QString * _qstring_group = 0L;
	return (BOOL) kde_KConfigBase_groupIsImmutable((kde_KConfigBase *)[self qt], (qt_QString *) [group toQString: &_qstring_group]);
}

- (BOOL) entryIsImmutable: (NSString *)key
{
static qt_QString * _qstring_key = 0L;
	return (BOOL) kde_KConfigBase_entryIsImmutable((kde_KConfigBase *)[self qt], (qt_QString *) [key toQString: &_qstring_key]);
}

- (int) getConfigState
{
	return (int) kde_KConfigBase_getConfigState((kde_KConfigBase *)[self qt]);
}

//- setGroup: (NSString *)pGroup
//{
//static qt_QCString * _qcstring_pGroup = 0L;
//	kde_KConfigBase_setGroup1((kde_KConfigBase *)[self qt], (qt_QCString*) [pGroup toQCString: &_qcstring_pGroup]);
//	return self;
//}

//- setGroup: (NSString *)pGroup
//{
//	kde_KConfigBase_setGroup2((kde_KConfigBase *)[self qt], (char*) [pGroup cString]);
//	return self;
//}

//- (BOOL) hasGroup: (NSString *)_pGroup
//{
//static qt_QCString * _qcstring__pGroup = 0L;
//	return (BOOL) kde_KConfigBase_hasGroup1((kde_KConfigBase *)[self qt], (qt_QCString*) [_pGroup toQCString: &_qcstring__pGroup]);
//}

//- (BOOL) hasGroup: (NSString *)_pGroup
//{
//	return (BOOL) kde_KConfigBase_hasGroup2((kde_KConfigBase *)[self qt], (char*) [_pGroup cString]);
//}

//- (BOOL) hasKey: (NSString *)pKey
//{
//	return (BOOL) kde_KConfigBase_hasKey1((kde_KConfigBase *)[self qt], (char*) [pKey cString]);
//}

+ (int) NoAccess
{
	return (int) KCONFIGBASE_NoAccess;
}

+ (int) ReadOnly
{
	return (int) KCONFIGBASE_ReadOnly;
}

+ (int) ReadWrite
{
	return (int) KCONFIGBASE_ReadWrite;
}

@end
