floatobj.cpp
changeset 790 133e2ed6b9c5
parent 787 c6bb4fdcc55f
child 798 d251c7b2de54
     1.1 --- a/floatobj.cpp	Mon Aug 24 14:39:07 2009 +0000
     1.2 +++ b/floatobj.cpp	Thu Sep 03 08:52:00 2009 +0000
     1.3 @@ -1,30 +1,19 @@
     1.4  #include "floatobj.h"
     1.5  
     1.6 +#include <iostream>
     1.7 +using namespace std;
     1.8 +
     1.9  /////////////////////////////////////////////////////////////////
    1.10  // FloatObj
    1.11  /////////////////////////////////////////////////////////////////
    1.12  
    1.13 -FloatObj::FloatObj ():OrnamentedObj() 
    1.14 +FloatObj::FloatObj (QGraphicsScene* s, TreeItem *ti):OrnamentedObj(s,ti)
    1.15  {
    1.16 -//    cout << "Const FloatObj ()\n";
    1.17 +	cout << "Const FloatObj s="<<s<<"  ti="<<ti<<"  treeItem="<<treeItem<<endl;
    1.18      setParObj (this);	
    1.19      init();
    1.20  }
    1.21  
    1.22 -FloatObj::FloatObj (QGraphicsScene* s):OrnamentedObj(s)
    1.23 -{
    1.24 -//	cout << "Const FloatObj (s)  called from MapCenterObj (s)\n";
    1.25 -    setParObj (this);	
    1.26 -    init();
    1.27 -}
    1.28 -
    1.29 -FloatObj::FloatObj (QGraphicsScene* s, LinkableMapObj* p):OrnamentedObj (s)
    1.30 -{
    1.31 -//    cout << "Const FloatObj (s,p)\n";
    1.32 -    setParObj (p);	
    1.33 -    init();
    1.34 -}
    1.35 -
    1.36  FloatObj::~FloatObj ()
    1.37  {
    1.38  //   cout << "Destr FloatObj\n";