No subject


Tue Aug 2 16:01:33 CEST 2005


On 8/2/05, Cornelius Schumacher <schumacher at kde.org> wrote:
> On Tuesday 02 August 2005 22:37, Kun Xi wrote:
> >
> > You don't need to care for the detail, just describe the panorama of
> > object map, method, property you expects. We are going to consider
> > you suggestion during the development.
>=20
> // Create todos from mails
> OnNewMailArrived( mail )
-- Mail.OnNewMailArrived signal

>   if ( mail.Subject =3D=3D "todo" && mail.Sender =3D=3D "me at myself.com" )
>     foreach line of mail.Body Todo.create( line )
with MailItem:
  body, sender ...
Expose TODO to the global namespace

>=20
> or
>=20
> // Send summaries of appointment every day
> OnCurrentTime( 6:00 )
We can use QTimer here:

>   foreach appointment today message.addline( appointment.Summary )
We plan to expose "Appointments" to the global namespace

>   Mail.send.message( "me at myself.com" )
>=20
> or
>=20
> // Notification when todo is done
> OnDone( todo )
OnTaskCompleted signal

>   if ( todo.Summary contains "Bugzilla" )
>   Http.post( "http://bugzilla.kde.org?submit.cgi",
>     re(#$id) from todo.Summary
>=20
> // Export contacts
> OnActionActivated( "export_users" )
>   foreach contact of Contact.selected addresslist.append( contact.name,
> contact.email )
>   save addresslist as csv at ftp://myserver/file.txt
>=20
Expose the utilites in KAddressBook, I think this has been implemented
in kaddressbook already.

> --
> Cornelius Schumacher <schumacher at kde.org>
>


More information about the Kde-soc mailing list