1.1 --- a/linkablemapobj.h Tue Apr 07 16:15:53 2009 +0000
1.2 +++ b/linkablemapobj.h Mon Apr 20 10:42:05 2009 +0000
1.3 @@ -9,7 +9,6 @@
1.4
1.5 #define MAX_DEPTH 999
1.6
1.7 -class MapEditor;
1.8 class VymModel;
1.9
1.10
1.11 @@ -87,9 +86,6 @@
1.12 void setLinkPos (Position);
1.13 Position getLinkPos ();
1.14
1.15 - virtual void setID (const QString &s);
1.16 - virtual QString getID ();
1.17 -
1.18 virtual void setLinkColor(); // sets color according to colorhint, overloaded
1.19 virtual void setLinkColor(QColor);
1.20 QColor getLinkColor();
1.21 @@ -106,8 +102,6 @@
1.22 QPointF getParPos(); // returns pos where parents dock
1.23 Orientation getOrientation(); // get orientation
1.24 virtual int getDepth(); // return depth
1.25 - virtual void setMapEditor(MapEditor*); // set MapEditor (needed in LMO::updateNoteFlag) FIXME not needed
1.26 - virtual MapEditor* getMapEditor(); // get MapEditor (usually from parent); FIXME not needed
1.27 virtual QPointF getRandPos(); // make randomised position
1.28
1.29 virtual void reposition();
1.30 @@ -128,9 +122,6 @@
1.31 QPointF childPos;
1.32 QPointF parPos;
1.33 bool link2ParPos; // While moving around, sometimes link to parent
1.34 - MapEditor* mapEditor; // for and toggleScroll(), get default styles FIXME should not be needed with model available
1.35 - // and mapEditor->updateActions()
1.36 - // and mapEditor->updateSelection()
1.37
1.38 VymModel* model;
1.39 Orientation orientation;
1.40 @@ -168,8 +159,6 @@
1.41 bool useRelPos;
1.42 bool useOrientation;
1.43
1.44 - QString objID; // id set during load/save currently used for xLinks
1.45 -
1.46 TreeItem *treeItem; // Crossrefence to treemodel
1.47 };
1.48 #endif