Em Friday 24 February 2012, dganic@bmail.ru escreveu:

> Good day, I would like you as you have arranged reconnect when

> connection is broken, and in what specific file you can see the

> implementation of reconnection? Thanks in advance, sorry for bad

> english.

 

Hi,

 

I think the reconnect timer is started in kopete/libkopete/kopeteaccount.cpp in method Account::disconnected. By what I could understand everytime an account is disconnected Kopete checks for the reason it was disconnected and for some of them it starts the reconnect timer.

 

There is also kopete/libkopete/connectionmanager.cpp, which is not compiled because it is from the KDE 3.x era and is not ported to use the current Solid::Networking implementation, so ignore it :-)

 

--

Lamarque V. Souza

KDE's Network Management maintainer

http://planetkde.org/pt-br