Diffstat (limited to 'noncore/settings/sysinfo/versioninfo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/sysinfo/versioninfo.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/noncore/settings/sysinfo/versioninfo.cpp b/noncore/settings/sysinfo/versioninfo.cpp index 29c9a05..5105b42 100644 --- a/noncore/settings/sysinfo/versioninfo.cpp +++ b/noncore/settings/sysinfo/versioninfo.cpp | |||
@@ -129,24 +129,38 @@ VersionInfo::VersionInfo( QWidget *parent, const char *name, WFlags f ) | |||
129 | if ( model == Model_Zaurus_SLC7x0 ) | 129 | if ( model == Model_Zaurus_SLC7x0 ) |
130 | modelPixmap += "zaurusc700"; | 130 | modelPixmap += "zaurusc700"; |
131 | else if ( model >= Model_Zaurus_SL5000 && model <= Model_Zaurus_SLB600 ) | 131 | else if ( model >= Model_Zaurus_SL5000 && model <= Model_Zaurus_SLB600 ) |
132 | modelPixmap += "zaurus5500"; | 132 | modelPixmap += "zaurus5500"; |
133 | else if ( model >= Model_iPAQ_H31xx && model <= Model_iPAQ_H5xxx ) | 133 | else if ( model >= Model_iPAQ_H31xx && model <= Model_iPAQ_H5xxx ) |
134 | modelPixmap += "ipaq3600"; | 134 | modelPixmap += "ipaq3600"; |
135 | else if ( model >= Model_SIMpad_CL4 && model <= Model_SIMpad_TSinus ) | 135 | else if ( model >= Model_SIMpad_CL4 && model <= Model_SIMpad_TSinus ) |
136 | modelPixmap += "simpad"; | 136 | modelPixmap += "simpad"; |
137 | else if ( model == Model_Jornada_56x ) | 137 | else if ( model == Model_Jornada_56x ) |
138 | modelPixmap += "jornada56x"; | 138 | modelPixmap += "jornada56x"; |
139 | else if ( model == Model_Jornada_720 ) | 139 | else if ( model == Model_Jornada_720 ) |
140 | modelPixmap += "jornada720"; | 140 | modelPixmap += "jornada720"; |
141 | else if ( model == Model_HTC_Universal ) | ||
142 | modelPixmap += "htcuniversal"; | ||
143 | else if ( model == Model_HTC_Blueangel ) | ||
144 | modelPixmap += "htcblueangel"; | ||
145 | else if ( model == Model_HTC_Apache ) | ||
146 | modelPixmap += "htcapache"; | ||
147 | else if ( model == Model_HTC_Magician ) | ||
148 | modelPixmap += "htcmagician"; | ||
149 | else if ( model == Model_HTC_Himalaya ) | ||
150 | modelPixmap += "htchimalaya"; | ||
151 | else if ( model == Model_HTC_Alpine ) | ||
152 | modelPixmap += "htcalpine"; | ||
153 | else if ( model == Model_HTC_Beetles ) | ||
154 | modelPixmap += "htcbeetles"; | ||
141 | else | 155 | else |
142 | modelPixmap += "pda"; | 156 | modelPixmap += "pda"; |
143 | 157 | ||
144 | QImage logo3 = Opie::Core::OResource::loadImage( modelPixmap ); | 158 | QImage logo3 = Opie::Core::OResource::loadImage( modelPixmap ); |
145 | 159 | ||
146 | int width = logo3.width(); | 160 | int width = logo3.width(); |
147 | int height = logo3.height(); | 161 | int height = logo3.height(); |
148 | float aspect = float( height ) / width; | 162 | float aspect = float( height ) / width; |
149 | logo3 = logo3.smoothScale( 50, 50.0 * aspect ); | 163 | logo3 = logo3.smoothScale( 50, 50.0 * aspect ); |
150 | 164 | ||
151 | QPixmap logo3Pixmap; | 165 | QPixmap logo3Pixmap; |
152 | logo3Pixmap.convertFromImage( logo3 ); | 166 | logo3Pixmap.convertFromImage( logo3 ); |