diff -r 3988818e8087 -r b7447adddc9a mapeditor.h --- a/mapeditor.h Fri Jan 05 11:17:33 2007 +0000 +++ b/mapeditor.h Wed Jan 10 13:26:12 2007 +0000 @@ -24,7 +24,7 @@ bool isRepositionBlocked(); // block while load or undo private: - QString getName(LinkableMapObj*); // Get e.g. heading or filename + QString getName(const LinkableMapObj*); // Get e.g. heading or filename void makeTmpDirs(); // create temporary directories QString saveToDir(const QString&,const QString &,bool, const QPointF &,LinkableMapObj*); void saveStateChangingPart (LinkableMapObj *, LinkableMapObj *, const QString &, const QString &); @@ -93,6 +93,9 @@ void moveRel (const int &x, const int &y); void moveBranchUp(); void moveBranchDown(); +private: + void linkTo(const QString &); +public: QString getHeading (bool &ok,QPoint &p); // Get heading, ok if selection is branch void setHeading(const QString &); private: