moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kmplot / kmplot / MainDlgIface.h
blob87407b411e8714fbb072a642f41038c274f811d6
1 /*
2 * KmPlot - a math. function plotter for the KDE-Desktop
4 * Copyright (C) 2004 Fredrik Edemar
5 * f_edemar@linux.se
6 *
7 * This file is part of the KDE Project.
8 * KmPlot is part of the KDE-EDU Project.
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 #ifndef MAINDLGIFACE_H
27 #define MAINDLGIFACE_H
29 #include <dcopobject.h>
31 /**
32 @author Fredrik Edemar
34 /// All functions in MainDlgIface are accessible with DCOP. For descriptions about the functions, see MainDlg.
35 class MainDlgIface : virtual public DCOPObject
37 K_DCOP
38 k_dcop:
39 virtual bool checkModified() = 0;
41 virtual bool isModified() = 0;
42 virtual void editColors() = 0;
43 virtual void editAxes() = 0;
44 virtual void editScaling() = 0;
45 virtual void editFonts() = 0;
46 virtual void editConstants() = 0;
47 virtual void newFunction() = 0;
48 virtual void newParametric() = 0;
49 virtual void newPolar() = 0;
50 virtual void toggleShowSlider0() = 0;
51 virtual void toggleShowSlider1() = 0;
52 virtual void toggleShowSlider2() = 0;
53 virtual void toggleShowSlider3() = 0;
54 virtual void slotSave() = 0;
55 virtual void slotSaveas() = 0;
56 virtual void slotEditPlots() = 0;
57 virtual void slotPrint() = 0;
58 virtual void slotExport() = 0;
59 virtual void slotSettings() = 0;
60 virtual void slotNames() = 0;
61 virtual void slotCoord1() = 0;
62 virtual void slotCoord2() = 0;
63 virtual void slotCoord3() = 0;
64 virtual void getYValue() = 0;
65 virtual void findMinimumValue() = 0;
66 virtual void findMaximumValue() = 0;
67 virtual void graphArea() = 0;
70 #endif