moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kig / objects / curve_imp.cc
blob3bec5d6867155d3a391429c1dcdd321389fe1506
1 // Copyright (C) 2002 Dominique Devriese <devriese@kde.org>
3 // This program is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU General Public License
5 // as published by the Free Software Foundation; either version 2
6 // of the License, or (at your option) any later version.
8 // This program is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 // GNU General Public License for more details.
13 // You should have received a copy of the GNU General Public License
14 // along with this program; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
16 // 02111-1307, USA.
18 #include "curve_imp.h"
19 #include "../misc/coordinate.h"
21 const ObjectImpType* CurveImp::stype()
23 static const ObjectImpType t(
24 Parent::stype(), "curve",
25 I18N_NOOP( "curve" ),
26 I18N_NOOP( "Select this curve" ),
27 I18N_NOOP( "Select curve %1" ),
28 I18N_NOOP( "Remove a Curve" ),
29 I18N_NOOP( "Add a Curve" ),
30 I18N_NOOP( "Move a Curve" ),
31 I18N_NOOP( "Attach to this curve" ),
32 I18N_NOOP( "Show a Curve" ),
33 I18N_NOOP( "Hide a Curve" )
35 return &t;
38 Coordinate CurveImp::attachPoint() const
40 return Coordinate::invalidCoord();