diff -r 914f330b6aa8 -r 25a77484ec72 vymview.cpp --- a/vymview.cpp Thu Apr 02 09:57:47 2009 +0000 +++ b/vymview.cpp Tue Apr 07 16:15:53 2009 +0000 @@ -31,9 +31,16 @@ connect ( selModel, SIGNAL (selectionChanged(const QItemSelection &, const QItemSelection &)), me,SLOT (updateSelection(const QItemSelection &,const QItemSelection &))); + /* connect ( selModel, SIGNAL (currentChanged(const QModelIndex &, const QModelIndex &)), me,SLOT (updateCurrent(const QModelIndex &,const QModelIndex &))); + */ + /* +*/ + connect ( + model, SIGNAL (dataChanged(const QModelIndex &, const QModelIndex &)), + me,SLOT (updateData(const QModelIndex &) ) ); // VymModel may want to update selection or other data, e.g. during animation connect ( @@ -43,8 +50,8 @@ model, SIGNAL (newChildObject(QModelIndex) ), this,SLOT (updateChilds (QModelIndex) ) ); connect ( - model, SIGNAL (contentHasChanged(QModelIndex) ), - mainWindow, SLOT (updateContent(QModelIndex) ) ); + model, SIGNAL (noteHasChanged(QModelIndex) ), + mainWindow, SLOT (updateNoteEditor (QModelIndex) ) ); //me->viewport()->setFocus(); //FIXME-3 needed?