On Sunday 19 December 2010 19:44:10 Olivier Goffart wrote: > Le Sunday 19 December 2010, Ian Kazlauskas a écrit : > > Hi. I need to have some functions in Kopete. So i desided to write simple > > plugin. But i don't know if Kopetes plugin system provides ability to put > > my own text in message input widget. For example, i type something like > > that: 'Plfhjdf? uj yfgm`vcz d lhjdfЖ)'. And when i do, for example, > > Ctrl+T, i see in my message redactor widget 'Здарова. го напьёмся в > > дрова:)'. So this plugin must convert string if user forgot to change > > keyboard layout. > > > > I'm not new in Qt development, but have no idea how to develop KDE apps > > [image: > > :)] > > > > Can someone help with that? I just need to know how can plugin get access > > to input message widget. > > Hi, > > The translator plugin can do that kind of stuff, you may want to look at > its source code. >
Also the OTR plugin does that when a message cannot be sent because the encrypted channel has been closed. see line 334 in: http://websvn.kde.org/trunk/KDE/kdenetwork/kopete/plugins/otr/otrplugin.cpp?revision=1146402&view=markup
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel