summaryrefslogtreecommitdiff
authorsandman <sandman>2002-12-27 17:20:53 (UTC)
committer sandman <sandman>2002-12-27 17:20:53 (UTC)
commitf72f832ca7232ac67c0dd24c6ec60d8c1b6e5ef1 (patch) (side-by-side diff)
tree3b896114728f91d6e57d0a00d67ce437d705d4f0
parent8b18617fb0c11a6a9febee429f546a76181b0935 (diff)
downloadopie-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
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/homeapplet/home.cpp2
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
@@ -1,74 +1,74 @@
#include <qpe/resource.h>
#include <qpe/qcopenvelope_qws.h>
#include <qiconset.h>
#include <qpopupmenu.h>
#include "home.h"
HomeApplet::HomeApplet ( )
: QObject ( 0, "HomeApplet" ), ref ( 0 )
{
}
HomeApplet::~HomeApplet ( )
{
}
int HomeApplet::position ( ) const
{
return 4;
}
QString HomeApplet::name ( ) const
{
return tr( "Home shortcut" );
}
QString HomeApplet::text ( ) const
{
- return tr( "Home" );
+ return tr( "Desktop" );
}
QIconSet HomeApplet::icon ( ) const
{
QPixmap pix;
QImage img = Resource::loadImage ( "home" );
if ( !img. isNull ( ))
pix. convertFromImage ( img. smoothScale ( 14, 14 ));
return pix;
}
QPopupMenu *HomeApplet::popup ( QWidget * ) const
{
return 0;
}
void HomeApplet::activated ( )
{
// to desktop (home)
QCopEnvelope ( "QPE/Application/qpe", "raise()" );
}
QRESULT HomeApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **iface )
{
*iface = 0;
if ( uuid == IID_QUnknown )
*iface = this;
else if ( uuid == IID_MenuApplet )
*iface = this;
if ( *iface )
(*iface)-> addRef ( );
return QS_OK;
}
Q_EXPORT_INTERFACE( )
{
Q_CREATE_INSTANCE( HomeApplet )
}