From e9b7ffa394fa30bea063fbed68b36800e9ebee6d Mon Sep 17 00:00:00 2001 From: harlekin Date: Tue, 11 Jun 2002 13:03:07 +0000 Subject: vcard now clickable label --- (limited to 'core/pim/today/today.cpp') diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 4368201..69a0f75 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp @@ -68,6 +68,7 @@ Today::Today( QWidget* parent, const char* name, WFlags fl ) QObject::connect( (QObject*)TodoButton, SIGNAL( clicked() ), this, SLOT(startTodo() ) ); QObject::connect( (QObject*)DatesButton, SIGNAL( clicked() ), this, SLOT(startDatebook() ) ); QObject::connect( (QObject*)MailButton, SIGNAL( clicked() ), this, SLOT(startMail() ) ); + QObject::connect( (QObject*)OwnerField, SIGNAL( clicked() ), this, SLOT(editCard() ) ); #if defined(Q_WS_QWS) #if !defined(QT_NO_COP) @@ -419,6 +420,15 @@ void Today::getTodo() { TodoField->setText(tr(output)); } + +/* + * launch addressbook + */ +void Today::editCard() { + QCopEnvelope e("QPE/System", "execute(QString)"); + e << QString("addressbook"); +} + /* * launches datebook */ -- cgit v0.9.0.2