floatobj.cpp
changeset 241 f5243654fe86
parent 236 22a885118d50
child 249 e7acede0377c
     1.1 --- a/floatobj.cpp	Tue Mar 14 14:27:04 2006 +0000
     1.2 +++ b/floatobj.cpp	Tue Mar 14 14:27:04 2006 +0000
     1.3 @@ -6,7 +6,7 @@
     1.4  // FloatObj
     1.5  /////////////////////////////////////////////////////////////////
     1.6  
     1.7 -FloatObj::FloatObj ():LinkableMapObj() 
     1.8 +FloatObj::FloatObj ():OrnamentedObj() 
     1.9  {
    1.10  //    cout << "Const FloatObj ()\n";
    1.11      setParObj (this);	
    1.12 @@ -14,7 +14,7 @@
    1.13      depth=-1;
    1.14  }
    1.15  
    1.16 -FloatObj::FloatObj (QCanvas* c):LinkableMapObj(c)
    1.17 +FloatObj::FloatObj (QCanvas* c):OrnamentedObj(c)
    1.18  {
    1.19  //	cout << "Const FloatObj (c)  called from MapCenterObj (c)\n";
    1.20      setParObj (this);	
    1.21 @@ -22,7 +22,7 @@
    1.22      depth=-1;
    1.23  }
    1.24  
    1.25 -FloatObj::FloatObj (QCanvas* c, LinkableMapObj* p):LinkableMapObj (c)
    1.26 +FloatObj::FloatObj (QCanvas* c, LinkableMapObj* p):OrnamentedObj (c)
    1.27  {
    1.28  //    cout << "Const FloatObj (c,p)\n";
    1.29      setParObj (p);	
    1.30 @@ -116,7 +116,7 @@
    1.31  void FloatObj::select()
    1.32  {
    1.33      LinkableMapObj::select();
    1.34 -	setLinkColor(parObj->getLinkColor());
    1.35 +	LinkableMapObj::setLinkColor(parObj->getLinkColor());
    1.36  
    1.37  	// Update FloatExport switch in context menu
    1.38  	if (floatExport)