[Bug 67994] configure shortcuts is not consistent, kdevelop shortcuts are application-wide and editor shortcuts are per file...
Jens Dagerbo
jens.dagerbo at swipnet.se
Wed Nov 12 17:26:03 UTC 2003
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=67994
jens.dagerbo at swipnet.se changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From jens.dagerbo at swipnet.se 2003-11-12 17:25 -------
Subject: kdevelop/src
CVS commit by dagerbo:
apply shortcut changes to all loaded ReadOnlyParts (in reality, kateparts)
CCMAIL: 67994-done at bugs.kde.org
M +17 -0 mainwindowshare.cpp 1.34
--- kdevelop/src/mainwindowshare.cpp #1.33:1.34
@@ -465,4 +465,21 @@ void MainWindowShare::slotKeyBindings()
}
dlg.configure();
+
+ // this is needed for when we have multiple embedded kateparts and change one of them
+ // maybe this should be done to more than ReadOnlyParts, but restricting for now keeps
+ // it less heavy
+ if( const QPtrList<KParts::Part> * partlist = PartController::getInstance()->parts() )
+ {
+ QPtrListIterator<KParts::Part> it( *partlist );
+ while ( KParts::Part* part = it.current() )
+ {
+ if ( KParts::ReadOnlyPart * ro_part = dynamic_cast<KParts::ReadOnlyPart*>( part ) )
+ {
+ kdDebug(9000) << "reloading xml for: " << part->name() << endl;
+ part->reloadXML();
+ }
+ ++it;
+ }
+ }
}
More information about the KDevelop-devel
mailing list