/***************************************************************************
                            QCanvasItem.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 QCANVASITEM_H
#define QCANVASITEM_H

#include <Foundation/NSObject.h>
#include <Foundation/NSString.h>
#include <qtobjc/Qt.h>

@class QCanvas;
@class QPainter;
@class QRect;
@class QFont;

@interface QCanvasItem : Qt 
- (void) dealloc;
- (double) x;
- (double) y;
- (double) z;
- moveBy: (double)dx dy: (double)dy;
- move: (double)x y: (double)y;
- setX: (double)a;
- setY: (double)a;
- setZ: (double)a;
- (BOOL) animated;
- setAnimated: (BOOL)y;
- setVelocity: (double)vx vy: (double)vy;
- setXVelocity: (double)vx;
- setYVelocity: (double)vy;
- (double) xVelocity;
- (double) yVelocity;
- advance: (int)stage;
- (BOOL) collidesWith: (QCanvasItem*)arg1;
//- (QCanvasItemList*) collisions: (BOOL)exact;
- setCanvas: (QCanvas*)arg1;
- draw: (QPainter*)arg1;
- show;
- hide;
- setVisible: (BOOL)yes;
- (BOOL) isVisible;
- setSelected: (BOOL)yes;
- (BOOL) isSelected;
- setEnabled: (BOOL)yes;
- (BOOL) isEnabled;
- setActive: (BOOL)yes;
- (BOOL) isActive;
- (BOOL) visible;
- (BOOL) selected;
- (BOOL) enabled;
- (BOOL) active;
- (int) rtti;
- (QRect*) boundingRect;
- (QRect*) boundingRectAdvanced;
- (QCanvas*) canvas;
+ (int) Rtti_Item;
+ (int) Rtti_Sprite;
+ (int) Rtti_PolygonalItem;
+ (int) Rtti_Text;
+ (int) Rtti_Polygon;
+ (int) Rtti_Rectangle;
+ (int) Rtti_Ellipse;
+ (int) Rtti_Line;
+ (int) Rtti_Spline;
@end

#endif
