How to dynamically enable/disable menu actions on-demand

Esben Mose Hansen kde at mosehansen.dk
Thu Apr 2 11:58:14 UTC 2009


On Thursday 02 April 2009 13:03:33 David Nolden wrote:
> Anyone has an idea how to do that the best way?

I don't  think I understand the question. 

I presume that you would get too many signals/connections if you simply used 
the signal QAction::setEnabled()? How about  the signal QMenu::aboutToShow()?

Or are you looking for QAction::aboutToShow()?

-- 
kind regards, Esben





More information about the KDevelop-devel mailing list