(void)newTDEAction(i18n("I&nsert Image as Layer..."),0,TQT_TQOBJECT(this),TQT_SLOT(slotInsertImageAsLayer()),actionCollection(),"insert_image_as_layer");
m_layerSaveAs=newTDEAction(i18n("Save Layer as Image..."),"filesave",TQT_TQOBJECT(this),TQT_SLOT(saveLayerAsImage()),actionCollection(),"save_layer_as_image");
m_layerSaveAs=newTDEAction(i18n("Save Layer as Image..."),"document-save",TQT_TQOBJECT(this),TQT_SLOT(saveLayerAsImage()),actionCollection(),"save_layer_as_image");
(void)newTDEAction(i18n("Flip on &X Axis"),"view_left_right",0,TQT_TQOBJECT(this),TQT_SLOT(mirrorLayerX()),actionCollection(),"mirrorLayerX");
(void)newTDEAction(i18n("Flip on &Y Axis"),"view_top_bottom",0,TQT_TQOBJECT(this),TQT_SLOT(mirrorLayerY()),actionCollection(),"mirrorLayerY");
newTDEAction(i18n("Edit Form Connections"),"connections",TDEShortcut(0),KFormDesigner::FormManager::self(),TQT_SLOT(editConnections()),actionCollection(),"form_connections");
newTDEAction(i18n("Edit Form Connections"),"connections",TDEShortcut(0),KFormDesigner::FormManager::self(),TQT_SLOT(editConnections()),actionCollection(),"form_connections");
intret=KMessageBox::warningContinueCancel(this,i18n("You are going to remove the active page.\nDo you want to continue?"),i18n("Remove Page"),KGuiItem(i18n("&Delete"),"editdelete"));
intret=KMessageBox::warningContinueCancel(this,i18n("You are going to remove the active page.\nDo you want to continue?"),i18n("Remove Page"),KGuiItem(i18n("&Delete"),"edit-delete"));
// b) The behaviour should be consistant with other KOffice apps
/*int ret = KMessageBox::warningContinueCancel(this,i18n("You are about to remove this embedded document.\nDo you want to continue?"),i18n("Delete Embedded Document"),KGuiItem(i18n("&Delete"),"editdelete"));
/*int ret = KMessageBox::warningContinueCancel(this,i18n("You are about to remove this embedded document.\nDo you want to continue?"),i18n("Delete Embedded Document"),KGuiItem(i18n("&Delete"),"edit-delete"));
if(ret==KMessageBox::Continue)
{
@ -6779,7 +6779,7 @@ void View::removeSheet()
}
KNotifyClient::beep();
intret=KMessageBox::warningContinueCancel(this,i18n("You are about to remove the active sheet.\nDo you want to continue?"),