/***************************************************************************
                            kde_KAutoMount.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_KAutoMount.h"
}

#include <kautomount.h>

class KAutoMountBridge : public KAutoMount
{
public:
//	KAutoMountBridge(bool readonly, const QString& format, const QString& device, const QString& mountpoint, const QString& desktopFile, bool show_filemanager_window) : KAutoMount(readonly, format, device, mountpoint, desktopFile, show_filemanager_window) {}
	void protected_slotResult(KIO::Job* arg1) {
		KAutoMount::slotResult(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;
	}
	void childEvent(QChildEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "childEvent", arg1, "QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
};

//kde_KAutoMount * kde_new_KAutoMount(int readonly, qt_QString * format, qt_QString * device, qt_QString * mountpoint, qt_QString * desktopFile, int show_filemanager_window){
//	return (kde_KAutoMount *) new KAutoMountBridge((bool)readonly, (QString&)* (QString*)format, (QString&)* (QString*)device, (QString&)* (QString*)mountpoint, (QString&)* (QString*)desktopFile, (bool)show_filemanager_window);
//}
void kde_KAutoMount_slotResult( kde_KAutoMount* instPointer,kde_Job* arg1){
	((KAutoMountBridge*)instPointer)->protected_slotResult((KIO::Job*)arg1);
	return;
}
