Diffstat (limited to 'noncore/multimedia/powerchord/powerchordbase.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/powerchord/powerchordbase.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
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 | |||
@@ -12,10 +12,11 @@ | |||
12 | 12 | ||
13 | /* OPIE */ | 13 | /* OPIE */ |
14 | #include <opie2/odebug.h> | 14 | #include <opie2/odebug.h> |
15 | #include <qpe/resource.h> | 15 | #include <opie2/oresource.h> |
16 | using namespace Opie::Core; | 16 | using namespace Opie::Core; |
17 | 17 | ||
18 | /* QT */ | 18 | /* QT */ |
19 | #include <qbitmap.h> | ||
19 | #include <qcombobox.h> | 20 | #include <qcombobox.h> |
20 | #include <qlabel.h> | 21 | #include <qlabel.h> |
21 | #include <qlistbox.h> | 22 | #include <qlistbox.h> |
@@ -38,13 +39,13 @@ PowerchordBase::PowerchordBase( QWidget* parent, const char* name, WFlags fl ) | |||
38 | // setPalette( QPalette( QColor( 232, 227, 215) ) ); | 39 | // setPalette( QPalette( QColor( 232, 227, 215) ) ); |
39 | 40 | ||
40 | // QPixmap image0(QString("/opt/Qtopia/pics/powerchord/image0")); | 41 | // QPixmap image0(QString("/opt/Qtopia/pics/powerchord/image0")); |
41 | QPixmap image1 = Resource::loadPixmap( "powerchord/image1"); | 42 | QPixmap image1 = Opie::Core::OResource::loadPixmap( "powerchord/image1"); |
42 | QPixmap image2 = Resource::loadPixmap( "powerchord/image2"); | 43 | QPixmap image2 = Opie::Core::OResource::loadPixmap( "powerchord/image2"); |
43 | QPixmap image3 = Resource::loadPixmap( "powerchord/image3"); | 44 | QPixmap image3 = Opie::Core::OResource::loadPixmap( "powerchord/image3"); |
44 | QPixmap image4 = Resource::loadPixmap( "powerchord/image4"); | 45 | QPixmap image4 = Opie::Core::OResource::loadPixmap( "powerchord/image4"); |
45 | QPixmap image5 = Resource::loadPixmap( "powerchord/image5"); | 46 | QPixmap image5 = Opie::Core::OResource::loadPixmap( "powerchord/image5"); |
46 | image6 = Resource::loadPixmap( "powerchord/image6"); | 47 | image6 = Opie::Core::OResource::loadPixmap( "powerchord/image6"); |
47 | image_open = Resource::loadPixmap( "powerchord/image_open"); | 48 | image_open = Opie::Core::OResource::loadPixmap( "powerchord/image_open"); |
48 | 49 | ||
49 | // image0.setMask(image0.createHeuristicMask()); | 50 | // image0.setMask(image0.createHeuristicMask()); |
50 | image1.setMask(image1.createHeuristicMask()); | 51 | image1.setMask(image1.createHeuristicMask()); |