Hi John,

On Fri, Jun 08, 2012 at 05:17:16PM -0700, John Weeks wrote:
> 
> On 08-Jun-2012, at 4:58 PM, Nikos Chantziaras wrote:
> 
> > And having read-only access to this value 
> > doesn't serve any useful purpose.
> 
> Our purpose is to match a custom feature in our application to the keyboard 
> repeat rate. Since this is sometimes a user-settable preference, it would be 
> good if we could query the system. Best if that's a cross-platform method. 

Not sure if there is a Qt way to do this. For linux you could have a
look at the sources of the kbdrate command. Windows does provide a
SystemParametersInfo() function, which might fit your needs.

http://msdn.microsoft.com/en-us/library/windows/desktop/ms724947%28v=vs.85%29.aspx

cheers,

Andre
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to