1.1 --- a/vymmodel.h Tue Jan 15 10:54:41 2008 +0000
1.2 +++ b/vymmodel.h Fri Feb 01 15:28:35 2008 +0000
1.3 @@ -28,31 +28,30 @@
1.4 QGraphicsScene *getScene();
1.5 MapCenterObj* addMapCenter();
1.6 MapCenterObj* removeMapCenter(MapCenterObj *mco);
1.7 - LinkableMapObj* getSelection();
1.8 - BranchObj* getSelectedBranch();
1.9 - bool select (const QString &s);
1.10 - QString getSelectString (LinkableMapObj *lmo);
1.11 - /*
1.12 - void move (double,double); // FIXME needed at all?
1.13 - void moveBy (double,double); // FIXME needed at all?
1.14 - void moveAll (double,double); // FIXME needed at all?
1.15 - void moveAllBy (double,double); // FIXME needed at all?
1.16 - */
1.17 +
1.18 BranchObj* first(); // FIXME replaced by ModelIndex later
1.19 BranchObj* next(BranchObj *bo); // FIXME replaced by ModelIndex later
1.20
1.21 -/*
1.22 - void updateLink();
1.23 -*/
1.24 + LinkableMapObj* findMapObj(QPointF,LinkableMapObj*); // find MapObj
1.25 + LinkableMapObj* findObjBySelect (const QString &s); // find MapObj by select string
1.26 + LinkableMapObj* findID (const QString &s); // find MapObj by previously set ID
1.27 + QString saveToDir (const QString&,const QString&,int, const QPointF&);// Save data recursivly to tempdir
1.28 +
1.29 +
1.30 +////////////////////////////////////////// View related
1.31 + // void updateLink(); FIXME needed?
1.32 void updateRelPositions();
1.33
1.34 QRectF getTotalBBox();
1.35 void reposition(); //!< Call reposition for all MCOs
1.36 void setHideTmp (HideTmpMode mode);
1.37 - LinkableMapObj* findMapObj(QPointF,LinkableMapObj*); // find MapObj
1.38 - LinkableMapObj* findObjBySelect (const QString &s); // find MapObj by select string
1.39 - LinkableMapObj* findID (const QString &s); // find MapObj by previously set ID
1.40 - QString saveToDir (const QString&,const QString&,int, const QPointF&);// Save data recursivly to tempdir
1.41 +
1.42 +////////////////////////////////////////// Selection related
1.43 + LinkableMapObj* getSelection();
1.44 + BranchObj* getSelectedBranch();
1.45 + bool select (const QString &s);
1.46 + QString getSelectString (LinkableMapObj *lmo);
1.47 +
1.48 private:
1.49 QGraphicsScene *mapScene;
1.50 MapEditor *mapEditor;