-rw-r--r-- | noncore/settings/sysinfo/benchmarkinfo.cpp | 4 | ||||
-rw-r--r-- | noncore/settings/sysinfo/sysinfo.cpp | 4 | ||||
-rw-r--r-- | noncore/settings/sysinfo/versioninfo.cpp | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/noncore/settings/sysinfo/benchmarkinfo.cpp b/noncore/settings/sysinfo/benchmarkinfo.cpp index 2a269b8..ac6e1fa 100644 --- a/noncore/settings/sysinfo/benchmarkinfo.cpp +++ b/noncore/settings/sysinfo/benchmarkinfo.cpp | |||
@@ -22,10 +22,10 @@ | |||
22 | #include <opie2/odebug.h> | 22 | #include <opie2/odebug.h> |
23 | #include <opie2/ostorageinfo.h> | 23 | #include <opie2/ostorageinfo.h> |
24 | #include <opie2/olistview.h> | 24 | #include <opie2/olistview.h> |
25 | #include <opie2/oresource.h> | ||
25 | #include <qpe/qpeapplication.h> | 26 | #include <qpe/qpeapplication.h> |
26 | #include <qpe/qcopenvelope_qws.h> | 27 | #include <qpe/qcopenvelope_qws.h> |
27 | #include <qpe/qpedecoration_qws.h> | 28 | #include <qpe/qpedecoration_qws.h> |
28 | #include <qpe/resource.h> | ||
29 | #include <qpe/config.h> | 29 | #include <qpe/config.h> |
30 | using namespace Opie::Core; | 30 | using namespace Opie::Core; |
31 | using namespace Opie::Ui; | 31 | using namespace Opie::Ui; |
@@ -329,7 +329,7 @@ int BenchmarkInfo::gfxRendering( int seconds ) | |||
329 | ++loops; | 329 | ++loops; |
330 | } | 330 | } |
331 | 331 | ||
332 | QPixmap p = Resource::loadPixmap( "sysinfo/pattern" ); | 332 | QPixmap p = Opie::Core::OResource::loadPixmap( "sysinfo/pattern" ); |
333 | t.restart(); | 333 | t.restart(); |
334 | stop = t.elapsed() + seconds*1000; | 334 | stop = t.elapsed() + seconds*1000; |
335 | 335 | ||
diff --git a/noncore/settings/sysinfo/sysinfo.cpp b/noncore/settings/sysinfo/sysinfo.cpp index 03db22a..63be111 100644 --- a/noncore/settings/sysinfo/sysinfo.cpp +++ b/noncore/settings/sysinfo/sysinfo.cpp | |||
@@ -33,10 +33,10 @@ | |||
33 | #include "sysinfo.h" | 33 | #include "sysinfo.h" |
34 | 34 | ||
35 | /* OPIE */ | 35 | /* OPIE */ |
36 | #include <opie2/oresource.h> | ||
36 | #include <opie2/otabwidget.h> | 37 | #include <opie2/otabwidget.h> |
37 | using namespace Opie::Ui; | 38 | using namespace Opie::Ui; |
38 | #include <qpe/config.h> | 39 | #include <qpe/config.h> |
39 | #include <qpe/resource.h> | ||
40 | 40 | ||
41 | /* QT */ | 41 | /* QT */ |
42 | #include <qlayout.h> | 42 | #include <qlayout.h> |
@@ -44,7 +44,7 @@ using namespace Opie::Ui; | |||
44 | SystemInfo::SystemInfo( QWidget *parent, const char *name, WFlags ) | 44 | SystemInfo::SystemInfo( QWidget *parent, const char *name, WFlags ) |
45 | : QWidget( parent, name, WStyle_ContextHelp ) | 45 | : QWidget( parent, name, WStyle_ContextHelp ) |
46 | { | 46 | { |
47 | setIcon( Resource::loadPixmap( "system_icon" ) ); | 47 | setIcon( Opie::Core::OResource::loadPixmap( "system_icon", Opie::Core::OResource::SmallIcon ) ); |
48 | setCaption( tr("System Info") ); | 48 | setCaption( tr("System Info") ); |
49 | 49 | ||
50 | QVBoxLayout *lay = new QVBoxLayout( this ); | 50 | QVBoxLayout *lay = new QVBoxLayout( this ); |
diff --git a/noncore/settings/sysinfo/versioninfo.cpp b/noncore/settings/sysinfo/versioninfo.cpp index 5736faa..29c9a05 100644 --- a/noncore/settings/sysinfo/versioninfo.cpp +++ b/noncore/settings/sysinfo/versioninfo.cpp | |||
@@ -22,7 +22,7 @@ | |||
22 | 22 | ||
23 | /* OPIE */ | 23 | /* OPIE */ |
24 | #include <opie2/odevice.h> | 24 | #include <opie2/odevice.h> |
25 | #include <qpe/resource.h> | 25 | #include <opie2/oresource.h> |
26 | #include <qpe/version.h> | 26 | #include <qpe/version.h> |
27 | 27 | ||
28 | /* QT */ | 28 | /* QT */ |
@@ -89,7 +89,7 @@ VersionInfo::VersionInfo( QWidget *parent, const char *name, WFlags f ) | |||
89 | hb1->setSpacing( 2 ); | 89 | hb1->setSpacing( 2 ); |
90 | 90 | ||
91 | QLabel *palmtopLogo = new QLabel( container ); | 91 | QLabel *palmtopLogo = new QLabel( container ); |
92 | QImage logo1 = Resource::loadImage( "logo/opielogo" ); | 92 | QImage logo1 = Opie::Core::OResource::loadImage( "logo/opielogo" ); |
93 | logo1 = logo1.smoothScale( 50, 55 ); | 93 | logo1 = logo1.smoothScale( 50, 55 ); |
94 | QPixmap logo1Pixmap; | 94 | QPixmap logo1Pixmap; |
95 | logo1Pixmap.convertFromImage( logo1 ); | 95 | logo1Pixmap.convertFromImage( logo1 ); |
@@ -106,7 +106,7 @@ VersionInfo::VersionInfo( QWidget *parent, const char *name, WFlags f ) | |||
106 | hb1->setSpacing( 2 ); | 106 | hb1->setSpacing( 2 ); |
107 | 107 | ||
108 | QLabel *linuxLogo = new QLabel( container ); | 108 | QLabel *linuxLogo = new QLabel( container ); |
109 | QImage logo2 = Resource::loadImage( "logo/tux-logo" ); | 109 | QImage logo2 = Opie::Core::OResource::loadImage( "logo/tux-logo" ); |
110 | logo2 = logo2.smoothScale( 55, 60 ); | 110 | logo2 = logo2.smoothScale( 55, 60 ); |
111 | QPixmap logo2Pixmap; | 111 | QPixmap logo2Pixmap; |
112 | logo2Pixmap.convertFromImage( logo2 ); | 112 | logo2Pixmap.convertFromImage( logo2 ); |
@@ -141,7 +141,7 @@ VersionInfo::VersionInfo( QWidget *parent, const char *name, WFlags f ) | |||
141 | else | 141 | else |
142 | modelPixmap += "pda"; | 142 | modelPixmap += "pda"; |
143 | 143 | ||
144 | QImage logo3 = Resource::loadImage( modelPixmap ); | 144 | QImage logo3 = Opie::Core::OResource::loadImage( modelPixmap ); |
145 | 145 | ||
146 | int width = logo3.width(); | 146 | int width = logo3.width(); |
147 | int height = logo3.height(); | 147 | int height = logo3.height(); |