@ -278,7 +278,7 @@ ListPopupMenu::ListPopupMenu(TQWidget * parent, UMLWidget * object,
case Uml : : wt_Enum :
case Uml : : wt_Enum :
m_pInsert = new TDEPopupMenu ( this ) ;
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 ( ) ;
insertFileNew ( ) ;
setupColor ( object - > getUseFillColour ( ) ) ;
setupColor ( object - > getUseFillColour ( ) ) ;
insertStdItems ( true , type ) ;
insertStdItems ( true , type ) ;
@ -289,7 +289,7 @@ ListPopupMenu::ListPopupMenu(TQWidget * parent, UMLWidget * object,
case Uml : : wt_Entity :
case Uml : : wt_Entity :
m_pInsert = new TDEPopupMenu ( this ) ;
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 ( ) ;
insertFileNew ( ) ;
setupColor ( object - > getUseFillColour ( ) ) ;
setupColor ( object - > getUseFillColour ( ) ) ;
insertStdItems ( true , type ) ;
insertStdItems ( true , type ) ;
@ -465,7 +465,7 @@ void ListPopupMenu::insertStdItem(Menu_Type m)
{
{
switch ( m ) {
switch ( m ) {
case mt_Properties :
case mt_Properties :
insertItem ( SmallIcon ( " info" ) , i18n ( " Properties " ) , mt_Properties ) ;
insertItem ( SmallIcon ( " application-vnd.tde. info" ) , i18n ( " Properties " ) , mt_Properties ) ;
break ;
break ;
case mt_Rename :
case mt_Rename :
insertItem ( i18n ( " Rename... " ) , mt_Rename ) ;
insertItem ( i18n ( " Rename... " ) , mt_Rename ) ;
@ -504,7 +504,7 @@ void ListPopupMenu::insertStdItem(Menu_Type m)
insertItem ( i18n ( " Internalize Folder " ) , mt_Internalize_Folder ) ;
insertItem ( i18n ( " Internalize Folder " ) , mt_Internalize_Folder ) ;
break ;
break ;
case mt_Import_Classes :
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 ;
break ;
case mt_Package :
case mt_Package :
m_pInsert - > insertItem ( m_pixmap [ pm_Package ] , i18n ( " Package " ) , 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 ) ;
insertItem ( i18n ( " Reset Label Positions " ) , mt_Reset_Label_Positions ) ;
break ;
break ;
case mt_New_Parameter :
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 ;
break ;
case mt_New_Operation :
case mt_New_Operation :
insertItem ( SmallIcon ( " CVpublic_meth " ) , i18n ( " New Operation... " ) , 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 ) ;
insertItem ( SmallIcon ( " CVpublic_var " ) , i18n ( " New Attribute... " ) , mt_New_Attribute ) ;
break ;
break ;
case mt_New_Template :
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 ;
break ;
case mt_New_EnumLiteral :
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 ;
break ;
case mt_New_EntityAttribute :
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 ;
break ;
case mt_New_Activity :
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 ;
break ;
case mt_Export_Image :
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 ;
break ;
default :
default :
kWarning ( ) < < " ListPopupMenu::insertStdItem called on unimplemented Menu_Type " < < m < < endl ;
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 = new TDEPopupMenu ( this ) ;
m_pInsert - > insertItem ( SmallIcon ( " CVpublic_var " ) , i18n ( " Attribute " ) , mt_Attribute ) ;
m_pInsert - > insertItem ( SmallIcon ( " CVpublic_var " ) , i18n ( " Attribute " ) , mt_Attribute ) ;
m_pInsert - > insertItem ( SmallIcon ( " CVpublic_meth " ) , i18n ( " Operation " ) , mt_Operation ) ;
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 ( ) ;
insertFileNew ( ) ;
insertStdItems ( ) ;
insertStdItems ( ) ;
insertStdItem ( mt_Properties ) ;
insertStdItem ( mt_Properties ) ;
@ -1097,7 +1097,7 @@ void ListPopupMenu::setupMenu(Menu_Type type, UMLView* view) {
case mt_Interface :
case mt_Interface :
m_pInsert = new TDEPopupMenu ( this ) ;
m_pInsert = new TDEPopupMenu ( this ) ;
m_pInsert - > insertItem ( SmallIcon ( " CVpublic_meth " ) , i18n ( " Operation " ) , mt_Operation ) ;
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 ( ) ;
insertFileNew ( ) ;
insertStdItems ( ) ;
insertStdItems ( ) ;
insertStdItem ( mt_Properties ) ;
insertStdItem ( mt_Properties ) ;
@ -1140,7 +1140,7 @@ void ListPopupMenu::setupMenu(Menu_Type type, UMLView* view) {
case mt_Entity :
case mt_Entity :
m_pInsert = new TDEPopupMenu ( this ) ;
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 ( ) ;
insertFileNew ( ) ;
insertStdItems ( ) ;
insertStdItems ( ) ;
insertStdItem ( mt_Properties ) ;
insertStdItem ( mt_Properties ) ;
@ -1152,7 +1152,7 @@ void ListPopupMenu::setupMenu(Menu_Type type, UMLView* view) {
case mt_Enum :
case mt_Enum :
m_pInsert = new TDEPopupMenu ( this ) ;
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 ( ) ;
insertFileNew ( ) ;
insertStdItems ( ) ;
insertStdItems ( ) ;
insertStdItem ( mt_Properties ) ;
insertStdItem ( mt_Properties ) ;
@ -1229,7 +1229,7 @@ void ListPopupMenu::setupMenu(Menu_Type type, UMLView* view) {
break ;
break ;
case mt_Template_Selected :
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_Delete ) ;
insertStdItem ( mt_Properties ) ;
insertStdItem ( mt_Properties ) ;
break ;
break ;