1.1 --- a/mapcenterobj.cpp Tue Apr 28 20:53:44 2009 +0000
1.2 +++ b/mapcenterobj.cpp Wed Apr 29 18:46:31 2009 +0000
1.3 @@ -45,7 +45,7 @@
1.4 // TODO this should be done in TextObj later...
1.5 //QFont font ("Sans Serif,16,-1,5,50,0,0,0,0,0");
1.6 //heading->setFont(font);
1.7 - setDefAttr(MovedBranch);
1.8 + //FIXME-2 no treeitem yet: setDefAttr(MovedBranch);
1.9
1.10 frame->setFrameType (FrameObj::Rectangle);
1.11 }
1.12 @@ -108,29 +108,6 @@
1.13 if (repositionRequest) reposition();
1.14 }
1.15
1.16 -LinkableMapObj* MapCenterObj::findMapObj(QPointF p, LinkableMapObj *excludeLMO)
1.17 - {
1.18 - /* FIXME-1 should not be necessary
1.19 - LinkableMapObj *lmo;
1.20 -
1.21 - // Search through child branches
1.22 - for (int i=0; i<treeItem->branchCount(); ++i)
1.23 - {
1.24 - lmo = treeItem->getBranchObjNum(i)->findMapObj(p, excludeLMO);
1.25 - if (lmo!= NULL) return lmo;
1.26 - }
1.27 - // is p in MapCenter?
1.28 - if (inBox (p,clickBox) && (this != excludeLMO) ) return this;
1.29 -
1.30 - // Search float images
1.31 - for (int i=0; i<floatimage.size(); ++i)
1.32 - if (inBox(p,floatimage.at(i)->getClickBox()) && (floatimage.at(i) != excludeLMO) && floatimage.at(i)->getParObj()!= excludeLMO) return floatimage.at(i);
1.33 -
1.34 - // nothing found
1.35 - */
1.36 - return NULL;
1.37 -}
1.38 -
1.39 QString MapCenterObj::saveToDir (const QString &tmpdir,const QString &prefix, int verbose, const QPointF &offset)
1.40 {
1.41 QString s,a;