Hi Gustavo, In data giovedì 30 luglio 2009 19:04:24, Gustavo Boiko ha scritto: : > Hi > > Thank you for notifying about that. > > Em 22/07/2009, às 09:24, Dario Freddi escreveu: > > Hello guys, > > > > I moved KIdleTime to kdelibs/kutils right now, and you told me to > > drop a line > > here when this would have happened. The code is completely > > multiplatform and > > it would be nice to have less code duplication around, so I would > > like to know > > if you're still interested in using it. > > I'll try to give it a shot in the next few days. Let's see what happens. > > Just one small suggestion: wouldn't it be better to assign an id to > each timeout added? I mean if two different parts of the code add a > 500ms timeout, and after some time one of them removes the timeout. > Will the code still notify the other 500ms timeout?
The interval is already the ID. Actually, since the idle time is always the same, setting 2 intervals in the very same moment will end up in having a single 500ms interval, since both would fire at the very same time. > > Also, by adding this id, the API would be more consistent with the one > used by the QObject timer (in which timer events are referred to by > their ids and not by their timeout intervals). > > Cheers > > Boiko -- ------------------- Dario Freddi KDE Developer GPG Key Signature: 511A9A3B _______________________________________________ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel