chalk

kis_view_iface.h
1/* This file is part of the KDE project
2 * Copyright (C) 2002 Laurent Montel <lmontel@mandrakesoft.com>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17*/
18
19#ifndef KRAYON_VIEW_IFACE_H
20#define KRAYON_VIEW_IFACE_H
21
22#include <KoViewIface.h>
23
24#include <tqstring.h>
25
26class KisView;
27
32class KisViewIface : public KoViewIface
33{
34 K_DCOP
35public:
36 KisViewIface( KisView *view_ );
37k_dcop:
38 void copy();
39 void cut();
40 void removeSelection();
41 void paste();
42 void copySelectionToNewLayer();
43 void selectAll();
44 void unSelectAll();
45
46 void slotImportImage();
47
48 void rotateLayer180();
49 void rotateLayerLeft90();
50 void rotateLayerRight90();
51 void mirrorLayerX();
52 void mirrorLayerY();
53
54private:
55 KisView *m_view;
56};
57
58#endif