author | sandman <sandman> | 2002-12-27 17:20:53 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-12-27 17:20:53 (UTC) |
commit | f72f832ca7232ac67c0dd24c6ec60d8c1b6e5ef1 (patch) (unidiff) | |
tree | 3b896114728f91d6e57d0a00d67ce437d705d4f0 | |
parent | 8b18617fb0c11a6a9febee429f546a76181b0935 (diff) | |
download | opie-f72f832ca7232ac67c0dd24c6ec60d8c1b6e5ef1.zip opie-f72f832ca7232ac67c0dd24c6ec60d8c1b6e5ef1.tar.gz opie-f72f832ca7232ac67c0dd24c6ec60d8c1b6e5ef1.tar.bz2 |
Changed the menu string from "Home" to "Desktop" -- this was decided at
the Opie 1.0 meeting
-rw-r--r-- | core/applets/homeapplet/home.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/applets/homeapplet/home.cpp b/core/applets/homeapplet/home.cpp index 0d4ad66..f94bc14 100644 --- a/core/applets/homeapplet/home.cpp +++ b/core/applets/homeapplet/home.cpp | |||
@@ -7,49 +7,49 @@ | |||
7 | #include "home.h" | 7 | #include "home.h" |
8 | 8 | ||
9 | 9 | ||
10 | HomeApplet::HomeApplet ( ) | 10 | HomeApplet::HomeApplet ( ) |
11 | : QObject ( 0, "HomeApplet" ), ref ( 0 ) | 11 | : QObject ( 0, "HomeApplet" ), ref ( 0 ) |
12 | { | 12 | { |
13 | } | 13 | } |
14 | 14 | ||
15 | HomeApplet::~HomeApplet ( ) | 15 | HomeApplet::~HomeApplet ( ) |
16 | { | 16 | { |
17 | } | 17 | } |
18 | 18 | ||
19 | int HomeApplet::position ( ) const | 19 | int HomeApplet::position ( ) const |
20 | { | 20 | { |
21 | return 4; | 21 | return 4; |
22 | } | 22 | } |
23 | 23 | ||
24 | QString HomeApplet::name ( ) const | 24 | QString HomeApplet::name ( ) const |
25 | { | 25 | { |
26 | return tr( "Home shortcut" ); | 26 | return tr( "Home shortcut" ); |
27 | } | 27 | } |
28 | 28 | ||
29 | QString HomeApplet::text ( ) const | 29 | QString HomeApplet::text ( ) const |
30 | { | 30 | { |
31 | return tr( "Home" ); | 31 | return tr( "Desktop" ); |
32 | } | 32 | } |
33 | 33 | ||
34 | QIconSet HomeApplet::icon ( ) const | 34 | QIconSet HomeApplet::icon ( ) const |
35 | { | 35 | { |
36 | QPixmap pix; | 36 | QPixmap pix; |
37 | QImage img = Resource::loadImage ( "home" ); | 37 | QImage img = Resource::loadImage ( "home" ); |
38 | 38 | ||
39 | if ( !img. isNull ( )) | 39 | if ( !img. isNull ( )) |
40 | pix. convertFromImage ( img. smoothScale ( 14, 14 )); | 40 | pix. convertFromImage ( img. smoothScale ( 14, 14 )); |
41 | return pix; | 41 | return pix; |
42 | } | 42 | } |
43 | 43 | ||
44 | QPopupMenu *HomeApplet::popup ( QWidget * ) const | 44 | QPopupMenu *HomeApplet::popup ( QWidget * ) const |
45 | { | 45 | { |
46 | return 0; | 46 | return 0; |
47 | } | 47 | } |
48 | 48 | ||
49 | void HomeApplet::activated ( ) | 49 | void HomeApplet::activated ( ) |
50 | { | 50 | { |
51 | // to desktop (home) | 51 | // to desktop (home) |
52 | QCopEnvelope ( "QPE/Application/qpe", "raise()" ); | 52 | QCopEnvelope ( "QPE/Application/qpe", "raise()" ); |
53 | } | 53 | } |
54 | 54 | ||
55 | 55 | ||