/***************************************************************************
                            qt_QSlider.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_QSlider.h"
}

#include <qslider.h>

class QSliderBridge : public QSlider
{
public:
	QSliderBridge(QWidget* parent, const char* name) : QSlider(parent, name) {}
	QSliderBridge(Orientation arg1, QWidget* parent, const char* name) : QSlider(arg1, parent, name) {}
	QSliderBridge(int minValue, int maxValue, int pageStep, int value, Orientation arg1, QWidget* parent, const char* name) : QSlider(minValue, maxValue, pageStep, value, arg1, parent, name) {}
	void protected_styleChange(QStyle& arg1) {
		QSlider::styleChange(arg1);
		return;
	}
	void protected_valueChange() {
		QSlider::valueChange();
		return;
	}
	void protected_rangeChange() {
		QSlider::rangeChange();
		return;
	}
	void keyPressEvent(QKeyEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "keyPressEvent", arg1, "QKeyEvent")) {
			QSlider::keyPressEvent(arg1);
		}
		return;
	}
	void keyReleaseEvent(QKeyEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "keyReleaseEvent", arg1, "QKeyEvent")) {
			QWidget::keyReleaseEvent(arg1);
		}
		return;
	}
	void focusOutEvent(QFocusEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "focusOutEvent", e, "QFocusEvent")) {
			QSlider::focusOutEvent(e);
		}
		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")) {
			QSlider::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")) {
			QSlider::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* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "focusInEvent", e, "QFocusEvent")) {
			QSlider::focusInEvent(e);
		}
		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")) {
			QSlider::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")) {
			QSlider::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")) {
			QSlider::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")) {
			QSlider::resizeEvent(arg1);
		}
		return;
	}
};

qt_QSlider * qt_new_QSlider(qt_QWidget * parent, char* name){
	return (qt_QSlider *) new QSliderBridge((QWidget*)parent, (char*)name);
}
qt_QSlider * qt_new_QSlider1(int arg1, qt_QWidget * parent, char* name){
	return (qt_QSlider *) new QSliderBridge((Qt::Orientation)arg1, (QWidget*)parent, (char*)name);
}
qt_QSlider * qt_new_QSlider2(int minValue, int maxValue, int pageStep, int value, int arg1, qt_QWidget * parent, char* name){
	return (qt_QSlider *) new QSliderBridge((int)minValue, (int)maxValue, (int)pageStep, (int)value, (Qt::Orientation)arg1, (QWidget*)parent, (char*)name);
}
void qt_QSlider_setOrientation( qt_QSlider* instPointer,int arg1){
	((QSliderBridge*)instPointer)->setOrientation((Qt::Orientation)arg1);
	return;
}
int qt_QSlider_orientation( qt_QSlider* instPointer){
	return (int) ((QSliderBridge*)instPointer)->orientation();
}
void qt_QSlider_setTracking( qt_QSlider* instPointer,int enable){
	((QSliderBridge*)instPointer)->setTracking((bool)enable);
	return;
}
int qt_QSlider_tracking( qt_QSlider* instPointer){
	return (int) ((QSliderBridge*)instPointer)->tracking();
}
void qt_QSlider_setPalette( qt_QSlider* instPointer,qt_QPalette * arg1){
	((QSliderBridge*)instPointer)->setPalette((QPalette&)* (QPalette*)arg1);
	return;
}
int qt_QSlider_sliderStart( qt_QSlider* instPointer){
	return (int) ((QSliderBridge*)instPointer)->sliderStart();
}
qt_QRect* qt_QSlider_sliderRect( qt_QSlider* instPointer){
	QRect _r= ((QSliderBridge*)instPointer)->sliderRect();
	return (qt_QRect*)new QRect(_r.left(),_r.top(),_r.width(),_r.height());
}
qt_QSize * qt_QSlider_sizeHint( qt_QSlider* instPointer){
	QSize _s= ((QSliderBridge*)instPointer)->sizeHint();
	return (qt_QSize *)new QSize(_s.width(),_s.height());
}
qt_QSizePolicy* qt_QSlider_sizePolicy( qt_QSlider* instPointer){
	QSizePolicy _s= ((QSliderBridge*)instPointer)->sizePolicy();
	return (qt_QSizePolicy*)new QSizePolicy(_s.horData(),_s.verData(),_s.hasHeightForWidth());
}
qt_QSize * qt_QSlider_minimumSizeHint( qt_QSlider* instPointer){
	QSize _s= ((QSliderBridge*)instPointer)->minimumSizeHint();
	return (qt_QSize *)new QSize(_s.width(),_s.height());
}
void qt_QSlider_setTickmarks( qt_QSlider* instPointer,int arg1){
	((QSliderBridge*)instPointer)->setTickmarks((QSlider::TickSetting)arg1);
	return;
}
int qt_QSlider_tickmarks( qt_QSlider* instPointer){
	return (int) ((QSliderBridge*)instPointer)->tickmarks();
}
void qt_QSlider_setTickInterval( qt_QSlider* instPointer,int arg1){
	((QSliderBridge*)instPointer)->setTickInterval((int)arg1);
	return;
}
int qt_QSlider_tickInterval( qt_QSlider* instPointer){
	return (int) ((QSliderBridge*)instPointer)->tickInterval();
}
int qt_QSlider_minValue( qt_QSlider* instPointer){
	return (int) ((QSliderBridge*)instPointer)->minValue();
}
int qt_QSlider_maxValue( qt_QSlider* instPointer){
	return (int) ((QSliderBridge*)instPointer)->maxValue();
}
void qt_QSlider_setMinValue( qt_QSlider* instPointer,int arg1){
	((QSliderBridge*)instPointer)->setMinValue((int)arg1);
	return;
}
void qt_QSlider_setMaxValue( qt_QSlider* instPointer,int arg1){
	((QSliderBridge*)instPointer)->setMaxValue((int)arg1);
	return;
}
int qt_QSlider_lineStep( qt_QSlider* instPointer){
	return (int) ((QSliderBridge*)instPointer)->lineStep();
}
int qt_QSlider_pageStep( qt_QSlider* instPointer){
	return (int) ((QSliderBridge*)instPointer)->pageStep();
}
void qt_QSlider_setLineStep( qt_QSlider* instPointer,int arg1){
	((QSliderBridge*)instPointer)->setLineStep((int)arg1);
	return;
}
void qt_QSlider_setPageStep( qt_QSlider* instPointer,int arg1){
	((QSliderBridge*)instPointer)->setPageStep((int)arg1);
	return;
}
int qt_QSlider_value( qt_QSlider* instPointer){
	return (int) ((QSliderBridge*)instPointer)->value();
}
void qt_QSlider_setValue( qt_QSlider* instPointer,int arg1){
	((QSliderBridge*)instPointer)->setValue((int)arg1);
	return;
}
void qt_QSlider_addStep( qt_QSlider* instPointer){
	((QSliderBridge*)instPointer)->addStep();
	return;
}
void qt_QSlider_subtractStep( qt_QSlider* instPointer){
	((QSliderBridge*)instPointer)->subtractStep();
	return;
}
void qt_QSlider_styleChange( qt_QSlider* instPointer,qt_QStyle* arg1){
	((QSliderBridge*)instPointer)->protected_styleChange((QStyle&)* (QStyle*)arg1);
	return;
}
void qt_QSlider_valueChange( qt_QSlider* instPointer){
	((QSliderBridge*)instPointer)->protected_valueChange();
	return;
}
void qt_QSlider_rangeChange( qt_QSlider* instPointer){
	((QSliderBridge*)instPointer)->protected_rangeChange();
	return;
}
qt_QRangeControl* qt_QSlider_QRangeControl(qt_QSlider* instPointer){
	return (qt_QRangeControl*) (QRangeControl *) (QSlider *) instPointer;
}
qt_QWidget * qt_QSlider_QWidget(qt_QSlider* instPointer){
	return (qt_QWidget *) (QWidget *) (QSlider *) instPointer;
}
