krita
kis_view_iface.cc
00001 /* 00002 * This file is part of the KDE project 00003 * 00004 * Copyright (C) 2002 Laurent Montel <lmontel@mandrakesoft.com> 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 2 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00019 */ 00020 00021 #include "kis_view_iface.h" 00022 00023 #include "kis_view.h" 00024 00025 #include <dcopclient.h> 00026 00027 KisViewIface::KisViewIface( KisView *view_ ) 00028 : KoViewIface( view_ ) 00029 { 00030 m_view = view_; 00031 } 00032 00033 void KisViewIface::copy() 00034 { 00035 // m_view->copy(); 00036 } 00037 00038 void KisViewIface::cut() 00039 { 00040 // m_view->cut(); 00041 } 00042 00043 void KisViewIface::removeSelection() 00044 { 00045 // m_view->removeSelection(); 00046 } 00047 00048 void KisViewIface::paste() 00049 { 00050 // m_view->paste(); 00051 } 00052 00053 void KisViewIface::copySelectionToNewLayer() 00054 { 00055 // m_view->copySelectionToNewLayer(); 00056 } 00057 00058 void KisViewIface::selectAll() 00059 { 00060 // m_view->selectAll(); 00061 } 00062 00063 void KisViewIface::unSelectAll() 00064 { 00065 // m_view->unSelectAll(); 00066 } 00067 00068 00069 00070 void KisViewIface::slotImportImage() 00071 { 00072 } 00073 00074 00075 void KisViewIface::rotateLayer180() 00076 { 00077 m_view->rotateLayer180(); 00078 } 00079 00080 void KisViewIface::rotateLayerLeft90() 00081 { 00082 m_view->rotateLayerLeft90(); 00083 } 00084 00085 void KisViewIface::rotateLayerRight90() 00086 { 00087 m_view->rotateLayerRight90(); 00088 } 00089 00090 void KisViewIface::mirrorLayerX() 00091 { 00092 m_view->mirrorLayerX(); 00093 } 00094 00095 void KisViewIface::mirrorLayerY() 00096 { 00097 m_view->mirrorLayerY(); 00098 }