]> git.lyx.org Git - features.git/commit
* Gui.h: new closeAll() pure virtual method.
authorAbdelrazak Younes <younes@lyx.org>
Tue, 24 Oct 2006 15:01:07 +0000 (15:01 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 24 Oct 2006 15:01:07 +0000 (15:01 +0000)
commit55eae1a7f8693d5d19a648caa154d01e953fa90b
tree6dc8e25c7d7b887605fdea263865c19123cb502b
parent1a54d2826b5ccab245a53029a161b6df875160e4
* Gui.h: new closeAll() pure virtual method.

* qt4/Alert_pimpl.C: make sure the proper Qt attributes are set.

* GuiApplication::quitLyx(): add the "force" argument to the funcRequest.

* GuiImplementation:
  - GuiImplementation(): remove the signal connection. This was triggered after the LastWindowClosed signal so was not useful.
  - cleanupViews(): renamed to unregisterView() and handle the WorkAreas as well.
  - closeAll(): new method (from LyXView).

* GuiView.C
  - clean up the includes order.
  - closeEvent(): make sure that theBufferList().quitWriteAll() is called if last window closed.

* lyx_main.C / LyX::quit():
  - remove noAsk argument
  - delete bufferList::quitWriteAll() call (this is handled in the frontend).
  - delete Session stuff (ditto)

* LyXFunc::dispatch()
  - LFUN_LYX_EXIT: close all window before exiting from user command (as opposed to last window closed).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15535 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/Gui.h
src/frontends/qt4/Alert_pimpl.C
src/frontends/qt4/GuiApplication.C
src/frontends/qt4/GuiImplementation.C
src/frontends/qt4/GuiImplementation.h
src/frontends/qt4/GuiView.C
src/frontends/qt4/GuiView.h
src/lyx_main.C
src/lyx_main.h
src/lyxfunc.C