1
// -*- Mode: c++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4; -*-
2
/* This file is part of the KDE project
3
Copyright (C) 2002 Laurent MONTEL <lmontel@mandrakesoft.com>
5
This library is free software; you can redistribute it and/or
6
modify it under the terms of the GNU Library General Public
7
License as published by the Free Software Foundation; either
8
version 2 of the License, or (at your option) any later version.
10
This library is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
Library General Public License for more details.
15
You should have received a copy of the GNU Library General Public License
16
along with this library; see the file COPYING.LIB. If not, write to
17
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18
* Boston, MA 02110-1301, USA.
21
#include "KPrQuadricBezierCurveObjectIface.h"
22
#include "KPrBezierCurveObject.h"
24
#include "KPrObject.h"
27
#include <kapplication.h>
28
#include <dcopclient.h>
30
KPrQuadricBezierCurveObjectIface::KPrQuadricBezierCurveObjectIface( KPrQuadricBezierCurveObject *_obj )
31
: KPrObjectIface(_obj)
36
void KPrQuadricBezierCurveObjectIface::setLineBegin( const QString & type)
38
obj->setLineBegin(lineEndBeginFromString( type ));
41
void KPrQuadricBezierCurveObjectIface::setLineEnd( const QString & type)
43
obj->setLineEnd(lineEndBeginFromString( type ));
46
QString KPrQuadricBezierCurveObjectIface::lineBegin()const
48
LineEnd type=obj->getLineBegin();
49
return lineEndBeginName( type );
52
QString KPrQuadricBezierCurveObjectIface::lineEnd() const
54
LineEnd type=obj->getLineEnd();
55
return lineEndBeginName( type );
58
void KPrQuadricBezierCurveObjectIface::horizontalFlip()
63
void KPrQuadricBezierCurveObjectIface::verticalFlip()