author | mark <mark> | 2002-01-29 21:17:19 (UTC) |
---|---|---|
committer | mark <mark> | 2002-01-29 21:17:19 (UTC) |
commit | b79be93d2c880d3de6c402c1307b3853fadb5882 (patch) (unidiff) | |
tree | 56406e2897a72e66f6034e89d9cf7549b6770760 | |
parent | 72e66dea4ca94177e4f561b4afe62a2466598615 (diff) | |
download | opie-b79be93d2c880d3de6c402c1307b3853fadb5882.zip opie-b79be93d2c880d3de6c402c1307b3853fadb5882.tar.gz opie-b79be93d2c880d3de6c402c1307b3853fadb5882.tar.bz2 |
Qtopia -> Opie
-rw-r--r-- | noncore/settings/sysinfo/versioninfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/sysinfo/versioninfo.cpp b/noncore/settings/sysinfo/versioninfo.cpp index 130a65c..ecb13bc 100644 --- a/noncore/settings/sysinfo/versioninfo.cpp +++ b/noncore/settings/sysinfo/versioninfo.cpp | |||
@@ -39,33 +39,33 @@ VersionInfo::VersionInfo( QWidget *parent, const char *name, WFlags f ) | |||
39 | QVBoxLayout *vb = new QVBoxLayout( this, 4 ); | 39 | QVBoxLayout *vb = new QVBoxLayout( this, 4 ); |
40 | 40 | ||
41 | QString kernelVersionString; | 41 | QString kernelVersionString; |
42 | QFile file( "/proc/version" ); | 42 | QFile file( "/proc/version" ); |
43 | if ( file.open( IO_ReadOnly ) ) { | 43 | if ( file.open( IO_ReadOnly ) ) { |
44 | QTextStream t( &file ); | 44 | QTextStream t( &file ); |
45 | QString v; | 45 | QString v; |
46 | t >> v; t >> v; t >> v; | 46 | t >> v; t >> v; t >> v; |
47 | v = v.left( 20 ); | 47 | v = v.left( 20 ); |
48 | kernelVersionString = tr( "<b>Linux Kernel</b><p>Version: " ) + v + "<p>"; | 48 | kernelVersionString = tr( "<b>Linux Kernel</b><p>Version: " ) + v + "<p>"; |
49 | t >> v; | 49 | t >> v; |
50 | kernelVersionString += tr( "Compiled by: " ) + v; | 50 | kernelVersionString += tr( "Compiled by: " ) + v; |
51 | file.close(); | 51 | file.close(); |
52 | } | 52 | } |
53 | 53 | ||
54 | QString palmtopVersionString; | 54 | QString palmtopVersionString; |
55 | palmtopVersionString = tr( "<b>Qtopia</b><p>Version: " ) + QPE_VERSION + "<p>"; | 55 | palmtopVersionString = tr( "<b>Opie</b><p>Version: " ) + QPE_VERSION + "<p>"; |
56 | #ifdef QPE_VENDOR | 56 | #ifdef QPE_VENDOR |
57 | QString builder = QPE_VENDOR; | 57 | QString builder = QPE_VENDOR; |
58 | #else | 58 | #else |
59 | QString builder = "Unknown"; | 59 | QString builder = "Unknown"; |
60 | #endif | 60 | #endif |
61 | palmtopVersionString += tr( "Compiled by: " ) + builder + "<p>"; | 61 | palmtopVersionString += tr( "Compiled by: " ) + builder + "<p>"; |
62 | palmtopVersionString += tr( "Built on: " ) + __DATE__; | 62 | palmtopVersionString += tr( "Built on: " ) + __DATE__; |
63 | 63 | ||
64 | 64 | ||
65 | QHBoxLayout *hb1 = new QHBoxLayout( vb ); | 65 | QHBoxLayout *hb1 = new QHBoxLayout( vb ); |
66 | hb1->setSpacing( 2 ); | 66 | hb1->setSpacing( 2 ); |
67 | 67 | ||
68 | QLabel *palmtopLogo = new QLabel( this ); | 68 | QLabel *palmtopLogo = new QLabel( this ); |
69 | QImage logo1 = Resource::loadImage( "opielogo" ); | 69 | QImage logo1 = Resource::loadImage( "opielogo" ); |
70 | logo1 = logo1.smoothScale( 50, 55 ); | 70 | logo1 = logo1.smoothScale( 50, 55 ); |
71 | QPixmap logo1Pixmap; | 71 | QPixmap logo1Pixmap; |