[Uml-devel] KDE_3_2_BRANCH: kdesdk/umbrello/umbrello
Stephan Binner
binner at kde.org
Sat May 8 02:21:01 UTC 2004
CVS commit by binner:
Better "public" icons than broken icons
M +10 -10 listpopupmenu.cpp 1.40.2.1
--- kdesdk/umbrello/umbrello/listpopupmenu.cpp #1.40:1.40.2.1
@@ -290,6 +290,6 @@ ListPopupMenu::ListPopupMenu(QWidget * p
c = static_cast<ClassWidget *>(object);
m_pInsert = new KPopupMenu(this,"New");
- m_pInsert -> insertItem(SmallIcon( "source" ), i18n("Attribute..."), mt_Attribute);
- m_pInsert -> insertItem( SmallIcon( "source"), i18n("Operation..."), mt_Operation);
+ m_pInsert -> insertItem(SmallIcon( "CVpublic_var" ), i18n("Attribute..."), mt_Attribute);
+ m_pInsert -> insertItem( SmallIcon( "CVpublic_meth"), i18n("Operation..."), mt_Operation);
insertItem(SmallIcon( "filenew"),i18n("New"), m_pInsert);
@@ -339,5 +339,5 @@ ListPopupMenu::ListPopupMenu(QWidget * p
break;
m_pInsert = new KPopupMenu(this,"New");
- m_pInsert->insertItem(SmallIcon("source"), i18n("Operation..."), mt_Operation);
+ m_pInsert->insertItem(SmallIcon("CVpublic_meth"), i18n("Operation..."), mt_Operation);
insertItem(SmallIcon("filenew"),i18n("New"), m_pInsert);
@@ -958,6 +958,6 @@ void ListPopupMenu::setupMenu(Menu_Type
case mt_Class:
m_pInsert = new KPopupMenu(this,"New");
- m_pInsert -> insertItem(SmallIcon( "source"), i18n("Attribute"), mt_Attribute);
- m_pInsert -> insertItem(SmallIcon( "source"), i18n("Operation"), mt_Operation);
+ m_pInsert -> insertItem(SmallIcon( "CVpublic_var"), i18n("Attribute"), mt_Attribute);
+ m_pInsert -> insertItem(SmallIcon( "CVpublic_meth"), i18n("Operation"), mt_Operation);
insertItem(SmallIcon( "filenew"), i18n("New"), m_pInsert);
insertSeparator();
@@ -973,5 +973,5 @@ void ListPopupMenu::setupMenu(Menu_Type
case mt_Interface:
m_pInsert = new KPopupMenu(this,"New");
- m_pInsert->insertItem(SmallIcon("source"), i18n("Operation"), mt_Operation);
+ m_pInsert->insertItem(SmallIcon("CVpublic_meth"), i18n("Operation"), mt_Operation);
insertItem(SmallIcon("filenew"), i18n("New"), m_pInsert);
insertSeparator();
@@ -1029,9 +1029,9 @@ void ListPopupMenu::setupMenu(Menu_Type
case mt_New_Operation:
- insertItem(SmallIcon("source"),i18n("New Operation..."), mt_New_Operation);
+ insertItem(SmallIcon("CVpublic_meth"),i18n("New Operation..."), mt_New_Operation);
break;
case mt_New_Attribute:
- insertItem(SmallIcon("source"), i18n("New Attribute..."), mt_New_Attribute);
+ insertItem(SmallIcon("CVpublic_var"), i18n("New Attribute..."), mt_New_Attribute);
break;
@@ -1066,5 +1066,5 @@ void ListPopupMenu::setupMenu(Menu_Type
case mt_Operation_Selected:
- insertItem(SmallIcon("source"),i18n("New Operation..."), mt_New_Operation);
+ insertItem(SmallIcon("CVpublic_meth"),i18n("New Operation..."), mt_New_Operation);
insertStdItem(mt_Delete);
insertStdItem(mt_Properties);
@@ -1072,5 +1072,5 @@ void ListPopupMenu::setupMenu(Menu_Type
case mt_Attribute_Selected:
- insertItem(SmallIcon("source"),i18n("New Attribute..."), mt_New_Attribute);
+ insertItem(SmallIcon("CVpublic_var"),i18n("New Attribute..."), mt_New_Attribute);
insertStdItem(mt_Delete);
insertStdItem(mt_Properties);
More information about the umbrello-devel
mailing list