summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-04-19 21:43:29 (UTC)
committer harlekin <harlekin>2002-04-19 21:43:29 (UTC)
commit59aeb3bb66ad382201fe1e2cc3066564240d1cc1 (patch) (side-by-side diff)
treee2d5721765a6dc269d2a58bef5c02ccc11d459e5
parent7ea4abeb652e6787e57a938e1ca028d25fd249ce (diff)
downloadopie-59aeb3bb66ad382201fe1e2cc3066564240d1cc1.zip
opie-59aeb3bb66ad382201fe1e2cc3066564240d1cc1.tar.gz
opie-59aeb3bb66ad382201fe1e2cc3066564240d1cc1.tar.bz2
launch ALSO qtmail by clicking on mail icon
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/today.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index f5ed8d2..1cb4881 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -430,48 +430,51 @@ void Today::startDatebook() {
extern QPEApplication *todayApp;
void Today::editEvent(const Event &e) {
startDatebook();
while(!QCopChannel::isRegistered("QPE/Datebook")) todayApp->processEvents();
QCopEnvelope env("QPE/Datebook", "editEvent(int)");
env << e.uid();
}
/*
* launches todolist
*/
void Today::startTodo() {
QCopEnvelope e("QPE/System", "execute(QString)");
e << QString("todolist");
}
/*
* launch opiemail
*/
void Today::startMail() {
QCopEnvelope e("QPE/System", "execute(QString)");
e << QString("opiemail");
+//Right now start both, maybe decide which to rum via config file ..
+ QCopEnvelope e("QPE/System", "execute(QString)");
+ e << QString("qtmail");
}
Today::~Today() {
}
/*
* Gets the events for the current day, if it should get all dates
*/
DateBookEvent::DateBookEvent(const EffectiveEvent &ev,
QWidget* parent = 0,
int SHOW_LOCATION = 0,
int SHOW_NOTES = 0,
const char* name = 0,
WFlags fl = 0) :
ClickableLabel(parent,name,fl), event(ev) {
QString msg;
//QTime time = QTime::currentTime();
Config config( "qpe" );
// if 24 h format
ampm = config.readBoolEntry( "AMPM", TRUE );