diff -r bf3ea1f1520b -r 59614eaf5fbb mapcenterobj.cpp --- a/mapcenterobj.cpp Tue Apr 28 20:53:44 2009 +0000 +++ b/mapcenterobj.cpp Wed Apr 29 18:46:31 2009 +0000 @@ -45,7 +45,7 @@ // TODO this should be done in TextObj later... //QFont font ("Sans Serif,16,-1,5,50,0,0,0,0,0"); //heading->setFont(font); - setDefAttr(MovedBranch); + //FIXME-2 no treeitem yet: setDefAttr(MovedBranch); frame->setFrameType (FrameObj::Rectangle); } @@ -108,29 +108,6 @@ if (repositionRequest) reposition(); } -LinkableMapObj* MapCenterObj::findMapObj(QPointF p, LinkableMapObj *excludeLMO) - { - /* FIXME-1 should not be necessary - LinkableMapObj *lmo; - - // Search through child branches - for (int i=0; ibranchCount(); ++i) - { - lmo = treeItem->getBranchObjNum(i)->findMapObj(p, excludeLMO); - if (lmo!= NULL) return lmo; - } - // is p in MapCenter? - if (inBox (p,clickBox) && (this != excludeLMO) ) return this; - - // Search float images - for (int i=0; igetClickBox()) && (floatimage.at(i) != excludeLMO) && floatimage.at(i)->getParObj()!= excludeLMO) return floatimage.at(i); - - // nothing found - */ - return NULL; -} - QString MapCenterObj::saveToDir (const QString &tmpdir,const QString &prefix, int verbose, const QPointF &offset) { QString s,a;