[Uml-devel] kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Sun Feb 6 11:52:34 UTC 2005
CVS commit by okellogg:
slotImportClasses(): Be minimally intelligent about which importer to invoke.
M +4 -1 uml.cpp 1.136
--- kdesdk/umbrello/umbrello/uml.cpp #1.135:1.136
@@ -1398,4 +1398,7 @@ void UMLApp::slotImportClasses() {
fileList = KFileDialog::getOpenFileNames(":import-classes",
i18n("*.h *.hpp *.hxx|Header Files (*.h *.hpp *.hxx)\n*|All Files"), this, i18n("Select Classes to Import") );
+ if (fileList.first().endsWith(".idl"))
+ m_classImporter->importIDL( fileList );
+ else
m_classImporter->importCPP( fileList );
}
More information about the umbrello-devel
mailing list