/***************************************************************************
                            qt_QLabel.cpp -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, 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 "qt_QLabel.h"
}

#include <qlabel.h>

class QLabelBridge : public QLabel
{
public:
	QLabelBridge(QWidget* parent, const char* name, WFlags f) : QLabel(parent, name, f) {}
	QLabelBridge(const QString& text, QWidget* parent, const char* name, WFlags f) : QLabel(text, parent, name, f) {}
	QLabelBridge(QWidget* buddy, const QString& arg1, QWidget* parent, const char* name, WFlags f) : QLabel(buddy, arg1, parent, name, f) {}
	~QLabelBridge() {}
	void protected_drawContents(QPainter* arg1) {
		QLabel::drawContents(arg1);
		return;
	}
	void protected_fontChange(const QFont& arg1) {
		QLabel::fontChange(arg1);
		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")) {
			QLabel::resizeEvent(arg1);
		}
		return;
	}
};

qt_QLabel * qt_new_QLabel(qt_QWidget * parent, char* name, int f){
	return (qt_QLabel *) new QLabelBridge((QWidget*)parent, (char*)name, (QWidget::WFlags)f);
}
qt_QLabel * qt_new_QLabel1(qt_QString * text, qt_QWidget * parent, char* name, int f){
	return (qt_QLabel *) new QLabelBridge((QString&)* (QString*)text, (QWidget*)parent, (char*)name, (QWidget::WFlags)f);
}
qt_QLabel * qt_new_QLabel2(qt_QWidget * buddy, qt_QString * arg1, qt_QWidget * parent, char* name, int f){
	return (qt_QLabel *) new QLabelBridge((QWidget*)buddy, (QString&)* (QString*)arg1, (QWidget*)parent, (char*)name, (QWidget::WFlags)f);
}
void qt_del_QLabel( qt_QLabel* p ){
	delete (QLabelBridge*) p;
}
qt_QString * qt_QLabel_text( qt_QLabel* instPointer){
	return (qt_QString *)new QString(((QLabelBridge*)instPointer)->text());
}
qt_QPixmap * qt_QLabel_pixmap( qt_QLabel* instPointer){
	return (qt_QPixmap *) ((QLabelBridge*)instPointer)->pixmap();
}
qt_QPicture* qt_QLabel_picture( qt_QLabel* instPointer){
	return (qt_QPicture*) ((QLabelBridge*)instPointer)->picture();
}
qt_QMovie * qt_QLabel_movie( qt_QLabel* instPointer){
	return (qt_QMovie *) ((QLabelBridge*)instPointer)->movie();
}
int qt_QLabel_textFormat( qt_QLabel* instPointer){
	return (int) ((QLabelBridge*)instPointer)->textFormat();
}
void qt_QLabel_setTextFormat( qt_QLabel* instPointer,int arg1){
	((QLabelBridge*)instPointer)->setTextFormat((Qt::TextFormat)arg1);
	return;
}
int qt_QLabel_alignment( qt_QLabel* instPointer){
	return (int) ((QLabelBridge*)instPointer)->alignment();
}
void qt_QLabel_setAlignment( qt_QLabel* instPointer,int arg1){
	((QLabelBridge*)instPointer)->setAlignment((int)arg1);
	return;
}
int qt_QLabel_indent( qt_QLabel* instPointer){
	return (int) ((QLabelBridge*)instPointer)->indent();
}
void qt_QLabel_setIndent( qt_QLabel* instPointer,int arg1){
	((QLabelBridge*)instPointer)->setIndent((int)arg1);
	return;
}
int qt_QLabel_autoResize( qt_QLabel* instPointer){
	return (int) ((QLabelBridge*)instPointer)->autoResize();
}
void qt_QLabel_setAutoResize( qt_QLabel* instPointer,int arg1){
	((QLabelBridge*)instPointer)->setAutoResize((bool)arg1);
	return;
}
int qt_QLabel_hasScaledContents( qt_QLabel* instPointer){
	return (int) ((QLabelBridge*)instPointer)->hasScaledContents();
}
void qt_QLabel_setScaledContents( qt_QLabel* instPointer,int arg1){
	((QLabelBridge*)instPointer)->setScaledContents((bool)arg1);
	return;
}
qt_QSize * qt_QLabel_sizeHint( qt_QLabel* instPointer){
	QSize _s= ((QLabelBridge*)instPointer)->sizeHint();
	return (qt_QSize *)new QSize(_s.width(),_s.height());
}
qt_QSize * qt_QLabel_minimumSizeHint( qt_QLabel* instPointer){
	QSize _s= ((QLabelBridge*)instPointer)->minimumSizeHint();
	return (qt_QSize *)new QSize(_s.width(),_s.height());
}
void qt_QLabel_setBuddy( qt_QLabel* instPointer,qt_QWidget * arg1){
	((QLabelBridge*)instPointer)->setBuddy((QWidget*)arg1);
	return;
}
qt_QWidget * qt_QLabel_buddy( qt_QLabel* instPointer){
	return (qt_QWidget *) ((QLabelBridge*)instPointer)->buddy();
}
int qt_QLabel_heightForWidth( qt_QLabel* instPointer,int arg1){
	return (int) ((QLabelBridge*)instPointer)->heightForWidth((int)arg1);
}
void qt_QLabel_setFont( qt_QLabel* instPointer,qt_QFont * f){
	((QLabelBridge*)instPointer)->setFont((QFont&)* (QFont*)f);
	return;
}
void qt_QLabel_setText( qt_QLabel* instPointer,qt_QString * arg1){
	((QLabelBridge*)instPointer)->setText((QString&)* (QString*)arg1);
	return;
}
void qt_QLabel_setPixmap( qt_QLabel* instPointer,qt_QPixmap * arg1){
	((QLabelBridge*)instPointer)->setPixmap((QPixmap&)* (QPixmap*)arg1);
	return;
}
void qt_QLabel_setPicture( qt_QLabel* instPointer,qt_QPicture * arg1){
	((QLabelBridge*)instPointer)->setPicture((QPicture&)* (QPicture*)arg1);
	return;
}
void qt_QLabel_setMovie( qt_QLabel* instPointer,qt_QMovie * arg1){
	((QLabelBridge*)instPointer)->setMovie((QMovie&)* (QMovie*)arg1);
	return;
}
void qt_QLabel_setNum( qt_QLabel* instPointer,int arg1){
	((QLabelBridge*)instPointer)->setNum((int)arg1);
	return;
}
void qt_QLabel_setNum1( qt_QLabel* instPointer,double arg1){
	((QLabelBridge*)instPointer)->setNum((double)arg1);
	return;
}
void qt_QLabel_clear( qt_QLabel* instPointer){
	((QLabelBridge*)instPointer)->clear();
	return;
}
void qt_QLabel_drawContents( qt_QLabel* instPointer,qt_QPainter * arg1){
	((QLabelBridge*)instPointer)->protected_drawContents((QPainter*)arg1);
	return;
}
void qt_QLabel_fontChange( qt_QLabel* instPointer,qt_QFont * arg1){
	((QLabelBridge*)instPointer)->protected_fontChange((QFont&)* (QFont*)arg1);
	return;
}
