![]() |
2011-01-09
, 20:04
|
Posts: 1 |
Thanked: 0 times |
Joined on Jan 2011
@ The Gdansk of Oxfordshire
|
#12
|
![]() |
2011-01-12
, 19:41
|
Posts: 1 |
Thanked: 1 time |
Joined on Jan 2011
|
#13
|
Is there any way of accessing the calendar from the command line? E.g. I would like to write add a calendar quick add widget that does the follows:
1. Pops up a small entry widget in which I would type something like:
Lunch with Ron next Wednesday at 12:00
2. A freetext format parses would convert this into an ical file.
3. The widget should somehow import the ical file into the calendar db.
The question is how to do step number 3?
setcalendar --start "2011-01-11 10:20:00" --end "2011-01-11 10:20:00" --name "make phonecall" --desc "whatever description" --loc "some location" --alarm "5min"
The Following User Says Thank You to kingdomnebaneba For This Useful Post: | ||
![]() |
2011-02-04
, 17:15
|
Posts: 466 |
Thanked: 661 times |
Joined on Jan 2009
|
#14
|
@jackburton
Yes, this should be easy.
Setting up the scratchbox development
envrionment is much more difficult than writing this app.
I don't know the qtmobility api for the calendar. But installing
QtCreator and making a simple commandline application should be
easy. The calendar-backend uses C++ as well, so it is easier to use
this from Qt code than for a gtk+ application for example.
nicolai
![]() |
2011-02-04
, 18:04
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#15
|
![]() |
2011-02-04
, 19:03
|
Posts: 466 |
Thanked: 661 times |
Joined on Jan 2009
|
#16
|
![]() |
2011-03-08
, 00:36
|
Posts: 466 |
Thanked: 661 times |
Joined on Jan 2009
|
#17
|
If you made your own project, be sure you have this
line in your .pro file:
PKGCONFIG += calendar-backend
Nicolai
cd builddir && qmake-qt4 PREFIX=/usr ../maecaltool.pro Package calendar-backend was not found in the pkg-config search path. Perhaps you should add the directory containing `calendar-backend.pc' to the PKG_CONFIG_PATH environment variable No package 'calendar-backend' found
![]() |
2011-03-08
, 01:43
|
Posts: 466 |
Thanked: 661 times |
Joined on Jan 2009
|
#18
|
Build-Depends: debhelper (>= 5), libqt4-dev, calendar-backend-dev
but it is also listening for dbus-signals send by the calendar-backand.
Maybe you can send this signals manually.
nicolai
my contributions:
Desktop Clock Widget|Calendar Home Widget|Lens Cover Reminder|ConnectNow|Scout|App Search Widget|ProfilesX|
Desktop-Switcher|SMS-Messageblocker
-Donate-