KWinGraphicsView Class Reference

Temporary view class for the KWin4 game. More...

#include <kwin4view.h>

Inheritance diagram for KWinGraphicsView:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 KWinGraphicsView (QGraphicsScene *scene, QWidget *parent)
 Create a view.

Protected Member Functions

void paintEvent (QPaintEvent *event)
 Paint function for the widget.

Detailed Description

Temporary view class for the KWin4 game.

Todo:
Temporary fix suggested by Cyril Bailly, to reduce QGV cpu usage during intro animation

Cuts cpu usage in half for this particular case, removing hiccups

This issue needs to be re-evaluated against Qt4.3 when/if it lands in SVN

Definition at line 50 of file kwin4view.h.


Constructor & Destructor Documentation

KWinGraphicsView::KWinGraphicsView QGraphicsScene *  scene,
QWidget *  parent
[inline]
 

Create a view.

Parameters:
scene The graphics scene to use
parent The parent widget

Definition at line 59 of file kwin4view.h.


Member Function Documentation

void KWinGraphicsView::paintEvent QPaintEvent *  event  )  [protected]
 

Paint function for the widget.

Parameters:
event The paint event

Definition at line 46 of file kwin4view.cpp.


The documentation for this class was generated from the following files:
Generated on Sun Mar 4 10:56:43 2007 for KWin4 by  doxygen 1.4.6