[Qt-interest] Detect Mac OS X Dock clicks

Nathan Carter nathancarter5 at gmail.com
Wed Mar 25 20:45:11 CET 2009


There is a more recent QQ article that addresses the same issue, and  
simplifies the code from that 3-year-old article:

	http://doc.trolltech.com/qq/qq18-macfeatures.html

Nathan


On Mar 25, 2009, at 2:00 PM, Gustavo Federico Bett wrote:

> Hi:
>
> I'm working in a application for MacOS and I need to detect when the  
> user clicks the application icon on the Dock. There is a way to  
> catch that event?.
>
> So far the only thing that I found seems to involve a call to a  
> native function to hook the OpenEvent to a event handler in my  
> application. (http://doc.trolltech.com/qq/qq12-mac-events.html), but  
> that document is at least three years old. There is no better way to  
> do that using Qt 4.5. ???
>
> Thanks in advance
>
> -- 
> Gustavo Federico Bett
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090325/d4ee02ef/attachment.html 


More information about the Qt-interest-old mailing list