author | drw <drw> | 2005-06-09 21:17:15 (UTC) |
---|---|---|
committer | drw <drw> | 2005-06-09 21:17:15 (UTC) |
commit | d5c8de3585a6e94c18156e51299f1e49cc992285 (patch) (unidiff) | |
tree | e7a0bf5f44e7d972904c748d8c03f97ae52c5c87 /noncore/settings/sysinfo/versioninfo.cpp | |
parent | 346a2cd09c2c28bd4d2086b0c152dd348913eaa9 (diff) | |
download | opie-d5c8de3585a6e94c18156e51299f1e49cc992285.zip opie-d5c8de3585a6e94c18156e51299f1e49cc992285.tar.gz opie-d5c8de3585a6e94c18156e51299f1e49cc992285.tar.bz2 |
Resource -> OResource
Diffstat (limited to 'noncore/settings/sysinfo/versioninfo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/sysinfo/versioninfo.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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(); |