KGameCanvasDummy Class Reference

#include <kgamecanvas.h>

Inheritance diagram for KGameCanvasDummy:

Inheritance graph
[legend]
Collaboration diagram for KGameCanvasDummy:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 KGameCanvasDummy (KGameCanvasAbstract *canvas=NULL)
 Constructor.
virtual ~KGameCanvasDummy ()
virtual void paint (QPainter *p)
 This function does nothing (of course).
virtual QRect rect () const
 This returns an empty rectangle.


Detailed Description

A dummy (empty) item.

A KGameCanvasDummy is an empty, invisible item. You can use it as reference for stacking items in the canvas using the stackOver and stackUnder functions.

Definition at line 237 of file kgamecanvas.h.


Constructor & Destructor Documentation

KGameCanvasDummy::KGameCanvasDummy ( KGameCanvasAbstract canvas = NULL  ) 

Constructor.

Definition at line 647 of file kgamecanvas.cpp.

KGameCanvasDummy::~KGameCanvasDummy (  )  [virtual]

Definition at line 653 of file kgamecanvas.cpp.


Member Function Documentation

void KGameCanvasDummy::paint ( QPainter *  p  )  [virtual]

This function does nothing (of course).

Implements KGameCanvasItem.

Definition at line 658 of file kgamecanvas.cpp.

QRect KGameCanvasDummy::rect (  )  const [virtual]

This returns an empty rectangle.

Implements KGameCanvasItem.

Definition at line 661 of file kgamecanvas.cpp.


The documentation for this class was generated from the following files:
Generated on Sun Mar 16 08:03:13 2008 for Libkdegames by  doxygen 1.5.3