krita

kis_view_iface.h

00001 /* This file is part of the KDE project
00002  *  Copyright (C) 2002 Laurent Montel <lmontel@mandrakesoft.com>
00003  *
00004  *  This program is free software; you can redistribute it and/or modify
00005  *  it under the terms of the GNU General Public License as published by
00006  *  the Free Software Foundation; either version 2 of the License, or
00007  *  (at your option) any later version.
00008  *
00009  *  This program is distributed in the hope that it will be useful,
00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *  GNU General Public License for more details.
00013  *
00014  *  You should have received a copy of the GNU General Public License
00015  *  along with this program; if not, write to the Free Software
00016  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00017 */
00018 
00019 #ifndef KRAYON_VIEW_IFACE_H
00020 #define KRAYON_VIEW_IFACE_H
00021 
00022 #include <KoViewIface.h>
00023 
00024 #include <qstring.h>
00025 
00026 class KisView;
00027 
00032 class KisViewIface : public KoViewIface
00033 {
00034     K_DCOP
00035 public:
00036     KisViewIface( KisView *view_ );
00037 k_dcop:
00038     void copy();
00039     void cut();
00040     void removeSelection();
00041     void paste();
00042     void copySelectionToNewLayer();
00043     void selectAll();
00044     void unSelectAll();
00045 
00046     void slotImportImage();
00047 
00048     void rotateLayer180();
00049     void rotateLayerLeft90();
00050     void rotateLayerRight90();
00051     void mirrorLayerX();
00052     void mirrorLayerY();
00053 
00054 private:
00055     KisView *m_view;
00056 };
00057 
00058 #endif
KDE Home | KDE Accessibility Home | Description of Access Keys