summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/homeapplet/home.cpp2
-rw-r--r--core/applets/suspendapplet/suspend.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/applets/homeapplet/home.cpp b/core/applets/homeapplet/home.cpp
index 3670e6d..0d4ad66 100644
--- a/core/applets/homeapplet/home.cpp
+++ b/core/applets/homeapplet/home.cpp
@@ -40,25 +40,25 @@ QIconSet HomeApplet::icon ( ) const
40 pix. convertFromImage ( img. smoothScale ( 14, 14 )); 40 pix. convertFromImage ( img. smoothScale ( 14, 14 ));
41 return pix; 41 return pix;
42} 42}
43 43
44QPopupMenu *HomeApplet::popup ( QWidget * ) const 44QPopupMenu *HomeApplet::popup ( QWidget * ) const
45{ 45{
46 return 0; 46 return 0;
47} 47}
48 48
49void HomeApplet::activated ( ) 49void HomeApplet::activated ( )
50{ 50{
51 // to desktop (home) 51 // to desktop (home)
52 QCopEnvelope ( "QPE/Desktop", "home()" ); 52 QCopEnvelope ( "QPE/Application/qpe", "raise()" );
53} 53}
54 54
55 55
56QRESULT HomeApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **iface ) 56QRESULT HomeApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **iface )
57{ 57{
58 *iface = 0; 58 *iface = 0;
59 if ( uuid == IID_QUnknown ) 59 if ( uuid == IID_QUnknown )
60 *iface = this; 60 *iface = this;
61 else if ( uuid == IID_MenuApplet ) 61 else if ( uuid == IID_MenuApplet )
62 *iface = this; 62 *iface = this;
63 63
64 if ( *iface ) 64 if ( *iface )
diff --git a/core/applets/suspendapplet/suspend.cpp b/core/applets/suspendapplet/suspend.cpp
index e9861e8..b502e87 100644
--- a/core/applets/suspendapplet/suspend.cpp
+++ b/core/applets/suspendapplet/suspend.cpp
@@ -40,25 +40,25 @@ QIconSet SuspendApplet::icon ( ) const
40 pix. convertFromImage ( img. smoothScale ( 14, 14 )); 40 pix. convertFromImage ( img. smoothScale ( 14, 14 ));
41 return pix; 41 return pix;
42} 42}
43 43
44QPopupMenu *SuspendApplet::popup ( QWidget * ) const 44QPopupMenu *SuspendApplet::popup ( QWidget * ) const
45{ 45{
46 return 0; 46 return 0;
47} 47}
48 48
49void SuspendApplet::activated ( ) 49void SuspendApplet::activated ( )
50{ 50{
51 // suspend 51 // suspend
52 QCopEnvelope ( "QPE/Desktop", "suspend()" ); 52 QCopEnvelope ( "QPE/System", "suspend()" );
53} 53}
54 54
55 55
56QRESULT SuspendApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **iface ) 56QRESULT SuspendApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **iface )
57{ 57{
58 *iface = 0; 58 *iface = 0;
59 if ( uuid == IID_QUnknown ) 59 if ( uuid == IID_QUnknown )
60 *iface = this; 60 *iface = this;
61 else if ( uuid == IID_MenuApplet ) 61 else if ( uuid == IID_MenuApplet )
62 *iface = this; 62 *iface = this;
63 63
64 if ( *iface ) 64 if ( *iface )