kchart

KChartViewIface.cpp
1/* This file is part of the KDE project
2 Copyright (C) 2001,2002,2003,2004 Laurent Montel <montel@kde.org>
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
8
9 This library 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 GNU
12 Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18*/
19
20#include "KChartViewIface.h"
21
22#include "kchart_view.h"
23
24#include <dcopclient.h>
25
26namespace KChart
27{
28
29KChartViewIface::KChartViewIface( KChartView *view_ )
30 : KoViewIface( view_ )
31{
32 view = view_;
33}
34
35void KChartViewIface::wizard()
36{
37 view->wizard();
38}
39
40void KChartViewIface::editData()
41{
42 view->editData();
43}
44
45void KChartViewIface::configureChart()
46{
47 view->slotConfig();
48}
49
50void KChartViewIface::configureBackground()
51{
52 view->slotConfigBack();
53}
54
55void KChartViewIface::configureFont()
56{
57 view->slotConfigFont();
58}
59
60void KChartViewIface::configureColor()
61{
62 view->slotConfigColor();
63}
64
65void KChartViewIface::configureLegend()
66{
67 view->slotConfigLegend();
68}
69
70void KChartViewIface::updateGuiTypeOfChart()
71{
72 view->updateGuiTypeOfChart();
73}
74
75void KChartViewIface::saveConfig()
76{
77 view->saveConfig();
78}
79
80void KChartViewIface::loadConfig()
81{
82 view->loadConfig();
83}
84
85void KChartViewIface::defaultConfig()
86{
87 view->defaultConfig();
88}
89
90void KChartViewIface::configSubTypeChart()
91{
92 view->slotConfigSubTypeChart();
93}
94
95void KChartViewIface::configHeaderFooter()
96{
97 view->slotConfigHeaderFooterChart();
98}
99
100} //KChart namespace