konqueror mainwindow + group leader

Martin Koller m.koller at surfeu.at
Fri Dec 29 23:13:10 GMT 2006


Hi all,

I fixed https://bugs.kde.org/show_bug.cgi?id=24735
(can not close a konqueror window when a modal dialog from another konqueror 
window is open)
by defining that a konqueror main window is a Qt::WGroupLeader.

The problem is now to forwardport this, because WGroupLeader is deprecated in 
Qt4.
As far as I understand the Qt docs, they say that the dialog, etc. (the window 
which will be opened modal) shall define if it is modal to its parent or to 
the whole application.

This however might be problematic as konqueror is a container for KParts and 
therefore I can not know which dialogs, etc. will eventually block my main 
window.

I would really have the possibility to tell the konqi main window it shall be 
the leader, and not have to change all possible dialog classes (which might 
not even be in the KDE repository).

So what about sticking to the deprecated WGroupLeader WindowFlag ?
Other ideas ?
Shall I ask the Trolls about this ?
-- 
Best regards/Schöne Grüße

Martin    ()  ascii ribbon campaign - against html mail 
          /\                        - against microsoft attachments

Computers and Internet gave you freedom.
TCPA would TAKE your FREEDOM!  http://www.againsttcpa.com




More information about the kde-core-devel mailing list