/***************************************************************************
                            kde_KHelpMenu.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_KHelpMenu.h"
}

#include <khelpmenu.h>

class KHelpMenuBridge : public KHelpMenu
{
public:
	KHelpMenuBridge(QWidget* parent, const QString& aboutAppText, bool showWhatsThis) : KHelpMenu(parent, aboutAppText, showWhatsThis) {}
	KHelpMenuBridge(QWidget* parent, const KAboutData* aboutData, bool showWhatsThis, KActionCollection* actions) : KHelpMenu(parent, aboutData, showWhatsThis, actions) {}
	~KHelpMenuBridge() {}
	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_KHelpMenu * kde_new_KHelpMenu(qt_QWidget * parent, qt_QString * aboutAppText, int showWhatsThis){
	return (kde_KHelpMenu *) new KHelpMenuBridge((QWidget*)parent, (QString&)* (QString*)aboutAppText, (bool)showWhatsThis);
}
kde_KHelpMenu * kde_new_KHelpMenu1(qt_QWidget * parent, kde_KAboutData* aboutData, int showWhatsThis, kde_KActionCollection* actions){
	return (kde_KHelpMenu *) new KHelpMenuBridge((QWidget*)parent, (KAboutData*)aboutData, (bool)showWhatsThis, (KActionCollection*)actions);
}
void kde_del_KHelpMenu( kde_KHelpMenu* p ){
	delete (KHelpMenuBridge*) p;
}
kde_KPopupMenu* kde_KHelpMenu_menu( kde_KHelpMenu* instPointer){
	return (kde_KPopupMenu*) ((KHelpMenuBridge*)instPointer)->menu();
}
void kde_KHelpMenu_appHelpActivated( kde_KHelpMenu* instPointer){
	((KHelpMenuBridge*)instPointer)->appHelpActivated();
	return;
}
void kde_KHelpMenu_contextHelpActivated( kde_KHelpMenu* instPointer){
	((KHelpMenuBridge*)instPointer)->contextHelpActivated();
	return;
}
void kde_KHelpMenu_aboutApplication( kde_KHelpMenu* instPointer){
	((KHelpMenuBridge*)instPointer)->aboutApplication();
	return;
}
void kde_KHelpMenu_aboutKDE( kde_KHelpMenu* instPointer){
	((KHelpMenuBridge*)instPointer)->aboutKDE();
	return;
}
void kde_KHelpMenu_reportBug( kde_KHelpMenu* instPointer){
	((KHelpMenuBridge*)instPointer)->reportBug();
	return;
}
