/***************************************************************************
                            kde_KPanelApplet.cpp -  description
                             -------------------
    begin                : Tue Mar 19 20:11:49 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Mar 19 20:11:49 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_KPanelApplet.h"
}

#include <kpanelapplet.h>

class KPanelAppletBridge : public KPanelApplet
{
public:
	KPanelAppletBridge(const QString& configFile, Type t, int actions, QWidget* parent, const char* name, WFlags f) : KPanelApplet(configFile, t, actions, parent, name, f) {}
	~KPanelAppletBridge() {}
	void protected_about() {
		KPanelApplet::about();
		return;
	}
	void protected_help() {
		KPanelApplet::help();
		return;
	}
	void protected_preferences() {
		KPanelApplet::preferences();
		return;
	}
	void protected_reportBug() {
		KPanelApplet::reportBug();
		return;
	}
	Orientation  protected_orientation() {
		return (Orientation ) KPanelApplet::orientation();
	}
	Position  protected_position() {
		return (Position ) KPanelApplet::position();
	}
	Alignment  protected_alignment() {
		return (Alignment ) KPanelApplet::alignment();
	}
	void protected_positionChange(Position p) {
		KPanelApplet::positionChange(p);
		return;
	}
	void protected_alignmentChange(Alignment a) {
		KPanelApplet::alignmentChange(a);
		return;
	}
	void protected_orientationChange(Orientation arg1) {
		KPanelApplet::orientationChange(arg1);
		return;
	}
	Direction  protected_popupDirection() {
		return (Direction ) KPanelApplet::popupDirection();
	}
	void protected_popupDirectionChange(Direction arg1) {
		KPanelApplet::popupDirectionChange(arg1);
		return;
	}
	void protected_virtual_hook(int id, void* data) {
		KPanelApplet::virtual_hook(id, data);
		return;
	}
	void keyPressEvent(QKeyEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "keyPressEvent", arg1, "QKeyEvent")) {
			QWidget::keyPressEvent(arg1);
		}
		return;
	}
	void keyReleaseEvent(QKeyEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "keyReleaseEvent", arg1, "QKeyEvent")) {
			QWidget::keyReleaseEvent(arg1);
		}
		return;
	}
	void focusOutEvent(QFocusEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "focusOutEvent", arg1, "QFocusEvent")) {
			QWidget::focusOutEvent(arg1);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "childEvent", arg1, "QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void dragMoveEvent(QDragMoveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dragMoveEvent", arg1, "QDragMoveEvent")) {
			QWidget::dragMoveEvent(arg1);
		}
		return;
	}
	void leaveEvent(QEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "leaveEvent", arg1, "QEvent")) {
			QWidget::leaveEvent(arg1);
		}
		return;
	}
	void tabletEvent(QTabletEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "tabletEvent", arg1, "QTabletEvent")) {
			QWidget::tabletEvent(arg1);
		}
		return;
	}
	void showEvent(QShowEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "showEvent", arg1, "QShowEvent")) {
			QWidget::showEvent(arg1);
		}
		return;
	}
	void contextMenuEvent(QContextMenuEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contextMenuEvent", arg1, "QContextMenuEvent")) {
			QWidget::contextMenuEvent(arg1);
		}
		return;
	}
	void mousePressEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mousePressEvent", arg1, "QMouseEvent")) {
			QWidget::mousePressEvent(arg1);
		}
		return;
	}
	void imComposeEvent(QIMEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "imComposeEvent", arg1, "QIMEvent")) {
			QWidget::imComposeEvent(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "customEvent", arg1, "QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void mouseReleaseEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mouseReleaseEvent", arg1, "QMouseEvent")) {
			QWidget::mouseReleaseEvent(arg1);
		}
		return;
	}
	void mouseDoubleClickEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mouseDoubleClickEvent", arg1, "QMouseEvent")) {
			QWidget::mouseDoubleClickEvent(arg1);
		}
		return;
	}
	void dragLeaveEvent(QDragLeaveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dragLeaveEvent", arg1, "QDragLeaveEvent")) {
			QWidget::dragLeaveEvent(arg1);
		}
		return;
	}
	void enterEvent(QEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "enterEvent", arg1, "QEvent")) {
			QWidget::enterEvent(arg1);
		}
		return;
	}
	void focusInEvent(QFocusEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "focusInEvent", arg1, "QFocusEvent")) {
			QWidget::focusInEvent(arg1);
		}
		return;
	}
	void imEndEvent(QIMEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "imEndEvent", arg1, "QIMEvent")) {
			QWidget::imEndEvent(arg1);
		}
		return;
	}
	void dropEvent(QDropEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dropEvent", arg1, "QDropEvent")) {
			QWidget::dropEvent(arg1);
		}
		return;
	}
	void dragEnterEvent(QDragEnterEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dragEnterEvent", arg1, "QDragEnterEvent")) {
			QWidget::dragEnterEvent(arg1);
		}
		return;
	}
	void mouseMoveEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mouseMoveEvent", arg1, "QMouseEvent")) {
			QWidget::mouseMoveEvent(arg1);
		}
		return;
	}
	void moveEvent(QMoveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "moveEvent", arg1, "QMoveEvent")) {
			QWidget::moveEvent(arg1);
		}
		return;
	}
	void wheelEvent(QWheelEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "wheelEvent", arg1, "QWheelEvent")) {
			QWidget::wheelEvent(arg1);
		}
		return;
	}
	void hideEvent(QHideEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "hideEvent", arg1, "QHideEvent")) {
			QWidget::hideEvent(arg1);
		}
		return;
	}
	void imStartEvent(QIMEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "imStartEvent", arg1, "QIMEvent")) {
			QWidget::imStartEvent(arg1);
		}
		return;
	}
	void closeEvent(QCloseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "closeEvent", arg1, "QCloseEvent")) {
			QWidget::closeEvent(arg1);
		}
		return;
	}
	void paintEvent(QPaintEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "paintEvent", arg1, "QPaintEvent")) {
			QFrame::paintEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "timerEvent", arg1, "QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
	void resizeEvent(QResizeEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "resizeEvent", arg1, "QResizeEvent")) {
			QFrame::resizeEvent(arg1);
		}
		return;
	}
};

kde_KPanelApplet * kde_new_KPanelApplet(qt_QString * configFile, int t, int actions, qt_QWidget * parent, char* name, int f){
	return (kde_KPanelApplet *) new KPanelAppletBridge((QString&)* (QString*)configFile, (KPanelApplet::Type)t, (int)actions, (QWidget*)parent, (char*)name, (QWidget::WFlags)f);
}
void kde_del_KPanelApplet( kde_KPanelApplet* p ){
	delete (KPanelAppletBridge*) p;
}
int kde_KPanelApplet_widthForHeight( kde_KPanelApplet* instPointer,int height){
	return (int) ((KPanelAppletBridge*)instPointer)->widthForHeight((int)height);
}
int kde_KPanelApplet_heightForWidth( kde_KPanelApplet* instPointer,int width){
	return (int) ((KPanelAppletBridge*)instPointer)->heightForWidth((int)width);
}
kde_KConfig* kde_KPanelApplet_config( kde_KPanelApplet* instPointer){
	return (kde_KConfig*) ((KPanelAppletBridge*)instPointer)->config();
}
int kde_KPanelApplet_type( kde_KPanelApplet* instPointer){
	return (int) ((KPanelAppletBridge*)instPointer)->type();
}
int kde_KPanelApplet_actions( kde_KPanelApplet* instPointer){
	return (int) ((KPanelAppletBridge*)instPointer)->actions();
}
void kde_KPanelApplet_action( kde_KPanelApplet* instPointer,int a){
	((KPanelAppletBridge*)instPointer)->action((KPanelApplet::Action)a);
	return;
}
void kde_KPanelApplet_setPosition( kde_KPanelApplet* instPointer,int p){
	((KPanelAppletBridge*)instPointer)->setPosition((KPanelApplet::Position)p);
	return;
}
void kde_KPanelApplet_setAlignment( kde_KPanelApplet* instPointer,int a){
	((KPanelAppletBridge*)instPointer)->setAlignment((KPanelApplet::Alignment)a);
	return;
}
void kde_KPanelApplet_about( kde_KPanelApplet* instPointer){
	((KPanelAppletBridge*)instPointer)->protected_about();
	return;
}
void kde_KPanelApplet_help( kde_KPanelApplet* instPointer){
	((KPanelAppletBridge*)instPointer)->protected_help();
	return;
}
void kde_KPanelApplet_preferences( kde_KPanelApplet* instPointer){
	((KPanelAppletBridge*)instPointer)->protected_preferences();
	return;
}
void kde_KPanelApplet_reportBug( kde_KPanelApplet* instPointer){
	((KPanelAppletBridge*)instPointer)->protected_reportBug();
	return;
}
int kde_KPanelApplet_orientation( kde_KPanelApplet* instPointer){
	return (int) ((KPanelAppletBridge*)instPointer)->protected_orientation();
}
int kde_KPanelApplet_position( kde_KPanelApplet* instPointer){
	return (int) ((KPanelAppletBridge*)instPointer)->protected_position();
}
int kde_KPanelApplet_alignment( kde_KPanelApplet* instPointer){
	return (int) ((KPanelAppletBridge*)instPointer)->protected_alignment();
}
void kde_KPanelApplet_positionChange( kde_KPanelApplet* instPointer,int p){
	((KPanelAppletBridge*)instPointer)->protected_positionChange((KPanelApplet::Position)p);
	return;
}
void kde_KPanelApplet_alignmentChange( kde_KPanelApplet* instPointer,int a){
	((KPanelAppletBridge*)instPointer)->protected_alignmentChange((KPanelApplet::Alignment)a);
	return;
}
void kde_KPanelApplet_orientationChange( kde_KPanelApplet* instPointer,int arg1){
	((KPanelAppletBridge*)instPointer)->protected_orientationChange((Qt::Orientation)arg1);
	return;
}
int kde_KPanelApplet_popupDirection( kde_KPanelApplet* instPointer){
	return (int) ((KPanelAppletBridge*)instPointer)->protected_popupDirection();
}
void kde_KPanelApplet_popupDirectionChange( kde_KPanelApplet* instPointer,int arg1){
	((KPanelAppletBridge*)instPointer)->protected_popupDirectionChange((KPanelApplet::Direction)arg1);
	return;
}
void kde_KPanelApplet_virtual_hook( kde_KPanelApplet* instPointer,int identifier, void* data){
	((KPanelAppletBridge*)instPointer)->protected_virtual_hook((int)identifier, (void*)data);
	return;
}
