summaryrefslogtreecommitdiffstats
path: root/pacman-c++/pixmapitem.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2011-04-12 14:45:24 +0200
committermanuel <manuel@mausz.at>2011-04-12 14:45:24 +0200
commitdbeba838ea813b620ec571265c8ea417403fc81c (patch)
treecf085b766ba8dad8146190dc7f438160b839feb4 /pacman-c++/pixmapitem.h
parentb695f67ef718724144a3a5c4be42be373b0f691f (diff)
downloadfoop-dbeba838ea813b620ec571265c8ea417403fc81c.tar.gz
foop-dbeba838ea813b620ec571265c8ea417403fc81c.tar.bz2
foop-dbeba838ea813b620ec571265c8ea417403fc81c.zip
make the server a non gui application
this required a lot of reorganization: - don't create ANY pixmaps. that requires QtGui - don't create and QtWidgets - thus SceneHolder is now a QGraphisScene itself - and MainWidgets is a QWidget having SceneHolder as member variable
Diffstat (limited to 'pacman-c++/pixmapitem.h')
-rw-r--r--pacman-c++/pixmapitem.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/pacman-c++/pixmapitem.h b/pacman-c++/pixmapitem.h
index 4e58a52..7560556 100644
--- a/pacman-c++/pixmapitem.h
+++ b/pacman-c++/pixmapitem.h
@@ -1,11 +1,10 @@
1#ifndef PIXMAPITEM__H 1#ifndef PIXMAPITEM__H
2#define PIXMAPITEM__H 2#define PIXMAPITEM__H
3 3
4#include "gameentity.h"
4#include <QtGui/QGraphicsObject> 5#include <QtGui/QGraphicsObject>
5#include <QtGui/QGraphicsScene> 6#include <QtGui/QGraphicsScene>
6 7
7#include "gameentity.h"
8
9class PixmapItem 8class PixmapItem
10 : public QGraphicsObject, public GameEntity 9 : public QGraphicsObject, public GameEntity
11{ 10{