Abdelrazak Younes f4857dab04 new LFUN_WINDOW_CLOSE
* LyXFunc:
  - dispatch(): transfer assertion on lyx_view_ to each LFUN on a case by case basis.
  - dispatch(): new LFUN_WINDOW_CLOSE
  - getStatus(): special treatment for LFUN_LYX_QUIT

* LyX:
  - views_, addLyXView(): deleted
  - quit(): call saveGeometry() on each LyXView before exiting.

* GuiApplication:
  - is now a QObject.
  - quitLyX(): new Qt slot for lastWindowClosed signal.

* Gui.h:
  - destroyView(), destroyWorkArea(): deleted
  - viewIds(): new method

* GuiImplementation:
  - implement above changes.
  - GuiImplementation is now a QObject
  - cleanupViews(): new private slot.
  - buildViewIds(): new helper method
  - views_ and work_areas_ are now maps of raw pointers instead of schared_ptr.

* LyXView
  - now stores its id.
  - dispatch(): special treatment for LFUN_WINDOW_CLOSE.
  - workAreaIds(): new method.
  - close(): new pure virtual method.
  - saveGeometry(): new pure virtual method.

* GuiView:
  - implements above changes.
  - GuiView(): set WA_DeleteOnClose and Qt::WA_QuitOnClose to let Qt manage the destruction on close().
  - closeEvent(): session stuff transfered to saveGeometry()

* WorkArea
  - now store its id.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15514 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-23 16:29:24 +00:00
..
2006-10-14 12:36:19 +00:00
1999-09-27 18:44:28 +00:00
2006-08-23 11:16:08 +00:00
2006-10-20 21:42:29 +00:00
2006-09-19 07:09:36 +00:00
2006-10-23 16:29:24 +00:00
2003-10-13 09:50:10 +00:00
2003-10-13 09:50:10 +00:00
2006-07-03 19:13:56 +00:00
2006-08-23 12:43:46 +00:00
2006-10-04 19:01:00 +00:00
2004-06-22 06:08:11 +00:00
2006-10-04 19:01:00 +00:00
2006-09-27 13:54:43 +00:00
2006-07-09 17:57:15 +00:00
2006-10-22 11:48:21 +00:00
2005-11-25 09:37:09 +00:00