Re: qdbus korganizer and QDate
Dj YB <[email protected]>
| Newsgroups | gmane.comp.kde.users.pim |
|---|---|
| Message-ID | <[email protected]> |
On Monday August 23 2010 12:30:29 Dj YB wrote: > Hello, > > https://bugs.kde.org/show_bug.cgi?id=211633 > trying to write a script to do the next thing. > in korganizer upon a shortcut popup an input box for a date, then go to > that date. > sound simple, and it should be. > however trying to use dbus is hard since I can't find an example or a > document as to how to use it, so trial and error was fun but now I need > help. > > method void org.kde.Korganizer.Calendar.showDate(QDate date) > > this is the method I am using but I can't figure out the format of the > argument, nothing I tried work... > > things I have tried and did not work > > $dbus org.kde.korganizer /Calendar org.kde.Korganizer.Calendar.showDate > 1/1/10 $dbus org.kde.korganizer /Calendar > org.kde.Korganizer.Calendar.showDate 10/1/1 $dbus org.kde.korganizer > /Calendar org.kde.Korganizer.Calendar.showDate 2010-01-01 > $dbus org.kde.korganizer /Calendar org.kde.Korganizer.Calendar.showDate > 2010,1,1 > > and others. > hope someone know the answer > Thanks in advance, > YB. well, more trial and error discovered: $dbus org.kde.korganizer /Calendar org.kde.Korganizer.Calendar.showDate 2010/08/20 is the right syntax :-) YB.