lyx_mirror/development
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
..
cmake fix wrong usage of precompiled headers, now it's really faster, more to come 2006-10-23 14:32:12 +00:00
Code_rules Whitespace, only whitespace. Part II. 2004-10-28 14:35:53 +00:00
lyx3 major cleanup of this totally outdated file 2006-07-14 08:30:26 +00:00
lyxserver Whitespace, only whitespace. Part II. 2004-10-28 14:35:53 +00:00
MacOSX/LyX.app/Contents 2006-08-08 Bennett Helm <bennett.helm@fandm.edu> 2006-08-08 10:03:09 +00:00
misc some scripts I fouind usefule when working on LyX 2006-10-21 07:05:52 +00:00
scons new LFUN_WINDOW_CLOSE 2006-10-23 16:29:24 +00:00
tools * development/tools/mkdoclinks.sh: 2006-08-13 10:21:06 +00:00
Win32 propdel svn:executable 2006-09-18 20:43:50 +00:00
boostworkaround.txt a couple of useful files 2002-05-21 23:58:52 +00:00
ChangeLog Michael's installer patch 2006-03-13 10:55:56 +00:00
FORMAT Rework InsetCommandParams interface and file storage 2006-10-17 21:07:16 +00:00
gettext.patch update to gettext 0.10.40 2001-10-08 14:36:39 +00:00
lazy_lyxtext.txt Ensure that the last line of text files ends with a newline. 2006-01-19 00:40:38 +00:00
lyx.rpm.README * lyx.rpm.README: remove mentioning of qt3 2006-10-21 08:55:17 +00:00
lyx.spec.in * development/lyx.spec.in: remove not unneeded sourcing of /etc/profile 2006-05-13 13:09:46 +00:00
Makefile.am Distribute INSTALL.scons and development/scons with autotools 2006-06-08 16:36:38 +00:00
Seminar.txt Ensure that the last line of text files ends with a newline. 2006-01-19 00:40:38 +00:00
TodoPlan-1.3 Ensure that the last line of text files ends with a newline. 2006-01-19 00:40:38 +00:00