/***************************************************************************
                            kde_KConfigGroupSaver.cpp -  description
                             -------------------
    begin                : Sun Nov 24 16:54:36 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Nov 24 16:54:36 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_KConfigGroupSaver.h"
}

#include <kconfigbase.h>

class KConfigGroupSaverBridge : public KConfigGroupSaver
{
public:
	KConfigGroupSaverBridge(KConfigBase* config, QString group) : KConfigGroupSaver(config, group) {}
	KConfigGroupSaverBridge(KConfigBase* config, const char* group) : KConfigGroupSaver(config, group) {}
	KConfigGroupSaverBridge(KConfigBase* config, const QCString& group) : KConfigGroupSaver(config, group) {}
	~KConfigGroupSaverBridge() {}
};

kde_KConfigGroupSaver * kde_new_KConfigGroupSaver(kde_KConfigBase* config, qt_QString * group){
	return (kde_KConfigGroupSaver *) new KConfigGroupSaverBridge((KConfigBase*)config, (QString)* (QString*)group);
}
kde_KConfigGroupSaver * kde_new_KConfigGroupSaver1(kde_KConfigBase* config, char* group){
	return (kde_KConfigGroupSaver *) new KConfigGroupSaverBridge((KConfigBase*)config, (char*)group);
}
kde_KConfigGroupSaver * kde_new_KConfigGroupSaver2(kde_KConfigBase* config, qt_QCString* group){
	return (kde_KConfigGroupSaver *) new KConfigGroupSaverBridge((KConfigBase*)config, (QCString&)* (QCString*)group);
}
void kde_del_KConfigGroupSaver( kde_KConfigGroupSaver* p ){
	delete (KConfigGroupSaverBridge*) p;
}
kde_KConfigBase* kde_KConfigGroupSaver_config( kde_KConfigGroupSaver* instPointer){
	return (kde_KConfigBase*) ((KConfigGroupSaverBridge*)instPointer)->config();
}
