Diffstat (limited to 'noncore/games/parashoot/interface.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/parashoot/interface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/games/parashoot/interface.cpp b/noncore/games/parashoot/interface.cpp index 84e5e60..db98720 100644 --- a/noncore/games/parashoot/interface.cpp +++ b/noncore/games/parashoot/interface.cpp | |||
@@ -36,25 +36,25 @@ ParaShoot::ParaShoot(QWidget* parent, const char* name, WFlags f) : | |||
36 | fanfare("level_up"), | 36 | fanfare("level_up"), |
37 | score(0) | 37 | score(0) |
38 | { | 38 | { |
39 | canvas.setAdvancePeriod(80); | 39 | canvas.setAdvancePeriod(80); |
40 | QPixmap bg = Resource::loadPixmap("parashoot/sky"); | 40 | QPixmap bg = Resource::loadPixmap("parashoot/sky"); |
41 | canvas.setBackgroundPixmap(bg); | 41 | canvas.setBackgroundPixmap(bg); |
42 | 42 | ||
43 | pb = new QCanvasView(&canvas, this); | 43 | pb = new QCanvasView(&canvas, this); |
44 | pb->setFocus(); | 44 | pb->setFocus(); |
45 | 45 | ||
46 | setToolBarsMovable( FALSE ); | 46 | setToolBarsMovable( FALSE ); |
47 | 47 | ||
48 | QPEToolBar* toolbar = new QPEToolBar(this); | 48 | QToolBar* toolbar = new QToolBar(this); |
49 | toolbar->setHorizontalStretchable( TRUE ); | 49 | toolbar->setHorizontalStretchable( TRUE ); |
50 | 50 | ||
51 | setCaption( tr("ParaShoot") ); | 51 | setCaption( tr("ParaShoot") ); |
52 | QPixmap newicon = Resource::loadPixmap("parashoot/manicon"); | 52 | QPixmap newicon = Resource::loadPixmap("parashoot/manicon"); |
53 | setIcon(newicon); | 53 | setIcon(newicon); |
54 | new QToolButton(newicon, tr("New Game"), 0, | 54 | new QToolButton(newicon, tr("New Game"), 0, |
55 | this, SLOT(newGame()), toolbar, "New Game"); | 55 | this, SLOT(newGame()), toolbar, "New Game"); |
56 | 56 | ||
57 | levelscore = new QLabel(toolbar); | 57 | levelscore = new QLabel(toolbar); |
58 | levelscore->setBackgroundMode( PaletteButton ); | 58 | levelscore->setBackgroundMode( PaletteButton ); |
59 | levelscore->setAlignment( AlignRight | AlignVCenter | ExpandTabs ); | 59 | levelscore->setAlignment( AlignRight | AlignVCenter | ExpandTabs ); |
60 | toolbar->setStretchableWidget( levelscore ); | 60 | toolbar->setStretchableWidget( levelscore ); |