Re: [Leechcraft-devel] Util::SevePassword/GetPassword and outdated gotEvent
Status: Beta
Brought to you by:
d34df00d
From: Georg R. <0xd...@gm...> - 2013-08-02 13:12:17
|
2013/8/2 Олег Линкин <mal...@gm...>: > Util::SavePassword and Util::GetPassword use as last parameter QObject > *emitter where emmiter should be a class which has gotEntity () and > delegateEntity() signals, but now we can use IEntityManager for this and > this signals are outdated, imho. True, they are and they may even be removed later on. > Is there an any way to save and get password without sending Plugin instance > to every class which use SavePassword or GetPassword? Not yet, and thanks for noticing. I was thinking about adding an overload a while ago, but haven't got my hands on it. Anyway, for now you could pass not only the plugin instance object, but anything whose signals are connected to instance object's ones. -- Georg Rudoy LeechCraft — http://leechcraft.org |