[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    Re: [kopete-devel] Deleting Messages
From:       Olivier Goffart <ogoffart () kde ! org>
Date:       2007-03-30 9:56:20
Message-ID: 200703301156.25613.ogoffart () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Le vendredi 30 mars 2007, Michael Zanetti a écrit :
> Is there any way to delete them or something like a "Don't display" Flag
> that prevents the message from beeing shown in the chatwindow?

You can't do that with the aboutToDisplay signal API.
you need to use the new MessageHandler API

in your reimplementation of MessageHandler::handleMessage,  call 
event->discard()

http://developer.kde.org/documentation/library/3.5-api/kdenetwork-apidocs/kopete/libkopete/html/classKopete_1_1MessageHandler.html#a5
 http://developer.kde.org/documentation/library/3.5-api/kdenetwork-apidocs/kopete/libkopete/html/classKopete_1_1MessageEvent.html#i3



[Attachment #5 (application/pgp-signature)]

_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic