@ -278,7 +278,7 @@ ListPopupMenu::ListPopupMenu(TQWidget * parent, UMLWidget * object,
case Uml : : wt_Enum :
m_pInsert = new TDEPopupMenu ( this ) ;
m_pInsert - > insertItem ( SmallIcon ( " sou rce " ) , i18n ( " Enum Literal... " ) , mt_EnumLiteral ) ;
m_pInsert - > insertItem ( SmallIcon ( " text-x- src" ) , i18n ( " Enum Literal... " ) , mt_EnumLiteral ) ;
insertFileNew ( ) ;
setupColor ( object - > getUseFillColour ( ) ) ;
insertStdItems ( true , type ) ;
@ -289,7 +289,7 @@ ListPopupMenu::ListPopupMenu(TQWidget * parent, UMLWidget * object,
case Uml : : wt_Entity :
m_pInsert = new TDEPopupMenu ( this ) ;
m_pInsert - > insertItem ( SmallIcon ( " sou rce " ) , i18n ( " Entity Attribute... " ) , mt_EntityAttribute ) ;
m_pInsert - > insertItem ( SmallIcon ( " text-x- src" ) , i18n ( " Entity Attribute... " ) , mt_EntityAttribute ) ;
insertFileNew ( ) ;
setupColor ( object - > getUseFillColour ( ) ) ;
insertStdItems ( true , type ) ;
@ -465,7 +465,7 @@ void ListPopupMenu::insertStdItem(Menu_Type m)
{
switch ( m ) {
case mt_Properties :
insertItem ( SmallIcon ( " info" ) , i18n ( " Properties " ) , mt_Properties ) ;
insertItem ( SmallIcon ( " application-vnd.tde. info" ) , i18n ( " Properties " ) , mt_Properties ) ;
break ;
case mt_Rename :
insertItem ( i18n ( " Rename... " ) , mt_Rename ) ;
@ -504,7 +504,7 @@ void ListPopupMenu::insertStdItem(Menu_Type m)
insertItem ( i18n ( " Internalize Folder " ) , mt_Internalize_Folder ) ;
break ;
case mt_Import_Classes :
insertItem ( BarIcon ( " sou rce_cpp " ) , i18n ( " Import Classes... " ) , mt_Import_Classes ) ;
insertItem ( BarIcon ( " text-x-c++ src" ) , i18n ( " Import Classes... " ) , mt_Import_Classes ) ;
break ;
case mt_Package :
m_pInsert - > insertItem ( m_pixmap [ pm_Package ] , i18n ( " Package " ) , mt_Package ) ;
@ -558,7 +558,7 @@ void ListPopupMenu::insertStdItem(Menu_Type m)
insertItem ( i18n ( " Reset Label Positions " ) , mt_Reset_Label_Positions ) ;
break ;
case mt_New_Parameter :
insertItem ( SmallIcon ( " sou rce " ) , i18n ( " New Parameter... " ) , mt_New_Parameter ) ;
insertItem ( SmallIcon ( " text-x- src" ) , i18n ( " New Parameter... " ) , mt_New_Parameter ) ;
break ;
case mt_New_Operation :
insertItem ( SmallIcon ( " CVpublic_meth " ) , i18n ( " New Operation... " ) , mt_New_Operation ) ;
@ -567,19 +567,19 @@ void ListPopupMenu::insertStdItem(Menu_Type m)
insertItem ( SmallIcon ( " CVpublic_var " ) , i18n ( " New Attribute... " ) , mt_New_Attribute ) ;
break ;
case mt_New_Template :
insertItem ( SmallIcon ( " sou rce " ) , i18n ( " New Template... " ) , mt_New_Template ) ;
insertItem ( SmallIcon ( " text-x- src" ) , i18n ( " New Template... " ) , mt_New_Template ) ;
break ;
case mt_New_EnumLiteral :
insertItem ( SmallIcon ( " sou rce " ) , i18n ( " New Literal... " ) , mt_New_EnumLiteral ) ;
insertItem ( SmallIcon ( " text-x- src" ) , i18n ( " New Literal... " ) , mt_New_EnumLiteral ) ;
break ;
case mt_New_EntityAttribute :
insertItem ( SmallIcon ( " sou rce " ) , i18n ( " New Entity Attribute... " ) , mt_New_EntityAttribute ) ;
insertItem ( SmallIcon ( " text-x- src" ) , i18n ( " New Entity Attribute... " ) , mt_New_EntityAttribute ) ;
break ;
case mt_New_Activity :
m_pInsert - > insertItem ( SmallIcon ( " sou rce " ) , i18n ( " Activity... " ) , mt_New_Activity ) ;
m_pInsert - > insertItem ( SmallIcon ( " text-x- src" ) , i18n ( " Activity... " ) , mt_New_Activity ) ;
break ;
case mt_Export_Image :
insertItem ( SmallIcon ( " image " ) , i18n ( " Export as Picture... " ) , mt_Export_Image ) ;
insertItem ( SmallIcon ( " image -x-generic " ) , i18n ( " Export as Picture... " ) , mt_Export_Image ) ;
break ;
default :
kWarning ( ) < < " ListPopupMenu::insertStdItem called on unimplemented Menu_Type " < < m < < endl ;
@ -1088,7 +1088,7 @@ void ListPopupMenu::setupMenu(Menu_Type type, UMLView* view) {
m_pInsert = new TDEPopupMenu ( this ) ;
m_pInsert - > insertItem ( SmallIcon ( " CVpublic_var " ) , i18n ( " Attribute " ) , mt_Attribute ) ;
m_pInsert - > insertItem ( SmallIcon ( " CVpublic_meth " ) , i18n ( " Operation " ) , mt_Operation ) ;
m_pInsert - > insertItem ( SmallIcon ( " sou rce " ) , i18n ( " Template " ) , mt_Template ) ;
m_pInsert - > insertItem ( SmallIcon ( " text-x- src" ) , i18n ( " Template " ) , mt_Template ) ;
insertFileNew ( ) ;
insertStdItems ( ) ;
insertStdItem ( mt_Properties ) ;
@ -1097,7 +1097,7 @@ void ListPopupMenu::setupMenu(Menu_Type type, UMLView* view) {
case mt_Interface :
m_pInsert = new TDEPopupMenu ( this ) ;
m_pInsert - > insertItem ( SmallIcon ( " CVpublic_meth " ) , i18n ( " Operation " ) , mt_Operation ) ;
m_pInsert - > insertItem ( SmallIcon ( " sou rce " ) , i18n ( " Template " ) , mt_Template ) ;
m_pInsert - > insertItem ( SmallIcon ( " text-x- src" ) , i18n ( " Template " ) , mt_Template ) ;
insertFileNew ( ) ;
insertStdItems ( ) ;
insertStdItem ( mt_Properties ) ;
@ -1140,7 +1140,7 @@ void ListPopupMenu::setupMenu(Menu_Type type, UMLView* view) {
case mt_Entity :
m_pInsert = new TDEPopupMenu ( this ) ;
m_pInsert - > insertItem ( SmallIcon ( " sou rce " ) , i18n ( " Entity Attribute... " ) , mt_EntityAttribute ) ;
m_pInsert - > insertItem ( SmallIcon ( " text-x- src" ) , i18n ( " Entity Attribute... " ) , mt_EntityAttribute ) ;
insertFileNew ( ) ;
insertStdItems ( ) ;
insertStdItem ( mt_Properties ) ;
@ -1152,7 +1152,7 @@ void ListPopupMenu::setupMenu(Menu_Type type, UMLView* view) {
case mt_Enum :
m_pInsert = new TDEPopupMenu ( this ) ;
m_pInsert - > insertItem ( SmallIcon ( " sou rce " ) , i18n ( " Enum Literal... " ) , mt_EnumLiteral ) ;
m_pInsert - > insertItem ( SmallIcon ( " text-x- src" ) , i18n ( " Enum Literal... " ) , mt_EnumLiteral ) ;
insertFileNew ( ) ;
insertStdItems ( ) ;
insertStdItem ( mt_Properties ) ;
@ -1229,7 +1229,7 @@ void ListPopupMenu::setupMenu(Menu_Type type, UMLView* view) {
break ;
case mt_Template_Selected :
insertItem ( SmallIcon ( " sou rce " ) , i18n ( " New Template... " ) , mt_New_Attribute ) ;
insertItem ( SmallIcon ( " text-x- src" ) , i18n ( " New Template... " ) , mt_New_Attribute ) ;
insertStdItem ( mt_Delete ) ;
insertStdItem ( mt_Properties ) ;
break ;