]> git.lyx.org Git - features.git/commit
Free BufferView from LyXView!
authorAbdelrazak Younes <younes@lyx.org>
Tue, 26 Sep 2006 10:06:46 +0000 (10:06 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 26 Sep 2006 10:06:46 +0000 (10:06 +0000)
commitb171e5f1501c0ef1ab724e0631200488bd3658a3
tree93494f3d5f54fc541133f471c5449f1ec16ef222
parent1ead706c96c3a5bbe76904de8216c359671fee6c
Free BufferView from LyXView!

* BufferView
  - layoutChanged: new boost signal.
  - LyXView owner(), owner_: deleted

* text3.C
  - emit BufferView::layoutChanged instead of calling LyXView::setLayout directly
  - LFUN_MOUSE_RELEASE: delete LyXView updateMenubar() and updateToolbars() direct calls.
    The update is of both bars is done in WorkArea::dispatch().

* WorkArea.C
  - dispatch(): add LyXView updateMenubar() call.

* LyXView
  - connects to BufferView::layoutChanged directly to Toolbars::setLayout()
  - setLayout(): deleted.

* qt4/GuiImplementation: modify BufferView construction (without LyXView).

All other files: cleanup header declaration of LyXView.h

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15153 a592a061-630c-0410-9148-cb99ea01b6c8
28 files changed:
src/BufferView.C
src/BufferView.h
src/CutAndPaste.C
src/ParagraphParameters.C
src/bufferview_funcs.C
src/cursor.C
src/frontends/LyXView.C
src/frontends/LyXView.h
src/frontends/WorkArea.C
src/frontends/qt4/GuiImplementation.C
src/insets/insetcollapsable.C
src/insets/insetert.C
src/insets/insetexternal.C
src/insets/insetgraphics.C
src/insets/insetinclude.C
src/insets/insetlabel.C
src/insets/insetref.C
src/insets/insettabular.C
src/insets/mailinset.C
src/lyxfind.C
src/mathed/InsetMathHull.C
src/mathed/InsetMathNest.C
src/mathed/InsetMathRef.C
src/rowpainter.C
src/text.C
src/text2.C
src/text3.C
src/toc.C