Le samedi 15 mars 2008, Roman Jarosz a écrit :
> So here's the patch for non-intrusive notifications.
>
> I've added 3 classes.
>
> InfoEventManager and InfoEvent into libkopete and InfoEventWidget into
> kopete folder.
>
> * InfoEvent is base class for all events. I've tried to make the methods
> and logic in InfoEvent the same as in KNotification.

Maybe you could have tried to use KNotification dirrectly. (just an idea)

> * InfoEventManager practically only holds the events and emits changed()
> signal. * InfoEventWidget is the widget you see in the screenshot.
>
> The InfoEvent name was just first that came to my mind as I thought about
> this more maybe ServiceEvent or ServiceNontification would be better. What
> you think?
>
> I've also changed the ICQ authorization request to InfoEvent.


The event for contact authorisation should be in likopete.   
The API can be based on the existing Kopete::UI::ContactAddedNotifyDialog

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to