/***************************************************************************
                            kde_KEMailSettings.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_KEMailSettings.h"
}

#include <kemailsettings.h>

class KEMailSettingsBridge : public KEMailSettings
{
public:
	KEMailSettingsBridge() : KEMailSettings() {}
	~KEMailSettingsBridge() {}
};

kde_KEMailSettings * kde_new_KEMailSettings(){
	return (kde_KEMailSettings *) new KEMailSettingsBridge();
}
void kde_del_KEMailSettings( kde_KEMailSettings* p ){
	delete (KEMailSettingsBridge*) p;
}
qt_QStringList* kde_KEMailSettings_profiles( kde_KEMailSettings* instPointer){
	return (qt_QStringList*)new QStringList(((KEMailSettingsBridge*)instPointer)->profiles());
}
qt_QString * kde_KEMailSettings_currentProfileName( kde_KEMailSettings* instPointer){
	return (qt_QString *)new QString(((KEMailSettingsBridge*)instPointer)->currentProfileName());
}
void kde_KEMailSettings_setProfile( kde_KEMailSettings* instPointer,qt_QString * arg1){
	((KEMailSettingsBridge*)instPointer)->setProfile((QString&)* (QString*)arg1);
	return;
}
qt_QString * kde_KEMailSettings_defaultProfileName( kde_KEMailSettings* instPointer){
	return (qt_QString *)new QString(((KEMailSettingsBridge*)instPointer)->defaultProfileName());
}
void kde_KEMailSettings_setDefault( kde_KEMailSettings* instPointer,qt_QString * arg1){
	((KEMailSettingsBridge*)instPointer)->setDefault((QString&)* (QString*)arg1);
	return;
}
qt_QString * kde_KEMailSettings_getSetting( kde_KEMailSettings* instPointer,int s){
	return (qt_QString *)new QString(((KEMailSettingsBridge*)instPointer)->getSetting((KEMailSettings::Setting)s));
}
void kde_KEMailSettings_setSetting( kde_KEMailSettings* instPointer,int s, qt_QString * v){
	((KEMailSettingsBridge*)instPointer)->setSetting((KEMailSettings::Setting)s, (QString&)* (QString*)v);
	return;
}
//qt_QString * kde_KEMailSettings_getExtendedSetting( kde_KEMailSettings* instPointer,int e, qt_QString * s){
//	return (qt_QString *)new QString(((KEMailSettingsBridge*)instPointer)->getExtendedSetting((KEMailSettings::Extension)e, (QString&)* (QString*)s));
//}
//void kde_KEMailSettings_setExtendedSetting( kde_KEMailSettings* instPointer,int e, qt_QString * s, qt_QString * v){
//	((KEMailSettingsBridge*)instPointer)->setExtendedSetting((KEMailSettings::Extension)e, (QString&)* (QString*)s, (QString&)* (QString*)v);
//	return;
//}
