Bug 199991

Summary: Add alarm via context menu on clock
Product: [Plasma] plasma4 Reporter: Dotan Cohen <kde-2011.08>
Component: widget-clockAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: djarvie, jlayt
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Unspecified   
Latest Commit: Version Fixed In:

Description Dotan Cohen 2009-07-13 10:58:26 UTC
Version:            (using KDE 4.2.96)
Installed from:    Ubuntu Packages

Please add an option to right-click on the clock plasmoid in order to set an alarm via Kalarm. Thanks.
Comment 1 David Jarvie 2009-07-13 14:40:37 UTC
Changing the bug's assigned product from KAlarm to the clock plasmoid.

To implement this, the plasmoid should call KAlarm via the D-Bus call editNew(int type), which will display a new alarm dialog. The 'type' parameter is 0 for a display alarm, 1 for a command alarm or 2 for an email alarm. The D-Bus interface is defined in org.kde.kalarm.kalarm.xml.
Comment 2 Dotan Cohen 2009-07-13 15:08:55 UTC
Thanks for the info, David!
Comment 3 David Jarvie 2009-07-13 16:16:18 UTC
Sorry, the editNew() type parameter values are 1 = display alarm, 2 = command alarm, 3 = email alarm (see kalarm/kalarmiface.h).
Comment 4 John Layt 2011-05-27 19:57:23 UTC

*** This bug has been marked as a duplicate of bug 181065 ***