Diffstat (limited to 'noncore/settings/sysinfo/versioninfo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/sysinfo/versioninfo.cpp | 15 |
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 @@ -16,28 +16,30 @@ ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #include <qpe/resource.h> #include <qpe/version.h> - +#include <qfile.h> +#include <qimage.h> #include <qlabel.h> +#include <qlayout.h> #include <qpixmap.h> #include <qpainter.h> -#include <qimage.h> -#include <qtimer.h> -#include <qfile.h> #include <qtextstream.h> -#include <qlayout.h> +#include <qtimer.h> +#include <qwhatsthis.h> + #include "versioninfo.h" #include <opie/odevice.h> + using namespace Opie; VersionInfo::VersionInfo( QWidget *parent, const char *name, WFlags f ) : QWidget( parent, name, f ) { setMinimumSize( 200, 150 ); QVBoxLayout *vb = new QVBoxLayout( this, 4 ); @@ -116,15 +118,16 @@ VersionInfo::VersionInfo( QWidget *parent, const char *name, WFlags f ) QString systemString = "<b>"+ ODevice::inst()->systemString()+"</b>" +tr("<p>Version: " ) + ODevice::inst()->systemVersionString() +tr("<p>Model: ") + ODevice::inst()->modelString() +tr("<p>Vendor: ") + ODevice::inst()->vendorString(); QLabel *systemVersion = new QLabel( this ); systemVersion->setText( systemString ); hb3->addWidget( systemVersion, 1, Qt::AlignTop + Qt::AlignLeft ); - + + QWhatsThis::add( this, tr( "This page shows the current versions of Opie, the Linux kernel and distribution running on this handheld device." ) ); } VersionInfo::~VersionInfo() { } |