I need to handle WM_QUERYENDSESSION in my qt application. As WM_QUERYENDSESSION recieve only QApplication so I want to get list of all opened windows of my application to decide winEventFilter result. How can I get it?
QApplication::topLevelWidgets()
can provide that, docs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With