/***************************************************************************
                            kde_KSycoca.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_KSycoca.h"
}

#include <ksycoca.h>

class KSycocaBridge : public KSycoca
{
public:
	KSycocaBridge() : KSycoca() {}
	~KSycocaBridge() {}
	KSycocaBridge(bool arg1) : KSycoca(arg1) {}
	bool  protected_checkVersion(bool abortOnError) {
		return (bool ) KSycoca::checkVersion(abortOnError);
	}
	bool  protected_openDatabase(bool openDummyIfNotFound) {
		return (bool ) KSycoca::openDatabase(openDummyIfNotFound);
	}
	void protected_closeDatabase() {
		KSycoca::closeDatabase();
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "childEvent", arg1, "QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "customEvent", arg1, "QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "timerEvent", arg1, "QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
};

kde_KSycoca * kde_new_KSycoca(){
	return (kde_KSycoca *) new KSycocaBridge();
}
void kde_del_KSycoca( kde_KSycoca* p ){
	delete (KSycocaBridge*) p;
}
//qt_QDataStream* kde_KSycoca_findEntry( kde_KSycoca* instPointer,int offset, kde_KSycocaType* type){
//	return (qt_QDataStream*) ((KSycocaBridge*)instPointer)->findEntry((int)offset, (KSycocaType&)* (KSycocaType*)type);
//}
//qt_QDataStream* kde_KSycoca_findFactory( kde_KSycoca* instPointer,kde_KSycocaFactoryId identifier){
//	return (qt_QDataStream*) ((KSycocaBridge*)instPointer)->findFactory((KSycocaFactoryId)identifier);
//}
qt_QString * kde_KSycoca_kfsstnd_prefixes( kde_KSycoca* instPointer){
	return (qt_QString *)new QString(((KSycocaBridge*)instPointer)->kfsstnd_prefixes());
}
qt_QString * kde_KSycoca_language( kde_KSycoca* instPointer){
	return (qt_QString *)new QString(((KSycocaBridge*)instPointer)->language());
}
unsigned int kde_KSycoca_timeStamp( kde_KSycoca* instPointer){
	return (unsigned int) ((KSycocaBridge*)instPointer)->timeStamp();
}
//void kde_KSycoca_addFactory( kde_KSycoca* instPointer,kde_KSycocaFactory* arg1){
//	((KSycocaBridge*)instPointer)->addFactory((KSycocaFactory*)arg1);
//	return;
//}
int kde_KSycoca_isBuilding( kde_KSycoca* instPointer){
	return (int) ((KSycocaBridge*)instPointer)->isBuilding();
}
kde_KSycoca* kde_KSycoca_self( ){
	return (kde_KSycoca*) KSycocaBridge::self();
}
qt_QString * kde_KSycoca_determineRelativePath( qt_QString * _fullpath, char* _resource){
	return (qt_QString *)new QString(KSycocaBridge::determineRelativePath((QString&)* (QString*)_fullpath, (char*)_resource));
}
int kde_KSycoca_isChanged( char* type){
	return (int) KSycocaBridge::isChanged((char*)type);
}
kde_KSycoca * kde_new_KSycoca1(int arg1){
	return (kde_KSycoca *) new KSycocaBridge((bool)arg1);
}
int kde_KSycoca_checkVersion( kde_KSycoca* instPointer,int abortOnError){
	return (int) ((KSycocaBridge*)instPointer)->protected_checkVersion((bool)abortOnError);
}
int kde_KSycoca_openDatabase( kde_KSycoca* instPointer,int openDummyIfNotFound){
	return (int) ((KSycocaBridge*)instPointer)->protected_openDatabase((bool)openDummyIfNotFound);
}
void kde_KSycoca_closeDatabase( kde_KSycoca* instPointer){
	((KSycocaBridge*)instPointer)->protected_closeDatabase();
	return;
}
kde_DCOPObject* kde_KSycoca_DCOPObject(kde_KSycoca* instPointer){
	return (kde_DCOPObject*) (DCOPObject *) (KSycoca *) instPointer;
}
qt_QObject * kde_KSycoca_QObject(kde_KSycoca* instPointer){
	return (qt_QObject *) (QObject *) (KSycoca *) instPointer;
}
