/***************************************************************************
                            QMovie.h -  description
                             -------------------
    begin                : Wed Nov 21 12:08:37 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 12:08:37 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.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QMOVIE_H
#define QMOVIE_H

#include <Foundation/NSObject.h>
#include <Foundation/NSString.h>
#include <qtobjc/QtSupport.h>
#include <qtobjc/QColor.h>
#include <qtobjc/QPixmap.h>
#include <qtobjc/QImage.h>
#include <qtobjc/QWidget.h>
#include <qtobjc/QDataSource.h>

@interface  QMovie : NSObject <QtSupport>
{
@private
	void * _qt;
	BOOL  _allocatedInObjcWorld;
}
- init;
- initWithInt: (int)bufsize;
- initWithDataSource: (QDataSource*)arg1 bufsize: (int)bufsize;
- initWithDataSource: (QDataSource*)arg1 ;
- initWithText: (NSString *)fileName bufsize: (int)bufsize;
- initWithText: (NSString *)fileName ;
- initWithByteArray: (QByteArray*)data bufsize: (int)bufsize;
- initWithByteArray: (QByteArray*)data ;
- copyWithZone: (NSZone *) zone;
- (void) dealloc;
- (int) pushSpace;
- pushData: (unsigned char*)data length: (int)length;
- (QColor*) backgroundColor;
- setBackgroundColor: (QColor *)arg1;
- (QRect*) getValidRect;
- (QPixmap*) framePixmap;
- (QImage*) frameImage;
- (BOOL) isNull;
- (int) frameNumber;
- (int) steps;
- (BOOL) paused;
- (BOOL) finished;
- (BOOL) running;
- unpause;
- pause;
- step;
- step: (int)arg1;
- restart;
- (int) speed;
- setSpeed: (int)arg1;
- connectResize: (QObject *)receiver slot: (NSString *)member;
- disconnectResize: (QObject *)receiver slot: (NSString *)member;
- disconnectResize: (QObject *)receiver ;
- connectUpdate: (QObject *)receiver slot: (NSString *)member;
- disconnectUpdate: (QObject *)receiver slot: (NSString *)member;
- disconnectUpdate: (QObject *)receiver ;
//- setDisplayWidget: (QWidget *)w;
- connectStatus: (QObject *)receiver slot: (NSString *)member;
- disconnectStatus: (QObject *)receiver slot: (NSString *)member;
- disconnectStatus: (QObject *)receiver ;
+ (int) SourceEmpty;
+ (int) UnrecognizedFormat;
+ (int) Paused;
+ (int) EndOfFrame;
+ (int) EndOfLoop;
+ (int) EndOfMovie;
+ (int) SpeedChanged;
@end

#endif
