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

List:       nepomuk
Subject:    Re: [Nepomuk] Review Request: Fix for the rapid change in state of
From:       François_K. <daitheflu () free ! fr>
Date:       2011-09-29 7:55:48
Message-ID: 409583204.2359231317282948046.JavaMail.root () zimbra9-e2 ! priv ! proxad ! net
[Download RAW message or body]


----- "Martin Klapetek" <martin.klapetek@gmail.com> a écrit :

> De: "Martin Klapetek" <martin.klapetek@gmail.com>
> À: "Martin Klapetek" <martin.klapetek@gmail.com>, "Smit Shah" <who828@gmail.com>, \
> "François Kubler" <francois@kubler.org>, "Nepomuk" <nepomuk@kde.org>
> Envoyé: Jeudi 29 Septembre 2011 09h47:09 GMT +01:00 Amsterdam / Berlin / Berne / \
>                 Rome / Stockholm / Vienne
> Objet: Re: [Nepomuk] Review Request: Fix for the rapid change in state of nepomuk \
> system tray icon 
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102726/
> 
> 
> 
> 
> On September 28th, 2011, 9:52 p.m., François Kubler wrote:
> 
> 
> nepomuk/controller/systray.cpp (Diff revision 2)
> 	Nepomuk::SystemTray::SystemTray( QObject* parent )
> 	112 	m_updateTimer . start ( 5000 ); When started like that, the
> timeout SIGNAL will be fired every 5 seconds. I don't think this is
> needed, is it ?
> Shouldn't the SIGNAL be fired only once to tell the widget to blink ?
> (if so, you could use something like setSingleShot(true) ). There's
> also a static method for that -- QTimer::singleShot()
> 
> 
> - Martin


Yes, but the static method can't be cancelled (for example, if indexing is stopped \
after 2 seconds), can it ? I'm really new to Qt, so you'd better check what I say \
twice :)

Have a nice day,

-- 
François


> 
> 
> On September 28th, 2011, 6:22 p.m., Smit Shah wrote:
> Review request for Nepomuk.
> By Smit Shah.
> 
> Updated Sept. 28, 2011, 6:22 p.m. Description
> 	Now that i have added a timer it should fix the rapid passive/active
> changes in nepomuk system tray icon.
> Bugs: Active/Non , active , controller , of , state Diffs
> 
> 
> • nepomuk/controller/systray.h (06261b7)
> • nepomuk/controller/systray.cpp (b67eb6c)
> 
> 
> View Diff 
> _______________________________________________
> Nepomuk mailing list
> Nepomuk@kde.org
> https://mail.kde.org/mailman/listinfo/nepomuk
_______________________________________________
Nepomuk mailing list
Nepomuk@kde.org
https://mail.kde.org/mailman/listinfo/nepomuk


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

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