Ignore:
Timestamp:
01/20/10 16:27:11 (13 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
a5c1179
Parents:
f2ef735
Message:

MAEMO: work on alarm

  • snooze alarm
  • cancel alarm
  • run application which automatically display Event dialog for given Event ID
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/alarmdialog.cpp

    rf2ef735 rd4a8bbf  
    66
    77#include <QDir>
     8#include <QProcess>
    89
    910const int SNOOZE_TIME = 5; // in minutes
     
    4849void AlarmDialog::runApp()
    4950{
    50     qWarning("runApp(): NOT IMPLEMENTED YET");
     51    QString program = QDir::currentPath() + "/" + *qApp->argv();
     52    QProcess::startDetached(program,QStringList()<<QString::number(mEventId));
     53    qApp->quit();
    5154}
    5255
Note: See TracChangeset for help on using the changeset viewer.