diff -r 7f43b93242aa -r 96402b172173 vymmodel.h --- a/vymmodel.h Mon Oct 06 11:10:20 2008 +0000 +++ b/vymmodel.h Wed Oct 29 17:42:34 2008 +0000 @@ -525,11 +525,14 @@ QString latestSelectionString; // select string of latest added object public: + void setSelectionModel(QItemSelectionModel *); // Set common selectionModel + void setSelectionBlocked(bool); bool isSelectionBlocked(); - bool select(const QString &); // Select by string - bool select(LinkableMapObj *lmo); // Select by pointer + bool select (); // select by using common QItemSlectionModel + bool select (const QString &); // Select by string + bool select (LinkableMapObj *lmo); // Select by pointer void unselect(); void reselect(); @@ -562,6 +565,8 @@ void selectMapSelectionColor(); private: void setSelectionColorInt(QColor); + QItemSelectionModel *selModel; + public: void setSelectionColor(QColor); QColor getSelectionColor();