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