@ -230,7 +230,7 @@ ListPopupMenu::ListPopupMenu(TQWidget * parent, UMLWidget * object,
insertSeparator ( ) ;
insertItem ( SmallIcon ( " fonts " ) , i18n ( " Change Font... " ) ,
mt_Change_Font_Selection ) ;
insertItem ( SmallIcon ( " edit delete" ) , i18n ( " Delete Selected Items " ) ,
insertItem ( SmallIcon ( " edit - delete" ) , i18n ( " Delete Selected Items " ) ,
mt_Delete_Selection ) ;
// add this here and not above with the other stuff of the interface
@ -331,7 +331,7 @@ ListPopupMenu::ListPopupMenu(TQWidget * parent, UMLWidget * object,
case Uml : : wt_Message :
insertStdItems ( false , type ) ;
insertStdItem ( mt_Change_Font ) ;
insertItem ( SmallIcon ( " file new" ) , i18n ( " New Operation... " ) , mt_Operation ) ;
insertItem ( SmallIcon ( " document- new" ) , i18n ( " New Operation... " ) , mt_Operation ) ;
insertItem ( i18n ( " Select Operation... " ) , mt_Select_Operation ) ;
break ;
@ -341,7 +341,7 @@ ListPopupMenu::ListPopupMenu(TQWidget * parent, UMLWidget * object,
insertStdItem ( mt_Cut ) ;
insertStdItem ( mt_Copy ) ;
insertStdItem ( mt_Paste ) ;
insertItem ( SmallIcon ( " edit delete" ) , i18n ( " Clear " ) , mt_Clear ) ;
insertItem ( SmallIcon ( " edit - delete" ) , i18n ( " Clear " ) , mt_Clear ) ;
insertSeparator ( ) ;
insertItem ( i18n ( " Change Text... " ) , mt_Rename ) ;
insertStdItem ( mt_Delete ) ;
@ -357,7 +357,7 @@ ListPopupMenu::ListPopupMenu(TQWidget * parent, UMLWidget * object,
pState = static_cast < StateWidget * > ( object ) ;
if ( pState - > getStateType ( ) = = StateWidget : : Normal ) {
m_pInsert = new TDEPopupMenu ( this ) ;
m_pInsert - > insertItem ( SmallIcon ( " file new" ) , i18n ( " Activity... " ) , mt_New_Activity ) ;
m_pInsert - > insertItem ( SmallIcon ( " document- new" ) , i18n ( " Activity... " ) , mt_New_Activity ) ;
insertFileNew ( ) ;
}
setupColor ( object - > getUseFillColour ( ) ) ;
@ -420,7 +420,7 @@ ListPopupMenu::ListPopupMenu(TQWidget * parent, UMLWidget * object,
case Uml : : tr_Seq_Message_Self :
case Uml : : tr_Seq_Message :
insertStdItem ( mt_Change_Font ) ;
insertItem ( SmallIcon ( " file new" ) , i18n ( " New Operation... " ) , mt_Operation ) ;
insertItem ( SmallIcon ( " document- new" ) , i18n ( " New Operation... " ) , mt_Operation ) ;
insertItem ( i18n ( " Select Operation... " ) , mt_Select_Operation ) ;
break ;
@ -458,7 +458,7 @@ void ListPopupMenu::init() {
}
void ListPopupMenu : : insertFileNew ( ) {
insertItem ( SmallIcon ( " file new" ) , i18n ( " New " ) , m_pInsert ) ;
insertItem ( SmallIcon ( " document- new" ) , i18n ( " New " ) , m_pInsert ) ;
}
void ListPopupMenu : : insertStdItem ( Menu_Type m )
@ -471,16 +471,16 @@ void ListPopupMenu::insertStdItem(Menu_Type m)
insertItem ( i18n ( " Rename... " ) , mt_Rename ) ;
break ;
case mt_Delete :
insertItem ( SmallIcon ( " edit delete" ) , i18n ( " Delete " ) , mt_Delete ) ;
insertItem ( SmallIcon ( " edit - delete" ) , i18n ( " Delete " ) , mt_Delete ) ;
break ;
case mt_Cut :
insertItem ( SmallIcon ( " edit cut" ) , i18n ( " Cut " ) , mt_Cut ) ;
insertItem ( SmallIcon ( " edit - cut" ) , i18n ( " Cut " ) , mt_Cut ) ;
break ;
case mt_Copy :
insertItem ( SmallIcon ( " edit copy" ) , i18n ( " Copy " ) , mt_Copy ) ;
insertItem ( SmallIcon ( " edit - copy" ) , i18n ( " Copy " ) , mt_Copy ) ;
break ;
case mt_Paste :
insertItem ( SmallIcon ( " edit paste" ) , i18n ( " Paste " ) , mt_Paste ) ;
insertItem ( SmallIcon ( " edit - paste" ) , i18n ( " Paste " ) , mt_Paste ) ;
break ;
case mt_Change_Font :
insertItem ( SmallIcon ( " fonts " ) , i18n ( " Change Font... " ) , mt_Change_Font ) ;
@ -532,7 +532,7 @@ void ListPopupMenu::insertStdItem(Menu_Type m)
case mt_Component_Folder :
case mt_UseCase_Folder :
case mt_EntityRelationship_Folder :
m_pInsert - > insertItem ( BarIcon ( " folder _ new" ) , i18n ( " Folder " ) , m ) ;
m_pInsert - > insertItem ( BarIcon ( " folder - new" ) , i18n ( " Folder " ) , m ) ;
break ;
case mt_Entity :
m_pInsert - > insertItem ( m_pixmap [ pm_Entity ] , i18n ( " Entity " ) , mt_Entity ) ;
@ -605,7 +605,7 @@ void ListPopupMenu::insertStdItems(bool insertLeadingSeparator /* = true */,
void ListPopupMenu : : insertContainerItems ( bool folderAndDiagrams ) {
if ( folderAndDiagrams )
m_pInsert - > insertItem ( BarIcon ( " folder _ new" ) , i18n ( " Folder " ) , mt_Logical_Folder ) ;
m_pInsert - > insertItem ( BarIcon ( " folder - new" ) , i18n ( " Folder " ) , mt_Logical_Folder ) ;
m_pInsert - > insertItem ( m_pixmap [ pm_Class ] , i18n ( " Class " ) , mt_Class ) ;
m_pInsert - > insertItem ( m_pixmap [ pm_Interface ] , i18n ( " Interface " ) , mt_Interface ) ;
m_pInsert - > insertItem ( m_pixmap [ pm_Datatype ] , i18n ( " Datatype " ) , mt_Datatype ) ;
@ -1253,7 +1253,7 @@ void ListPopupMenu::setupMenu(Menu_Type type, UMLView* view) {
break ;
case mt_Anchor :
insertItem ( SmallIcon ( " edit delete" ) , i18n ( " Delete Anchor " ) , mt_Delete ) ;
insertItem ( SmallIcon ( " edit - delete" ) , i18n ( " Delete Anchor " ) , mt_Delete ) ;
break ;
case mt_RoleNameA :
@ -1336,7 +1336,7 @@ void ListPopupMenu::setupDiagramMenu(UMLView* view) {
insertStdItem ( mt_Copy ) ;
insertStdItem ( mt_Paste ) ;
insertSeparator ( ) ;
insertItem ( SmallIcon ( " edit clear" ) , i18n ( " Clear Diagram " ) , mt_Clear ) ;
insertItem ( SmallIcon ( " edit - clear" ) , i18n ( " Clear Diagram " ) , mt_Clear ) ;
insertStdItem ( mt_Export_Image ) ;
insertSeparator ( ) ;
insertItem ( i18n ( " Snap to Grid " ) , mt_SnapToGrid ) ;