From a327e64d2cf732c2ed80f3d28144e05cd5ca1186 Mon Sep 17 00:00:00 2001 From: Timothy Pearson <kb9vqf@pearsoncomputing.net> Date: Wed, 22 Oct 2014 11:55:17 -0500 Subject: Repair mimetype icon usage, part 1. The following are not fully verified in source as of this commit due to ubiquity: info, unknown --- umbrello/umbrello/dialogs/classpropdlg.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'umbrello') diff --git a/umbrello/umbrello/dialogs/classpropdlg.cpp b/umbrello/umbrello/dialogs/classpropdlg.cpp index 81e1c8c6..ec2e4c18 100644 --- a/umbrello/umbrello/dialogs/classpropdlg.cpp +++ b/umbrello/umbrello/dialogs/classpropdlg.cpp @@ -176,7 +176,7 @@ void ClassPropDlg::setupPages(UMLObject * c, bool assoc) { //add extra pages for class if (ot == Uml::ot_Class ) { //setup attributes page - TQFrame* newPage = addPage( i18n("Attributes"), i18n("Attribute Settings"), DesktopIcon("application-vnd.tde.misc") ); + TQFrame* newPage = addPage( i18n("Attributes"), i18n("Attribute Settings"), DesktopIcon("misc") ); m_pAttPage = new ClassifierListPage(newPage, (UMLClassifier *)c, m_pDoc, Uml::ot_Attribute); TQHBoxLayout * attLayout = new TQHBoxLayout(newPage); attLayout -> addWidget(m_pAttPage); @@ -184,7 +184,7 @@ void ClassPropDlg::setupPages(UMLObject * c, bool assoc) { if (ot == Uml::ot_Class || ot == Uml::ot_Interface) { //setup operations page - TQFrame* newPage = addPage( i18n("Operations"), i18n("Operation Settings"), DesktopIcon("application-vnd.tde.misc") ); + TQFrame* newPage = addPage( i18n("Operations"), i18n("Operation Settings"), DesktopIcon("misc") ); m_pOpsPage = new ClassifierListPage(newPage, (UMLClassifier*)c, m_pDoc, Uml::ot_Operation); TQHBoxLayout* pOpsLayout = new TQHBoxLayout(newPage); pOpsLayout -> addWidget(m_pOpsPage); @@ -192,28 +192,28 @@ void ClassPropDlg::setupPages(UMLObject * c, bool assoc) { if (ot == Uml::ot_Class || ot == Uml::ot_Interface) { //setup templates page - TQFrame* newPage = addPage( i18n("Templates"), i18n("Templates Settings"), DesktopIcon("application-vnd.tde.misc") ); + TQFrame* newPage = addPage( i18n("Templates"), i18n("Templates Settings"), DesktopIcon("misc") ); m_pTemplatePage = new ClassifierListPage(newPage, (UMLClassifier *)c, m_pDoc, Uml::ot_Template); TQHBoxLayout* templatesLayout = new TQHBoxLayout(newPage); templatesLayout->addWidget(m_pTemplatePage); } if (ot == Uml::ot_Enum) { //setup enum literals page - TQFrame* newPage = addPage( i18n("Enum Literals"), i18n("Enum Literals Settings"), DesktopIcon("application-vnd.tde.misc") ); + TQFrame* newPage = addPage( i18n("Enum Literals"), i18n("Enum Literals Settings"), DesktopIcon("misc") ); m_pEnumLiteralPage = new ClassifierListPage(newPage, (UMLClassifier*)c, m_pDoc, Uml::ot_EnumLiteral); TQHBoxLayout* enumLiteralsLayout = new TQHBoxLayout(newPage); enumLiteralsLayout->addWidget(m_pEnumLiteralPage); } if (ot == Uml::ot_Entity) { //setup enum literals page - TQFrame* newPage = addPage( i18n("Entity Attributes"), i18n("Entity Attributes Settings"), DesktopIcon("application-vnd.tde.misc") ); + TQFrame* newPage = addPage( i18n("Entity Attributes"), i18n("Entity Attributes Settings"), DesktopIcon("misc") ); m_pEntityAttributePage = new ClassifierListPage(newPage, (UMLClassifier*)c, m_pDoc, Uml::ot_EntityAttribute); TQHBoxLayout* entityAttributesLayout = new TQHBoxLayout(newPage); entityAttributesLayout->addWidget(m_pEntityAttributePage); } if (ot == Uml::ot_Package ) { // Set up containment page. - TQFrame* newPage = addPage( i18n("Contents"), i18n("Contents Settings"), DesktopIcon("application-vnd.tde.misc") ); + TQFrame* newPage = addPage( i18n("Contents"), i18n("Contents Settings"), DesktopIcon("misc") ); m_pPkgContentsPage = new PkgContentsPage(newPage, (UMLPackage*)(c)); TQHBoxLayout* contentsLayout = new TQHBoxLayout(newPage); contentsLayout->addWidget(m_pPkgContentsPage); @@ -229,7 +229,7 @@ void ClassPropDlg::setupPages(UMLObject * c, bool assoc) { } void ClassPropDlg::setupInstancePages(UMLWidget* widget) { - TQFrame* page = addPage( i18n("General"), i18n("General Settings"), DesktopIcon("application-vnd.tde.misc") ); + TQFrame* page = addPage( i18n("General"), i18n("General Settings"), DesktopIcon("misc") ); TQHBoxLayout* genLayout = new TQHBoxLayout(page); page->setMinimumSize(310, 330); m_pGenPage = new ClassGenPage(m_pDoc, page, widget); -- cgit v1.2.1