author | sandman <sandman> | 2002-10-06 22:22:17 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-10-06 22:22:17 (UTC) |
commit | 932cb3b350748549bfdb6fdc6f080061f4340f73 (patch) (unidiff) | |
tree | 2998710324342eed2b4da3dc37f09fbf42daddda /core/applets/suspendapplet/suspend.cpp | |
parent | 685c08f1c48813f9d222446f0516b8e20635607e (diff) | |
download | opie-932cb3b350748549bfdb6fdc6f080061f4340f73.zip opie-932cb3b350748549bfdb6fdc6f080061f4340f73.tar.gz opie-932cb3b350748549bfdb6fdc6f080061f4340f73.tar.bz2 |
- added a new logout menu-applet
- fixed the positions of all menu applets
- changed the icons for logout/suspend
Diffstat (limited to 'core/applets/suspendapplet/suspend.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/suspendapplet/suspend.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/applets/suspendapplet/suspend.cpp b/core/applets/suspendapplet/suspend.cpp index 5966a84..e9861e8 100644 --- a/core/applets/suspendapplet/suspend.cpp +++ b/core/applets/suspendapplet/suspend.cpp | |||
@@ -18,7 +18,7 @@ SuspendApplet::~SuspendApplet ( ) | |||
18 | 18 | ||
19 | int SuspendApplet::position ( ) const | 19 | int SuspendApplet::position ( ) const |
20 | { | 20 | { |
21 | return 0; | 21 | return 2; |
22 | } | 22 | } |
23 | 23 | ||
24 | QString SuspendApplet::name ( ) const | 24 | QString SuspendApplet::name ( ) const |
@@ -34,10 +34,10 @@ QString SuspendApplet::text ( ) const | |||
34 | QIconSet SuspendApplet::icon ( ) const | 34 | QIconSet SuspendApplet::icon ( ) const |
35 | { | 35 | { |
36 | QPixmap pix; | 36 | QPixmap pix; |
37 | QImage img = Resource::loadImage ( "Shutdown" ); | 37 | QImage img = Resource::loadImage ( "suspend" ); |
38 | 38 | ||
39 | if ( !img. isNull ( )) | 39 | if ( !img. isNull ( )) |
40 | pix. convertFromImage ( img. smoothScale ( 16, 16 )); | 40 | pix. convertFromImage ( img. smoothScale ( 14, 14 )); |
41 | return pix; | 41 | return pix; |
42 | } | 42 | } |
43 | 43 | ||