diff options
Diffstat (limited to 'umbrello/umbrello/dialogs/classpropdlg.cpp')
-rw-r--r-- | umbrello/umbrello/dialogs/classpropdlg.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/umbrello/umbrello/dialogs/classpropdlg.cpp b/umbrello/umbrello/dialogs/classpropdlg.cpp index 0a95bfcf..81e1c8c6 100644 --- a/umbrello/umbrello/dialogs/classpropdlg.cpp +++ b/umbrello/umbrello/dialogs/classpropdlg.cpp @@ -115,7 +115,7 @@ ClassPropDlg::ClassPropDlg(TQWidget *parent, UMLWidget * w) //now setup the options page for classes if (w->getBaseType() == Uml::wt_Class || w->getBaseType() == Uml::wt_Interface) { - TQFrame* newPage = addPage( i18n("Display"), i18n("Display Options"), DesktopIcon("info") ); + TQFrame* newPage = addPage( i18n("Display"), i18n("Display Options"), DesktopIcon("application-vnd.tde.info") ); TQHBoxLayout* m_pOptionsLayout = new TQHBoxLayout(newPage); ClassifierWidget *cw = static_cast<ClassifierWidget*>(w); m_pOptionsPage = new ClassOptionsPage( newPage, cw ); @@ -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("misc") ); + TQFrame* newPage = addPage( i18n("Attributes"), i18n("Attribute Settings"), DesktopIcon("application-vnd.tde.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("misc") ); + TQFrame* newPage = addPage( i18n("Operations"), i18n("Operation Settings"), DesktopIcon("application-vnd.tde.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("misc") ); + TQFrame* newPage = addPage( i18n("Templates"), i18n("Templates Settings"), DesktopIcon("application-vnd.tde.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("misc") ); + TQFrame* newPage = addPage( i18n("Enum Literals"), i18n("Enum Literals Settings"), DesktopIcon("application-vnd.tde.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("misc") ); + TQFrame* newPage = addPage( i18n("Entity Attributes"), i18n("Entity Attributes Settings"), DesktopIcon("application-vnd.tde.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("misc") ); + TQFrame* newPage = addPage( i18n("Contents"), i18n("Contents Settings"), DesktopIcon("application-vnd.tde.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("misc") ); + TQFrame* page = addPage( i18n("General"), i18n("General Settings"), DesktopIcon("application-vnd.tde.misc") ); TQHBoxLayout* genLayout = new TQHBoxLayout(page); page->setMinimumSize(310, 330); m_pGenPage = new ClassGenPage(m_pDoc, page, widget); |