/***************************************************************************
                            kde_KAboutData.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_KAboutData.h"
}

#include <kaboutdata.h>

class KAboutDataBridge : public KAboutData
{
public:
	KAboutDataBridge(const char* appName, const char* programName, const char* version, const char* shortDescription, int licenseType, const char* copyrightStatement, const char* text, const char* homePageAddress, const char* bugsEmailAddress) : KAboutData(appName, programName, version, shortDescription, licenseType, copyrightStatement, text, homePageAddress, bugsEmailAddress) {}
	~KAboutDataBridge() {}
};

kde_KAboutData * kde_new_KAboutData(char* appName, char* programName, char* version, char* shortDescription, int licenseType, char* copyrightStatement, char* text, char* homePageAddress, char* bugsEmailAddress){
	return (kde_KAboutData *) new KAboutDataBridge((char*)appName, (char*)programName, (char*)version, (char*)shortDescription, (int)licenseType, (char*)copyrightStatement, (char*)text, (char*)homePageAddress, (char*)bugsEmailAddress);
}
void kde_del_KAboutData( kde_KAboutData* p ){
	delete (KAboutDataBridge*) p;
}
void kde_KAboutData_addAuthor( kde_KAboutData* instPointer,char* name, char* task, char* emailAddress, char* webAddress){
	((KAboutDataBridge*)instPointer)->addAuthor((char*)name, (char*)task, (char*)emailAddress, (char*)webAddress);
	return;
}
void kde_KAboutData_addCredit( kde_KAboutData* instPointer,char* name, char* task, char* emailAddress, char* webAddress){
	((KAboutDataBridge*)instPointer)->addCredit((char*)name, (char*)task, (char*)emailAddress, (char*)webAddress);
	return;
}
void kde_KAboutData_setTranslator( kde_KAboutData* instPointer,char* name, char* emailAddress){
	((KAboutDataBridge*)instPointer)->setTranslator((char*)name, (char*)emailAddress);
	return;
}
void kde_KAboutData_setLicenseText( kde_KAboutData* instPointer,char* license){
	((KAboutDataBridge*)instPointer)->setLicenseText((char*)license);
	return;
}
void kde_KAboutData_setLicenseTextFile( kde_KAboutData* instPointer,qt_QString * file){
	((KAboutDataBridge*)instPointer)->setLicenseTextFile((QString&)* (QString*)file);
	return;
}
char* kde_KAboutData_appName( kde_KAboutData* instPointer){
	return (char*) ((KAboutDataBridge*)instPointer)->appName();
}
qt_QString * kde_KAboutData_programName( kde_KAboutData* instPointer){
	return (qt_QString *)new QString(((KAboutDataBridge*)instPointer)->programName());
}
qt_QString * kde_KAboutData_version( kde_KAboutData* instPointer){
	return (qt_QString *)new QString(((KAboutDataBridge*)instPointer)->version());
}
qt_QString * kde_KAboutData_shortDescription( kde_KAboutData* instPointer){
	return (qt_QString *)new QString(((KAboutDataBridge*)instPointer)->shortDescription());
}
qt_QString * kde_KAboutData_homepage( kde_KAboutData* instPointer){
	return (qt_QString *)new QString(((KAboutDataBridge*)instPointer)->homepage());
}
qt_QString * kde_KAboutData_bugAddress( kde_KAboutData* instPointer){
	return (qt_QString *)new QString(((KAboutDataBridge*)instPointer)->bugAddress());
}
qt_QString * kde_KAboutData_otherText( kde_KAboutData* instPointer){
	return (qt_QString *)new QString(((KAboutDataBridge*)instPointer)->otherText());
}
qt_QString * kde_KAboutData_license( kde_KAboutData* instPointer){
	return (qt_QString *)new QString(((KAboutDataBridge*)instPointer)->license());
}
qt_QString * kde_KAboutData_copyrightStatement( kde_KAboutData* instPointer){
	return (qt_QString *)new QString(((KAboutDataBridge*)instPointer)->copyrightStatement());
}
qt_QString * kde_KAboutData_aboutTranslationTeam( ){
	return (qt_QString *)new QString(KAboutDataBridge::aboutTranslationTeam());
}
