summaryrefslogtreecommitdiff
path: root/noncore/settings/sysinfo/versioninfo.cpp
Unidiff
Diffstat (limited to 'noncore/settings/sysinfo/versioninfo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sysinfo/versioninfo.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/noncore/settings/sysinfo/versioninfo.cpp b/noncore/settings/sysinfo/versioninfo.cpp
index a8db207..79e7fea 100644
--- a/noncore/settings/sysinfo/versioninfo.cpp
+++ b/noncore/settings/sysinfo/versioninfo.cpp
@@ -18,24 +18,26 @@
18** 18**
19**********************************************************************/ 19**********************************************************************/
20 20
21#include <qpe/resource.h> 21#include <qpe/resource.h>
22#include <qpe/version.h> 22#include <qpe/version.h>
23 23
24 24#include <qfile.h>
25#include <qimage.h>
25#include <qlabel.h> 26#include <qlabel.h>
27#include <qlayout.h>
26#include <qpixmap.h> 28#include <qpixmap.h>
27#include <qpainter.h> 29#include <qpainter.h>
28#include <qimage.h>
29#include <qtimer.h>
30#include <qfile.h>
31#include <qtextstream.h> 30#include <qtextstream.h>
32#include <qlayout.h> 31#include <qtimer.h>
32#include <qwhatsthis.h>
33
33#include "versioninfo.h" 34#include "versioninfo.h"
34 35
35#include <opie/odevice.h> 36#include <opie/odevice.h>
37
36using namespace Opie; 38using namespace Opie;
37 39
38VersionInfo::VersionInfo( QWidget *parent, const char *name, WFlags f ) 40VersionInfo::VersionInfo( QWidget *parent, const char *name, WFlags f )
39 : QWidget( parent, name, f ) 41 : QWidget( parent, name, f )
40{ 42{
41 setMinimumSize( 200, 150 ); 43 setMinimumSize( 200, 150 );
@@ -118,13 +120,14 @@ VersionInfo::VersionInfo( QWidget *parent, const char *name, WFlags f )
118 +tr("<p>Model: ") + ODevice::inst()->modelString() 120 +tr("<p>Model: ") + ODevice::inst()->modelString()
119 +tr("<p>Vendor: ") + ODevice::inst()->vendorString(); 121 +tr("<p>Vendor: ") + ODevice::inst()->vendorString();
120 122
121 QLabel *systemVersion = new QLabel( this ); 123 QLabel *systemVersion = new QLabel( this );
122 systemVersion->setText( systemString ); 124 systemVersion->setText( systemString );
123 hb3->addWidget( systemVersion, 1, Qt::AlignTop + Qt::AlignLeft ); 125 hb3->addWidget( systemVersion, 1, Qt::AlignTop + Qt::AlignLeft );
124 126
127 QWhatsThis::add( this, tr( "This page shows the current versions of Opie, the Linux kernel and distribution running on this handheld device." ) );
125} 128}
126 129
127VersionInfo::~VersionInfo() 130VersionInfo::~VersionInfo()
128{ 131{
129} 132}
130 133