summaryrefslogtreecommitdiff
path: root/noncore/games/zsame/ZSameWidget.cpp
Unidiff
Diffstat (limited to 'noncore/games/zsame/ZSameWidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/games/zsame/ZSameWidget.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/noncore/games/zsame/ZSameWidget.cpp b/noncore/games/zsame/ZSameWidget.cpp
index dee4a1c..7bcbee1 100644
--- a/noncore/games/zsame/ZSameWidget.cpp
+++ b/noncore/games/zsame/ZSameWidget.cpp
@@ -20,9 +20,6 @@
20 */ 20 */
21 21
22#include <stdio.h>
23
24#include <opie2/oapplicationfactory.h> 22#include <opie2/oapplicationfactory.h>
25 23#include <opie2/oresource.h>
26#include <qpe/resource.h>
27 24
28#include <qtoolbar.h> 25#include <qtoolbar.h>
@@ -59,5 +56,5 @@ ZSameWidget::ZSameWidget( QWidget* parent, const char* name, WFlags fl )
59 QPopupMenu* fileMenu = new QPopupMenu( this ); 56 QPopupMenu* fileMenu = new QPopupMenu( this );
60 57
61 QAction* a = new QAction(tr("New Game"), Resource::loadIconSet("new") , 58 QAction* a = new QAction(tr("New Game"), Opie::Core::OResource::loadPixmap( "new", Opie::Core::OResource::SmallIcon ),
62 QString::null, 0, this, "new_icon"); 59 QString::null, 0, this, "new_icon");
63 a->addTo( fileMenu ); 60 a->addTo( fileMenu );
@@ -65,5 +62,5 @@ ZSameWidget::ZSameWidget( QWidget* parent, const char* name, WFlags fl )
65 connect(a, SIGNAL(activated()), this, SLOT(m_new())); 62 connect(a, SIGNAL(activated()), this, SLOT(m_new()));
66 63
67 a = new QAction(tr("Restart This Board"), Resource::loadIconSet("redo"), 64 a = new QAction(tr("Restart This Board"), Opie::Core::OResource::loadPixmap( "redo", Opie::Core::OResource::SmallIcon ),
68 QString::null, 0, this, "restart_board" ); 65 QString::null, 0, this, "restart_board" );
69 a->addTo( fileMenu ); 66 a->addTo( fileMenu );
@@ -71,5 +68,5 @@ ZSameWidget::ZSameWidget( QWidget* parent, const char* name, WFlags fl )
71 restart = a; 68 restart = a;
72 69
73 a = new QAction( tr("Undo"), Resource::loadIconSet("undo"), 70 a = new QAction( tr("Undo"), Opie::Core::OResource::loadPixmap( "undo", Opie::Core::OResource::SmallIcon ),
74 QString::null, 0, this, "undo_action" ); 71 QString::null, 0, this, "undo_action" );
75 a->addTo( fileMenu ); 72 a->addTo( fileMenu );
@@ -77,5 +74,5 @@ ZSameWidget::ZSameWidget( QWidget* parent, const char* name, WFlags fl )
77 connect( a, SIGNAL(activated()), this, SLOT(m_undo())); 74 connect( a, SIGNAL(activated()), this, SLOT(m_undo()));
78 75
79 a = new QAction(tr("Quit"), Resource::loadIconSet("quit_icon"), 76 a = new QAction(tr("Quit"), Opie::Core::OResource::loadPixmap( "quit_icon", Opie::Core::OResource::SmallIcon ),
80 QString::null, 0, this, "quit_action"); 77 QString::null, 0, this, "quit_action");
81 a->addTo( fileMenu ); 78 a->addTo( fileMenu );