diff -r 65c5a0c28d20 -r 6a5e2c27f8a4 vymmodel.h --- a/vymmodel.h Tue Jan 15 10:54:41 2008 +0000 +++ b/vymmodel.h Fri Feb 01 15:28:35 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;