diff -r 1e51ba080947 -r 700553af9ca5 vymmodel.h --- a/vymmodel.h Tue Jan 15 13:06:59 2008 +0000 +++ b/vymmodel.h Tue Jan 15 13:06:59 2008 +0000 @@ -28,31 +28,30 @@ QGraphicsScene *getScene(); MapCenterObj* addMapCenter(); MapCenterObj* removeMapCenter(MapCenterObj *mco); - LinkableMapObj* getSelection(); - BranchObj* getSelectedBranch(); - bool select (const QString &s); - QString getSelectString (LinkableMapObj *lmo); - /* - void move (double,double); // FIXME needed at all? - void moveBy (double,double); // FIXME needed at all? - void moveAll (double,double); // FIXME needed at all? - void moveAllBy (double,double); // FIXME needed at all? - */ + BranchObj* first(); // FIXME replaced by ModelIndex later BranchObj* next(BranchObj *bo); // FIXME replaced by ModelIndex later -/* - void updateLink(); -*/ + LinkableMapObj* findMapObj(QPointF,LinkableMapObj*); // find MapObj + LinkableMapObj* findObjBySelect (const QString &s); // find MapObj by select string + LinkableMapObj* findID (const QString &s); // find MapObj by previously set ID + QString saveToDir (const QString&,const QString&,int, const QPointF&);// Save data recursivly to tempdir + + +////////////////////////////////////////// View related + // void updateLink(); FIXME needed? void updateRelPositions(); QRectF getTotalBBox(); void reposition(); //!< Call reposition for all MCOs void setHideTmp (HideTmpMode mode); - LinkableMapObj* findMapObj(QPointF,LinkableMapObj*); // find MapObj - LinkableMapObj* findObjBySelect (const QString &s); // find MapObj by select string - LinkableMapObj* findID (const QString &s); // find MapObj by previously set ID - QString saveToDir (const QString&,const QString&,int, const QPointF&);// Save data recursivly to tempdir + +////////////////////////////////////////// Selection related + LinkableMapObj* getSelection(); + BranchObj* getSelectedBranch(); + bool select (const QString &s); + QString getSelectString (LinkableMapObj *lmo); + private: QGraphicsScene *mapScene; MapEditor *mapEditor;