From 9ed0a6022d4c3bcd8428096cdf28cad1e0355ab2 Mon Sep 17 00:00:00 2001 From: drw Date: Sun, 17 Nov 2002 02:14:03 +0000 Subject: Start of What's This for Sysinfo, plus some code tweaks --- (limited to 'noncore/settings/sysinfo/memory.cpp') diff --git a/noncore/settings/sysinfo/memory.cpp b/noncore/settings/sysinfo/memory.cpp index 781f0df..30d42d5 100644 --- a/noncore/settings/sysinfo/memory.cpp +++ b/noncore/settings/sysinfo/memory.cpp @@ -19,15 +19,17 @@ **********************************************************************/ #include -#include #include -#include #include +#include +#include +#include + #include "graph.h" #include "memory.h" MemoryInfo::MemoryInfo( QWidget *parent, const char *name, WFlags f ) - : QWidget( parent, name, f ) + : QWidget( parent, name, WStyle_ContextHelp ) { QVBoxLayout *vb = new QVBoxLayout( this, 5 ); @@ -51,6 +53,8 @@ MemoryInfo::MemoryInfo( QWidget *parent, const char *name, WFlags f ) QTimer *t = new QTimer( this ); connect( t, SIGNAL( timeout() ), this, SLOT( updateData() ) ); t->start( 5000 ); + + QWhatsThis::add( this, tr( "This page shows how memory (i.e. RAM) is being allocated on your handheld device.\nMemory is categorized as follows:\n\n1. Used - memory used to by Opie and any running applications.\n2. Buffers - temporary storage used to improve performance\n3. Cached - information that has recently been used, but has not been freed yet.\n4. Free - memory not currently used by Opie or any running applications." ) ); } MemoryInfo::~MemoryInfo() -- cgit v0.9.0.2