/***************************************************************************
                            qt_QMovie.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_QMovie.h"
}

#include <qmovie.h>
#include <qimage.h>

class QMovieBridge : public QMovie
{
public:
	QMovieBridge() : QMovie() {}
	QMovieBridge(int bufsize) : QMovie(bufsize) {}
	QMovieBridge(QDataSource* arg1, int bufsize) : QMovie(arg1, bufsize) {}
	QMovieBridge(const QString& fileName, int bufsize) : QMovie(fileName, bufsize) {}
	QMovieBridge(QByteArray data, int bufsize) : QMovie(data, bufsize) {}
	QMovieBridge(const QMovie& arg1) : QMovie(arg1) {}
	~QMovieBridge() {}
};

qt_QMovie * qt_new_QMovie(){
	return (qt_QMovie *) new QMovieBridge();
}
qt_QMovie * qt_new_QMovie1(int bufsize){
	return (qt_QMovie *) new QMovieBridge((int)bufsize);
}
qt_QMovie * qt_new_QMovie2(qt_QDataSource* arg1, int bufsize){
	return (qt_QMovie *) new QMovieBridge((QDataSource*)arg1, (int)bufsize);
}
qt_QMovie * qt_new_QMovie3(qt_QString * fileName, int bufsize){
	return (qt_QMovie *) new QMovieBridge((QString&)* (QString*)fileName, (int)bufsize);
}
qt_QMovie * qt_new_QMovie4(qt_QByteArray* data, int bufsize){
	return (qt_QMovie *) new QMovieBridge((QByteArray)* (QByteArray*)data, (int)bufsize);
}
qt_QMovie * qt_new_QMovie5(qt_QMovie * arg1){
	return (qt_QMovie *) new QMovieBridge((QMovie&)* (QMovie*)arg1);
}
void qt_del_QMovie( qt_QMovie* p ){
	delete (QMovieBridge*) p;
}
int qt_QMovie_pushSpace( qt_QMovie* instPointer){
	return (int) ((QMovieBridge*)instPointer)->pushSpace();
}
void qt_QMovie_pushData( qt_QMovie* instPointer,unsigned char* data, int length){
	((QMovieBridge*)instPointer)->pushData((uchar*)data, (int)length);
	return;
}
qt_QColor * qt_QMovie_backgroundColor( qt_QMovie* instPointer){
	return (qt_QColor *) (const QColor *)&((QMovieBridge*)instPointer)->backgroundColor();
}
void qt_QMovie_setBackgroundColor( qt_QMovie* instPointer,qt_QColor * arg1){
	((QMovieBridge*)instPointer)->setBackgroundColor((QColor&)* (QColor*)arg1);
	return;
}
qt_QRect* qt_QMovie_getValidRect( qt_QMovie* instPointer){
	return (qt_QRect*) (const QRect *)&((QMovieBridge*)instPointer)->getValidRect();
}
qt_QPixmap * qt_QMovie_framePixmap( qt_QMovie* instPointer){
	return (qt_QPixmap *) (const QPixmap *)&((QMovieBridge*)instPointer)->framePixmap();
}
qt_QImage * qt_QMovie_frameImage( qt_QMovie* instPointer){
	return (qt_QImage *) (const QImage *)&((QMovieBridge*)instPointer)->frameImage();
}
int qt_QMovie_isNull( qt_QMovie* instPointer){
	return (int) ((QMovieBridge*)instPointer)->isNull();
}
int qt_QMovie_frameNumber( qt_QMovie* instPointer){
	return (int) ((QMovieBridge*)instPointer)->frameNumber();
}
int qt_QMovie_steps( qt_QMovie* instPointer){
	return (int) ((QMovieBridge*)instPointer)->steps();
}
int qt_QMovie_paused( qt_QMovie* instPointer){
	return (int) ((QMovieBridge*)instPointer)->paused();
}
int qt_QMovie_finished( qt_QMovie* instPointer){
	return (int) ((QMovieBridge*)instPointer)->finished();
}
int qt_QMovie_running( qt_QMovie* instPointer){
	return (int) ((QMovieBridge*)instPointer)->running();
}
void qt_QMovie_unpause( qt_QMovie* instPointer){
	((QMovieBridge*)instPointer)->unpause();
	return;
}
void qt_QMovie_pause( qt_QMovie* instPointer){
	((QMovieBridge*)instPointer)->pause();
	return;
}
void qt_QMovie_step( qt_QMovie* instPointer){
	((QMovieBridge*)instPointer)->step();
	return;
}
void qt_QMovie_step1( qt_QMovie* instPointer,int arg1){
	((QMovieBridge*)instPointer)->step((int)arg1);
	return;
}
void qt_QMovie_restart( qt_QMovie* instPointer){
	((QMovieBridge*)instPointer)->restart();
	return;
}
int qt_QMovie_speed( qt_QMovie* instPointer){
	return (int) ((QMovieBridge*)instPointer)->speed();
}
void qt_QMovie_setSpeed( qt_QMovie* instPointer,int arg1){
	((QMovieBridge*)instPointer)->setSpeed((int)arg1);
	return;
}
void qt_QMovie_connectResize( qt_QMovie* instPointer,qt_QObject * receiver, char* member){
	((QMovieBridge*)instPointer)->connectResize((QObject*)receiver, (char*)member);
	return;
}
void qt_QMovie_disconnectResize( qt_QMovie* instPointer,qt_QObject * receiver, char* member){
	((QMovieBridge*)instPointer)->disconnectResize((QObject*)receiver, (char*)member);
	return;
}
void qt_QMovie_connectUpdate( qt_QMovie* instPointer,qt_QObject * receiver, char* member){
	((QMovieBridge*)instPointer)->connectUpdate((QObject*)receiver, (char*)member);
	return;
}
void qt_QMovie_disconnectUpdate( qt_QMovie* instPointer,qt_QObject * receiver, char* member){
	((QMovieBridge*)instPointer)->disconnectUpdate((QObject*)receiver, (char*)member);
	return;
}
//void qt_QMovie_setDisplayWidget( qt_QMovie* instPointer,qt_QWidget * w){
//	((QMovieBridge*)instPointer)->setDisplayWidget((QWidget*)w);
//	return;
//}
void qt_QMovie_connectStatus( qt_QMovie* instPointer,qt_QObject * receiver, char* member){
	((QMovieBridge*)instPointer)->connectStatus((QObject*)receiver, (char*)member);
	return;
}
void qt_QMovie_disconnectStatus( qt_QMovie* instPointer,qt_QObject * receiver, char* member){
	((QMovieBridge*)instPointer)->disconnectStatus((QObject*)receiver, (char*)member);
	return;
}
