]> git.lyx.org Git - features.git/commit
This is the continuation of my BufferView/LyXView cleanup. This commit replaces Buffe...
authorAbdelrazak Younes <younes@lyx.org>
Tue, 19 Sep 2006 13:36:20 +0000 (13:36 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 19 Sep 2006 13:36:20 +0000 (13:36 +0000)
commit311ac9b192bc45f29b8c305b4519a09e3e30bccc
treee0f6efda3306aa656d3ece1b667466519180a225
parent023fb5433c3028ec87042d9f2a7d2d4ed4d70eee
This is the continuation of my BufferView/LyXView cleanup. This commit replaces BufferView->LyXView->getDialogs().[show(), update()] with BufferView signal emissions.
The associated WorkArea is then responsible to connect these signals to its LyXView parent.

* BufferView:
  - showDialog, showDialogWithData, showInsetDialog: new boost signals

* LyXView:
  - connectBufferView(), disconnectBufferView(): new method in charge of the connection/disconnection of the above signal to associate private methods (showDialog(), etc).

* WorkArea
  - setBufferView(): will connect/disconnect the BufferView to its LyXView parent.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15068 a592a061-630c-0410-9148-cb99ea01b6c8
12 files changed:
src/BufferView.C
src/BufferView.h
src/frontends/LyXView.C
src/frontends/LyXView.h
src/frontends/WorkArea.C
src/insets/mailinset.C
src/lyxfunc.h
src/mathed/InsetMathHull.C
src/mathed/InsetMathNest.C
src/mathed/InsetMathRef.C
src/messages.C
src/text3.C