summaryrefslogtreecommitdiffstats
path: root/kig/misc/builtin_stuff.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
commita374efce3a207b39514be3c52264091400ce297e (patch)
tree77bdf654b55826d4f59b53a5621310206bcaead1 /kig/misc/builtin_stuff.cc
parentf81a494f3957d5cf38c787973415597941934727 (diff)
downloadtdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz
tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kig/misc/builtin_stuff.cc')
-rw-r--r--kig/misc/builtin_stuff.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/kig/misc/builtin_stuff.cc b/kig/misc/builtin_stuff.cc
index e162e7ac..432721cf 100644
--- a/kig/misc/builtin_stuff.cc
+++ b/kig/misc/builtin_stuff.cc
@@ -59,14 +59,14 @@ void setupBuiltinStuff()
I18N_NOOP( "A segment constructed from its start and end point" ),
"segment" );
ctors->add( c );
- actions->add( new ConstructibleAction( c, "objects_new_segment", Qt::Key_S ) );
+ actions->add( new ConstructibleAction( c, "objects_new_segment", TQt::Key_S ) );
// line by two points..
c = new SimpleObjectTypeConstructor(
LineABType::instance(), I18N_NOOP( "Line by Two Points" ),
I18N_NOOP( "A line constructed through two points"), "line" );
ctors->add( c );
- actions->add( new ConstructibleAction( c, "objects_new_linettp", Qt::Key_L ) );
+ actions->add( new ConstructibleAction( c, "objects_new_linettp", TQt::Key_L ) );
// ray by two points..
c = new SimpleObjectTypeConstructor(
@@ -74,7 +74,7 @@ void setupBuiltinStuff()
I18N_NOOP( "A half-line by its start point, and another point somewhere on it." ),
"ray" );
ctors->add( c );
- actions->add( new ConstructibleAction( c, "objects_new_ray", Qt::Key_R ) );
+ actions->add( new ConstructibleAction( c, "objects_new_ray", TQt::Key_R ) );
// perpendicular line
c = new SimpleObjectTypeConstructor(
@@ -98,7 +98,7 @@ void setupBuiltinStuff()
I18N_NOOP( "A circle constructed by its center and a point that pertains to it" ),
"circlebcp" );
ctors->add( c );
- actions->add( new ConstructibleAction( c, "objects_new_circlebcp", Qt::Key_C ) );
+ actions->add( new ConstructibleAction( c, "objects_new_circlebcp", TQt::Key_C ) );
c = new SimpleObjectTypeConstructor(
CircleBTPType::instance(), I18N_NOOP( "Circle by Three Points" ),
@@ -227,7 +227,7 @@ void setupBuiltinStuff()
I18N_NOOP( "An angle defined by three points" ),
"angle" );
ctors->add( c );
- actions->add( new ConstructibleAction( c, "objects_new_angle", Qt::Key_A ) );
+ actions->add( new ConstructibleAction( c, "objects_new_angle", TQt::Key_A ) );
c = new SimpleObjectTypeConstructor(
EquilateralHyperbolaB4PType::instance(),
@@ -260,7 +260,7 @@ void setupBuiltinStuff()
"bisection" );
m.merge( mpotp );
m.merge( mpos );
- actions->add( new ConstructibleAction( &m, "objects_new_midpoint", Qt::Key_M ) );
+ actions->add( new ConstructibleAction( &m, "objects_new_midpoint", TQt::Key_M ) );
};
c = new SimpleObjectTypeConstructor(
@@ -269,7 +269,7 @@ void setupBuiltinStuff()
I18N_NOOP( "Construct a vector from two given points." ),
"vector" );
ctors->add( c );
- actions->add( new ConstructibleAction( c, "objects_new_vector", Qt::Key_V ) );
+ actions->add( new ConstructibleAction( c, "objects_new_vector", TQt::Key_V ) );
c = new SimpleObjectTypeConstructor(
VectorSumType::instance(),
@@ -509,7 +509,7 @@ void setupBuiltinStuff()
ContainsTestType::instance(),
I18N_NOOP( "Contains Test" ),
I18N_NOOP( "Test whether a given curve contains a given point" ),
- "testcontains" );
+ "testtqcontains" );
ctors->add( c );
actions->add( new ConstructibleAction( c, "objects_new_containstest" ) );
@@ -562,12 +562,12 @@ void setupBuiltinStuff()
// the generic intersection constructor..
c = new GenericIntersectionConstructor();
ctors->add( c );
- actions->add( new ConstructibleAction( c, "objects_new_intersection", Qt::Key_I ) );
+ actions->add( new ConstructibleAction( c, "objects_new_intersection", TQt::Key_I ) );
// the generic tangent constructor
c = new TangentConstructor();
ctors->add( c );
- actions->add( new ConstructibleAction( c, "objects_new_tangent", Qt::Key_T ) );
+ actions->add( new ConstructibleAction( c, "objects_new_tangent", TQt::Key_T ) );
// the generic center of curvature constructor
c = new CocConstructor();