author | drw <drw> | 2005-05-24 21:00:44 (UTC) |
---|---|---|
committer | drw <drw> | 2005-05-24 21:00:44 (UTC) |
commit | 82a7658f6ff0c82cdba2088b70bd2a05aeb85fd6 (patch) (side-by-side diff) | |
tree | b1ee63fc6f8de7ebafcdf209ee25576046b4be10 | |
parent | 22cda9f7212641869c3abe210c66bf54a03f9579 (diff) | |
download | opie-82a7658f6ff0c82cdba2088b70bd2a05aeb85fd6.zip opie-82a7658f6ff0c82cdba2088b70bd2a05aeb85fd6.tar.gz opie-82a7658f6ff0c82cdba2088b70bd2a05aeb85fd6.tar.bz2 |
Resource -> OResource
-rw-r--r-- | noncore/multimedia/powerchord/fretboard.cpp | 16 | ||||
-rw-r--r-- | noncore/multimedia/powerchord/powerchordbase.cpp | 17 |
2 files changed, 16 insertions, 17 deletions
diff --git a/noncore/multimedia/powerchord/fretboard.cpp b/noncore/multimedia/powerchord/fretboard.cpp index bf78e4c..2e48f26 100644 --- a/noncore/multimedia/powerchord/fretboard.cpp +++ b/noncore/multimedia/powerchord/fretboard.cpp @@ -20,10 +20,8 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -//#include <FL/Fl.H> -//#include <FL/Fl_Widget.H> -//#include <FL/fl_draw.H> -#include <stdio.h> -#include <qpe/resource.h> #include "fretboard.h" + +#include <opie2/oresource.h> + #include <qpainter.h> @@ -75,8 +73,8 @@ FretBoard::FretBoard(QWidget *parent, const char *name ) // setPalette( QPalette( QColor( 250, 250, 200) ) ); - stringtop_pix = Resource::loadPixmap( "powerchord/stringtop_s"); - string_pix = Resource::loadPixmap( "powerchord/string_s"); - finger_pix = Resource::loadPixmap( "powerchord/justfing_s"); - mute_pix = Resource::loadPixmap( "powerchord/muted_s"); + stringtop_pix = Opie::Core::OResource::loadPixmap( "powerchord/stringtop_s"); + string_pix = Opie::Core::OResource::loadPixmap( "powerchord/string_s"); + finger_pix = Opie::Core::OResource::loadPixmap( "powerchord/justfing_s"); + mute_pix = Opie::Core::OResource::loadPixmap( "powerchord/muted_s"); // box(FL_NO_BOX); diff --git a/noncore/multimedia/powerchord/powerchordbase.cpp b/noncore/multimedia/powerchord/powerchordbase.cpp index f0d1487..0efc4bd 100644 --- a/noncore/multimedia/powerchord/powerchordbase.cpp +++ b/noncore/multimedia/powerchord/powerchordbase.cpp @@ -13,8 +13,9 @@ /* OPIE */ #include <opie2/odebug.h> -#include <qpe/resource.h> +#include <opie2/oresource.h> using namespace Opie::Core; /* QT */ +#include <qbitmap.h> #include <qcombobox.h> #include <qlabel.h> @@ -39,11 +40,11 @@ PowerchordBase::PowerchordBase( QWidget* parent, const char* name, WFlags fl ) // QPixmap image0(QString("/opt/Qtopia/pics/powerchord/image0")); - QPixmap image1 = Resource::loadPixmap( "powerchord/image1"); - QPixmap image2 = Resource::loadPixmap( "powerchord/image2"); - QPixmap image3 = Resource::loadPixmap( "powerchord/image3"); - QPixmap image4 = Resource::loadPixmap( "powerchord/image4"); - QPixmap image5 = Resource::loadPixmap( "powerchord/image5"); - image6 = Resource::loadPixmap( "powerchord/image6"); - image_open = Resource::loadPixmap( "powerchord/image_open"); + QPixmap image1 = Opie::Core::OResource::loadPixmap( "powerchord/image1"); + QPixmap image2 = Opie::Core::OResource::loadPixmap( "powerchord/image2"); + QPixmap image3 = Opie::Core::OResource::loadPixmap( "powerchord/image3"); + QPixmap image4 = Opie::Core::OResource::loadPixmap( "powerchord/image4"); + QPixmap image5 = Opie::Core::OResource::loadPixmap( "powerchord/image5"); + image6 = Opie::Core::OResource::loadPixmap( "powerchord/image6"); + image_open = Opie::Core::OResource::loadPixmap( "powerchord/image_open"); // image0.setMask(image0.createHeuristicMask()); |