/***************************************************************************
                            kde_KURLCompletion.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_KURLCompletion.h"
}

#include <kurlcompletion.h>

class KURLCompletionBridge : public KURLCompletion
{
public:
	KURLCompletionBridge() : KURLCompletion() {}
	KURLCompletionBridge(Mode arg1) : KURLCompletion(arg1) {}
	~KURLCompletionBridge() {}
	void protected_postProcessMatch(QString* match) {
		KURLCompletion::postProcessMatch(match);
		return;
	}
	void protected_postProcessMatches(QStringList* matches) {
		KURLCompletion::postProcessMatches(matches);
		return;
	}
	void protected_postProcessMatches(KCompletionMatches* matches) {
		KURLCompletion::postProcessMatches(matches);
		return;
	}
	void protected_slotEntries(KIO::Job* arg1, const KIO::UDSEntryList& arg2) {
		KURLCompletion::slotEntries(arg1, arg2);
		return;
	}
	void protected_slotIOFinished(KIO::Job* arg1) {
		KURLCompletion::slotIOFinished(arg1);
		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_KURLCompletion * kde_new_KURLCompletion(){
	return (kde_KURLCompletion *) new KURLCompletionBridge();
}
kde_KURLCompletion * kde_new_KURLCompletion1(int arg1){
	return (kde_KURLCompletion *) new KURLCompletionBridge((KURLCompletion::Mode)arg1);
}
void kde_del_KURLCompletion( kde_KURLCompletion* p ){
	delete (KURLCompletionBridge*) p;
}
qt_QString * kde_KURLCompletion_makeCompletion( kde_KURLCompletion* instPointer,qt_QString * arg1){
	return (qt_QString *)new QString(((KURLCompletionBridge*)instPointer)->makeCompletion((QString&)* (QString*)arg1));
}
void kde_KURLCompletion_setDir( kde_KURLCompletion* instPointer,qt_QString * dir){
	((KURLCompletionBridge*)instPointer)->setDir((QString&)* (QString*)dir);
	return;
}
qt_QString * kde_KURLCompletion_dir( kde_KURLCompletion* instPointer){
	return (qt_QString *)new QString(((KURLCompletionBridge*)instPointer)->dir());
}
int kde_KURLCompletion_isRunning( kde_KURLCompletion* instPointer){
	return (int) ((KURLCompletionBridge*)instPointer)->isRunning();
}
void kde_KURLCompletion_stop( kde_KURLCompletion* instPointer){
	((KURLCompletionBridge*)instPointer)->stop();
	return;
}
int kde_KURLCompletion_mode( kde_KURLCompletion* instPointer){
	return (int) ((KURLCompletionBridge*)instPointer)->mode();
}
void kde_KURLCompletion_setMode( kde_KURLCompletion* instPointer,int mode){
	((KURLCompletionBridge*)instPointer)->setMode((KURLCompletion::Mode)mode);
	return;
}
int kde_KURLCompletion_replaceEnv( kde_KURLCompletion* instPointer){
	return (int) ((KURLCompletionBridge*)instPointer)->replaceEnv();
}
void kde_KURLCompletion_setReplaceEnv( kde_KURLCompletion* instPointer,int replace){
	((KURLCompletionBridge*)instPointer)->setReplaceEnv((bool)replace);
	return;
}
int kde_KURLCompletion_replaceHome( kde_KURLCompletion* instPointer){
	return (int) ((KURLCompletionBridge*)instPointer)->replaceHome();
}
void kde_KURLCompletion_setReplaceHome( kde_KURLCompletion* instPointer,int replace){
	((KURLCompletionBridge*)instPointer)->setReplaceHome((bool)replace);
	return;
}
qt_QString * kde_KURLCompletion_replacedPath( kde_KURLCompletion* instPointer,qt_QString * text){
	return (qt_QString *)new QString(((KURLCompletionBridge*)instPointer)->replacedPath((QString&)* (QString*)text));
}
void kde_KURLCompletion_postProcessMatch( kde_KURLCompletion* instPointer,qt_QString* match){
	((KURLCompletionBridge*)instPointer)->protected_postProcessMatch((QString*)match);
	return;
}
void kde_KURLCompletion_postProcessMatches( kde_KURLCompletion* instPointer,qt_QStringList* matches){
	((KURLCompletionBridge*)instPointer)->protected_postProcessMatches((QStringList*)matches);
	return;
}
void kde_KURLCompletion_postProcessMatches1( kde_KURLCompletion* instPointer,kde_KCompletionMatches* matches){
	((KURLCompletionBridge*)instPointer)->protected_postProcessMatches((KCompletionMatches*)matches);
	return;
}
//void kde_KURLCompletion_slotEntries( kde_KURLCompletion* instPointer,kde_Job* arg1, kde_UDSEntryList* arg2){
//	((KURLCompletionBridge*)instPointer)->protected_slotEntries((KIO::Job*)arg1, (KIO::UDSEntryList&)* (KIO::UDSEntryList*)arg2);
//	return;
//}
void kde_KURLCompletion_slotIOFinished( kde_KURLCompletion* instPointer,kde_Job* arg1){
	((KURLCompletionBridge*)instPointer)->protected_slotIOFinished((KIO::Job*)arg1);
	return;
}
