[Uml-devel] kdesdk/umbrello/umbrello
Jonathan Riddell
jri at jriddell.org
Thu Apr 24 06:32:13 UTC 2003
CVS commit by jriddell:
replace *.* with * on file dialogues, allow files with no extension to be selected
M +3 -3 uml.cpp 1.35
M +12 -12 umllistview.cpp 1.29
--- kdesdk/umbrello/umbrello/uml.cpp #1.34:1.35
@@ -565,5 +565,5 @@ void UMLApp::slotFileOpen() {
} else {
- KURL url=KFileDialog::getOpenURL(":open-umbrello-file", i18n("*.xmi|XMI Files\n*.uml|Old UML Files\n*.*|All Files"),
+ KURL url=KFileDialog::getOpenURL(":open-umbrello-file", i18n("*.xmi|XMI Files\n*.uml|Old UML Files\n*|All Files"),
this, i18n("Open File"));
if(!url.isEmpty()) {
@@ -621,5 +621,5 @@ bool UMLApp::slotFileSaveAs()
QString ext;
while(cont) {
- url=KFileDialog::getSaveURL(":save-umbrello-file", i18n("*.xmi|XMI Files\n*.*|All Files"), this, i18n("Save As"));
+ url=KFileDialog::getSaveURL(":save-umbrello-file", i18n("*.xmi|XMI Files\n*|All Files"), this, i18n("Save As"));
if(url.isEmpty())
@@ -1176,5 +1176,5 @@ void UMLApp::slotUpdateViews() {
void UMLApp::slotImportClasses() {
QStringList fileList = KFileDialog::getOpenFileNames(":import-classes",
- i18n("*.h *.hpp *.hxx|Header Files (*.h *.hpp *.hxx)\n*.*|All Files"), this, i18n("Select Classes to Import") );
+ i18n("*.h *.hpp *.hxx|Header Files (*.h *.hpp *.hxx)\n*|All Files"), this, i18n("Select Classes to Import") );
((ClassImport*)doc)->importCPP( fileList );
}
--- kdesdk/umbrello/umbrello/umllistview.cpp #1.28:1.29
@@ -257,5 +257,5 @@ void UMLListView::popupMenuSel(int sel)
((ClassImport*)m_doc)->importCPP(
KFileDialog::getOpenFileNames(":import-classes",
- i18n("*.h|Header Files (*.h)\n*.*|All Files"),
+ i18n("*.h|Header Files (*.h)\n*|All Files"),
this, i18n("Select Classes to Import") ));
case ListPopupMenu::mt_Expand_All:
More information about the umbrello-devel
mailing list