[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim
From: Bo Thorsen <bo () sonofthor ! dk>
Date: 2004-11-11 8:14:35
Message-ID: 20041111081435.4167216D46 () office ! kde ! org
[Download RAW message or body]
CVS commit by thorsen:
Fix Kontact issues with modal dialogs blocking all of Kontact by using the \
WGroupLeader widget flag
M +25 -21 kaddressbook/addresseeeditordialog.cpp 1.22
M +4 -0 kaddressbook/kaddressbookmain.cpp 1.46
M +11 -7 kmail/kmcomposewin.cpp 1.884
M +5 -1 kmail/kmmainwin.cpp 1.602
M +4 -0 kontact/src/mainwindow.cpp 1.128
M +23 -19 korganizer/koincidenceeditor.cpp 1.51
M +5 -1 korganizer/korganizer.cpp 1.184
--- kdepim/kaddressbook/addresseeeditordialog.cpp #1.21:1.22
@@ -41,4 +41,8 @@ AddresseeEditorDialog::AddresseeEditorDi
KDialogBase::Ok, parent, name, false )
{
+ // Set this to be the group leader for all subdialogs - this means
+ // modal subdialogs will only affect this dialog, not the other windows
+ setWFlags( getWFlags() | WGroupLeader );
+
kdDebug(5720) << "AddresseeEditorDialog()" << endl;
--- kdepim/kaddressbook/kaddressbookmain.cpp #1.45:1.46
@@ -38,4 +38,8 @@ KAddressBookMain::KAddressBookMain( cons
: DCOPObject( "KAddressBookIface" ), KMainWindow( 0 )
{
+ // Set this to be the group leader for all subdialogs - this means
+ // modal subdialogs will only affect this dialog, not the other windows
+ setWFlags( getWFlags() | WGroupLeader );
+
setCaption( i18n( "Address Book Browser" ) );
--- kdepim/kmail/kmcomposewin.cpp #1.883:1.884
@@ -145,4 +145,8 @@ KMComposeWin::KMComposeWin( KMMessage *a
mComposer( 0 )
{
+ // Set this to be the group leader for all subdialogs - this means
+ // modal subdialogs will only affect this dialog, not the other windows
+ setWFlags( getWFlags() | WGroupLeader );
+
mSubjectTextWasSpellChecked = false;
if (kmkernel->xmlGuiInstance())
--- kdepim/kmail/kmmainwin.cpp #1.601:1.602
@@ -27,4 +27,8 @@ KMMainWin::KMMainWin(QWidget *)
mReallyClose( false )
{
+ // Set this to be the group leader for all subdialogs - this means
+ // modal subdialogs will only affect this dialog, not the other windows
+ setWFlags( getWFlags() | WGroupLeader );
+
kapp->ref();
mKMMainWidget = new KMMainWidget( this, "KMMainWidget", this, \
actionCollection() );
--- kdepim/kontact/src/mainwindow.cpp #1.127:1.128
@@ -77,4 +77,8 @@ MainWindow::MainWindow(Kontact::Splash *
mReallyClose( false )
{
+ // Set this to be the group leader for all subdialogs - this means
+ // modal subdialogs will only affect this dialog, not the other windows
+ setWFlags( getWFlags() | WGroupLeader );
+
initGUI();
QTimer::singleShot( 0, this, SLOT(initObject()) );
--- kdepim/korganizer/koincidenceeditor.cpp #1.50:1.51
@@ -59,4 +59,8 @@ KOIncidenceEditor::KOIncidenceEditor( co
mDetails( 0 ), mAttachments( 0 ), mAlarms( 0 )
{
+ // Set this to be the group leader for all subdialogs - this means
+ // modal subdialogs will only affect this dialog, not the other windows
+ setWFlags( getWFlags() | WGroupLeader );
+
mCalendar = calendar;
--- kdepim/korganizer/korganizer.cpp #1.183:1.184
@@ -92,4 +92,8 @@ KOrganizer::KOrganizer( const char *name
KOrg::MainWindow()
{
+ // Set this to be the group leader for all subdialogs - this means
+ // modal subdialogs will only affect this dialog, not the other windows
+ setWFlags( getWFlags() | WGroupLeader );
+
kdDebug(5850) << "KOrganizer::KOrganizer()" << endl;
KOCore::self()->addXMLGUIClient( this, this );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic