author | mickeyl <mickeyl> | 2005-01-29 12:24:37 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-01-29 12:24:37 (UTC) |
commit | 0db5704f66f0d08f9928f749774ee0f37bb0250d (patch) (unidiff) | |
tree | 73eea13320ec916b397dd94dc47ce8e5fdebd2b8 | |
parent | d4cf8c6020c46e5dc97b75f3a9781ddc15416b3a (diff) | |
download | opie-0db5704f66f0d08f9928f749774ee0f37bb0250d.zip opie-0db5704f66f0d08f9928f749774ee0f37bb0250d.tar.gz opie-0db5704f66f0d08f9928f749774ee0f37bb0250d.tar.bz2 |
fix
-rw-r--r-- | noncore/applets/memoryapplet/memorystatus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/applets/memoryapplet/memorystatus.cpp b/noncore/applets/memoryapplet/memorystatus.cpp index 95ae06b..9993894 100644 --- a/noncore/applets/memoryapplet/memorystatus.cpp +++ b/noncore/applets/memoryapplet/memorystatus.cpp | |||
@@ -1,45 +1,45 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of the Qtopia Environment. | 4 | ** This file is part of the Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include "memorystatus.h" | 20 | #include "memorystatus.h" |
21 | #include "../../settings/sysinfo/memory.h" | 21 | #include "memory.h" |
22 | #include "swapfile.h" | 22 | #include "swapfile.h" |
23 | 23 | ||
24 | #include <qpainter.h> | 24 | #include <qpainter.h> |
25 | #include <qpushbutton.h> | 25 | #include <qpushbutton.h> |
26 | #include <qdrawutil.h> | 26 | #include <qdrawutil.h> |
27 | #include <qlabel.h> | 27 | #include <qlabel.h> |
28 | 28 | ||
29 | #include <qlayout.h> | 29 | #include <qlayout.h> |
30 | 30 | ||
31 | using namespace Opie::Ui; | 31 | using namespace Opie::Ui; |
32 | MemoryStatus::MemoryStatus(QWidget *parent, WFlags f ) | 32 | MemoryStatus::MemoryStatus(QWidget *parent, WFlags f ) |
33 | : QFrame(parent, 0, f), mi(0), sf(0) | 33 | : QFrame(parent, 0, f), mi(0), sf(0) |
34 | { | 34 | { |
35 | setCaption( tr("Memory Status") ); | 35 | setCaption( tr("Memory Status") ); |
36 | //resize( 220, 180 ); | 36 | //resize( 220, 180 ); |
37 | 37 | ||
38 | QVBoxLayout *lay = new QVBoxLayout( this ); | 38 | QVBoxLayout *lay = new QVBoxLayout( this ); |
39 | tab = new OTabWidget( this, "tabwidget", OTabWidget::Global ); | 39 | tab = new OTabWidget( this, "tabwidget", OTabWidget::Global ); |
40 | lay->addWidget( tab ); | 40 | lay->addWidget( tab ); |
41 | tab->addTab( mi = new MemoryInfo( tab ), "memory/memorytabicon", tr("Memory") ); | 41 | tab->addTab( mi = new MemoryInfo( tab ), "memory/memorytabicon", tr("Memory") ); |
42 | tab->addTab( sf = new Swapfile( tab ), "memory/storagetabicon", tr("Swapfile") ); | 42 | tab->addTab( sf = new Swapfile( tab ), "memory/storagetabicon", tr("Swapfile") ); |
43 | 43 | ||
44 | QLabel* about = new QLabel(tr("<center><b>Memory Monitor Plugin</b><br>" | 44 | QLabel* about = new QLabel(tr("<center><b>Memory Monitor Plugin</b><br>" |
45 | "Copyright (C) 2003 Anton Maslovsky<br>" | 45 | "Copyright (C) 2003 Anton Maslovsky<br>" |