kchart

KChartViewIface.cc

00001 /* This file is part of the KDE project
00002    Copyright (C) 2001,2002,2003,2004 Laurent Montel <montel@kde.org>
00003 
00004    This library is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Library General Public
00006    License as published by the Free Software Foundation; either
00007    version 2 of the License, or (at your option) any later version.
00008 
00009    This library 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 GNU
00012    Library General Public License for more details.
00013 
00014    You should have received a copy of the GNU Library General Public License
00015    along with this library; see the file COPYING.LIB.  If not, write to
00016    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017  * Boston, MA 02110-1301, USA.
00018 */
00019 
00020 #include "KChartViewIface.h"
00021 
00022 #include "kchart_view.h"
00023 
00024 #include <dcopclient.h>
00025 
00026 namespace KChart
00027 {
00028 
00029 KChartViewIface::KChartViewIface( KChartView *view_ )
00030     : KoViewIface( view_ )
00031 {
00032     view = view_;
00033 }
00034 
00035 void KChartViewIface::wizard()
00036 {
00037     view->wizard();
00038 }
00039 
00040 void KChartViewIface::editData()
00041 {
00042     view->editData();
00043 }
00044 
00045 void KChartViewIface::configureChart()
00046 {
00047     view->slotConfig();
00048 }
00049 
00050 void KChartViewIface::configureBackground()
00051 {
00052     view->slotConfigBack();
00053 }
00054 
00055 void KChartViewIface::configureFont()
00056 {
00057     view->slotConfigFont();
00058 }
00059 
00060 void KChartViewIface::configureColor()
00061 {
00062     view->slotConfigColor();
00063 }
00064 
00065 void KChartViewIface::configureLegend()
00066 {
00067     view->slotConfigLegend();
00068 }
00069 
00070 void KChartViewIface::updateGuiTypeOfChart()
00071 {
00072     view->updateGuiTypeOfChart();
00073 }
00074 
00075 void KChartViewIface::saveConfig()
00076 {
00077     view->saveConfig();
00078 }
00079 
00080 void KChartViewIface::loadConfig()
00081 {
00082     view->loadConfig();
00083 }
00084 
00085 void KChartViewIface::defaultConfig()
00086 {
00087     view->defaultConfig();
00088 }
00089 
00090 void KChartViewIface::configSubTypeChart()
00091 {
00092     view->slotConfigSubTypeChart();
00093 }
00094 
00095 void KChartViewIface::configHeaderFooter()
00096 {
00097     view->slotConfigHeaderFooterChart();
00098 }
00099 
00100 }  //KChart namespace
KDE Home | KDE Accessibility Home | Description of Access Keys