From e0205bac48b9d23af9feb48004c24fcf7a5e8200 Mon Sep 17 00:00:00 2001 From: drw Date: Wed, 15 Jun 2005 22:39:20 +0000 Subject: Resource -> OResource --- (limited to 'examples/simple-icon/simple.cpp') diff --git a/examples/simple-icon/simple.cpp b/examples/simple-icon/simple.cpp index fec1823..2c98ec0 100644 --- a/examples/simple-icon/simple.cpp +++ b/examples/simple-icon/simple.cpp @@ -3,11 +3,10 @@ #include #include // the QPEApplication -#include // for loading icon #include // for playing a sound #include // a template + macro to save the main method and allow quick launching - +#include // for loading icon #include "simple.h" /* @@ -53,7 +52,7 @@ Simple::Simple( QWidget* parent, const char* name, WFlags fl ) * to find 'logo/opielogo' You need to pass the subdir * but not the ending */ - lbl->setPixmap( Resource::loadPixmap("logo/opielogo") ); + lbl->setPixmap( Opie::Core::OResource::loadPixmap("logo/opielogo", Opie::Core::OResource::SmallIcon) ); layout->addWidget( lbl ); -- cgit v0.9.0.2