[Qt-interest] Detection of new drives

Tiago Correia tiago at cnotinfor.pt
Tue Mar 17 11:30:18 CET 2009


Hi,
If you are in Windows that might be easy.

Check this article
http://www.codeproject.com/KB/system/HwDetect.aspx

Now how to read system messages in windows. From what I found in the
Assistant, you should use
QAbstractEventDispatcher::instance<qabstracteventdispatcher.html#instance>
()
I've also found that winEventFilter might me also useful.

Can any one help on this matter how to get system messages in Windows?
I just guessing, since I never tried.

2009/3/16 Benjamin Sonnemann <b.sonnemann at gmail.com>

> Hello,
>
> i wanted to ask if someone know whether there is already
> a class which notifys you of changes in the attached devices.
> Like attaching an usb stick.
>
>
> Benjamin Sonnemann
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>


-- 
Tiago Correia
chief technology officer

cnoti inovação & desenvolvimento – Aprendizagem enRiquecida pela Tecnologia
www.cnotinfor.pt
Telefone: +351 239 499 231

Subscreva gratuitamente a nossa Newsletter BICA – Boletim informativo de
Interactividade, Comunicação e Aprendizagem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090317/146698f3/attachment.html 


More information about the Qt-interest-old mailing list