summaryrefslogtreecommitdiff
path: root/noncore/games/parashoot/interface.cpp
Side-by-side diff
Diffstat (limited to 'noncore/games/parashoot/interface.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/games/parashoot/interface.cpp2
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) :
fanfare("level_up"),
score(0)
{
canvas.setAdvancePeriod(80);
QPixmap bg = Resource::loadPixmap("parashoot/sky");
canvas.setBackgroundPixmap(bg);
pb = new QCanvasView(&canvas, this);
pb->setFocus();
setToolBarsMovable( FALSE );
- QPEToolBar* toolbar = new QPEToolBar(this);
+ QToolBar* toolbar = new QToolBar(this);
toolbar->setHorizontalStretchable( TRUE );
setCaption( tr("ParaShoot") );
QPixmap newicon = Resource::loadPixmap("parashoot/manicon");
setIcon(newicon);
new QToolButton(newicon, tr("New Game"), 0,
this, SLOT(newGame()), toolbar, "New Game");
levelscore = new QLabel(toolbar);
levelscore->setBackgroundMode( PaletteButton );
levelscore->setAlignment( AlignRight | AlignVCenter | ExpandTabs );
toolbar->setStretchableWidget( levelscore );