1.1 --- a/vymview.cpp Thu Mar 26 07:49:17 2009 +0000
1.2 +++ b/vymview.cpp Tue Apr 07 16:15:53 2009 +0000
1.3 @@ -31,9 +31,16 @@
1.4 connect (
1.5 selModel, SIGNAL (selectionChanged(const QItemSelection &, const QItemSelection &)),
1.6 me,SLOT (updateSelection(const QItemSelection &,const QItemSelection &)));
1.7 + /*
1.8 connect (
1.9 selModel, SIGNAL (currentChanged(const QModelIndex &, const QModelIndex &)),
1.10 me,SLOT (updateCurrent(const QModelIndex &,const QModelIndex &)));
1.11 + */
1.12 + /*
1.13 +*/
1.14 + connect (
1.15 + model, SIGNAL (dataChanged(const QModelIndex &, const QModelIndex &)),
1.16 + me,SLOT (updateData(const QModelIndex &) ) );
1.17
1.18 // VymModel may want to update selection or other data, e.g. during animation
1.19 connect (
1.20 @@ -43,8 +50,8 @@
1.21 model, SIGNAL (newChildObject(QModelIndex) ),
1.22 this,SLOT (updateChilds (QModelIndex) ) );
1.23 connect (
1.24 - model, SIGNAL (contentHasChanged(QModelIndex) ),
1.25 - mainWindow, SLOT (updateContent(QModelIndex) ) );
1.26 + model, SIGNAL (noteHasChanged(QModelIndex) ),
1.27 + mainWindow, SLOT (updateNoteEditor (QModelIndex) ) );
1.28
1.29
1.30 //me->viewport()->setFocus(); //FIXME-3 needed?