Re: How to access calendar using javascript?

2012-07-03 Thread Kevin Krammer
On Monday, 2012-07-02, Davide Bettio wrote:
 Hello,
 
 I've created the current calendar widget, my initial intention was to
 review it and to move it to kdelibs but I didn't so the API isn't
 meant to be used by anyone.
 If you don't mind to wait few days I will commit the QML
 implementation that I'm writing.

Would be great if you could CCMAIL kde-...@kde.org in the commit?

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring


signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: How to access calendar using javascript?

2012-07-03 Thread John Layt
On 2 Jul 2012 17:07, Davide Bettio bet...@kde.org wrote:

 Hello,

 I've created the current calendar widget, my initial intention was to
review it and to move it to kdelibs but I didn't so the API isn't meant to
be used by anyone.
 If you don't mind to wait few days I will commit the QML implementation
that I'm writing.

 Bye,
 Davide Bettio.

Please note that kdelibs is closed for new features, bugfixes only are
allowed. Any new widgets will need to be Plasma only until Frameworks 5.

John.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: How to access calendar using javascript?

2012-07-03 Thread Davide Bettio

Hello,

Quoting Kevin Krammer kram...@kde.org:

Would be great if you could CCMAIL kde-...@kde.org in the commit?
Please tell me if you have any requirement for kde pim :) Anyway I  
will CC as son as I commit.


Bye,
Davide Bettio.


___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: How to access calendar using javascript?

2012-07-03 Thread Davide Bettio

Hello,

Quoting John Layt jl...@kde.org:

Please note that kdelibs is closed for new features, bugfixes only are
allowed. Any new widgets will need to be Plasma only until Frameworks 5.

It will be a plasma QML component so it will go to kde-runtime.

Bye,
Davide Bettio.


___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: How to access calendar using javascript?

2012-07-03 Thread Kevin Krammer
On Tuesday, 2012-07-03, Davide Bettio wrote:
 Hello,
 
 Quoting Kevin Krammer kram...@kde.org:
  Would be great if you could CCMAIL kde-...@kde.org in the commit?
 
 Please tell me if you have any requirement for kde pim :) Anyway I
 will CC as son as I commit.

No requirements, just to make sure we know about usages of the APIs so we can 
include those in discussions about future APIs, features, etc.

While I am subscribed to a lot of mailinglist, e.g. this one, and therefore 
catch things like that, a lot of other KDE PIM people do not but would still 
benefit from knowing about it.

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring


signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: How to access calendar using javascript?

2012-07-02 Thread Aaron J. Seigo
On Thursday, June 28, 2012 15:46:09 qasdfgtyuiop wrote:
 I want to let my widget add some events to the calendar.  But I can
 not find the api doc, where can I find them?

you probably want to be adding events into Akonadi. 

the calendar DataEngine has a Service defined that lets you add an event .. but 
it has not been fully implemented.

so we either need to complete that implementation or you will need to write 
directly to Akonadi. finishing the DataEngine would be preferred because then 
it immediately becomes available to QML/Javascript.

-- 
Aaron J. Seigo

signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: How to access calendar using javascript?

2012-07-02 Thread gaoxiang
On Monday 02 July 2012 09:08:37 Aaron J. Seigo wrote:
 On Thursday, June 28, 2012 15:46:09 qasdfgtyuiop wrote:
  I want to let my widget add some events to the calendar.  But I can
  not find the api doc, where can I find them?
 
 you probably want to be adding events into Akonadi.
 
 the calendar DataEngine has a Service defined that lets you add an event ..
 but it has not been fully implemented.
 
 so we either need to complete that implementation or you will need to write
 directly to Akonadi. finishing the DataEngine would be preferred because
 then it immediately becomes available to QML/Javascript.

Thanks for your reply
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: How to access calendar using javascript?

2012-07-02 Thread Kevin Krammer
On Monday, 2012-07-02, gaoxiang wrote:
 On Monday 02 July 2012 09:08:37 Aaron J. Seigo wrote:
  On Thursday, June 28, 2012 15:46:09 qasdfgtyuiop wrote:
   I want to let my widget add some events to the calendar.  But I can
   not find the api doc, where can I find them?
  
  you probably want to be adding events into Akonadi.
  
  the calendar DataEngine has a Service defined that lets you add an event
  .. but it has not been fully implemented.
  
  so we either need to complete that implementation or you will need to
  write directly to Akonadi. finishing the DataEngine would be preferred
  because then it immediately becomes available to QML/Javascript.
 
 Thanks for your reply

You can also check kdepim/mobile/calendar which contains the parts Kontact 
Touch (the mobile, declarative verson of Kontact) uses for calendar 
integration.

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring


signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: How to access calendar using javascript?

2012-07-02 Thread John Layt
On 2 Jul 2012 08:08, Aaron J. Seigo ase...@kde.org wrote:

 On Thursday, June 28, 2012 15:46:09 qasdfgtyuiop wrote:
  I want to let my widget add some events to the calendar.  But I can
  not find the api doc, where can I find them?

 you probably want to be adding events into Akonadi.

 the calendar DataEngine has a Service defined that lets you add an event
.. but
 it has not been fully implemented.

 so we either need to complete that implementation or you will need to
write
 directly to Akonadi. finishing the DataEngine would be preferred because
then
 it immediately becomes available to QML/Javascript.

Funnily enough, I've been documenting what's needed and had written a blog
about it. It's now posted at www.layt.net/john/fame_akademy with more
details at community.kde.org/Plasma/Clock .

Cheers!

John.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: How to access calendar using javascript?

2012-07-02 Thread John Layt
 Funnily enough, I've been documenting what's needed and had written a
blog about it. It's now posted at www.layt.net/john/fame_akademy with more
details at community.kde.org/Plasma/Clock .

Bah, thats www.layt.net/john/blog/odysseus/fame_akademy or just wait for it
on the Planet :-)

John
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: How to access calendar using javascript?

2012-07-02 Thread Marco Martin
On Mon, Jul 2, 2012 at 4:24 AM, gaoxiang qasdfgtyu...@gmail.com wrote:
 On Thursday 28 June 2012 15:46:09 qasdfgtyuiop wrote:
 I want to let my widget add some events to the calendar.  But I can
 not find the api doc, where can I find them?
 I have read these tutorials/documentations but I find nothing helpful:

 http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/API-DataEngi
 nesServices
 http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/API


for the graphical part, davide is doing a gsoc to do a calendar
component in qml, hopefully reusable

Cheers,
Marco Martin
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: How to access calendar using javascript?

2012-07-02 Thread Davide Bettio

Hello,

I've created the current calendar widget, my initial intention was to  
review it and to move it to kdelibs but I didn't so the API isn't  
meant to be used by anyone.
If you don't mind to wait few days I will commit the QML  
implementation that I'm writing.


Bye,
Davide Bettio.


___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: How to access calendar using javascript?

2012-07-01 Thread gaoxiang
On Thursday 28 June 2012 15:46:09 qasdfgtyuiop wrote:
 I want to let my widget add some events to the calendar.  But I can
 not find the api doc, where can I find them?
 I have read these tutorials/documentations but I find nothing helpful:
 
 http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/API-DataEngi
 nesServices
 http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/API

Anyone can help?  Or is there any project written in qml that access calendar?  
I can get some information about these codes.
Thanks
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel