lyx_mirror/src/frontends/xforms
Georg Baum 042d5a0242 Fix crash on exit (bug 2549) by correct usage of QApplication
* src/lyx_cb.C
	(quitLyX): lyx_gui::exit takes now an argument

	* src/frontends/{gtk,xforms}/lyx_gui.C
	(lyx_gui::parse_init): rename to lyx_gui::exec and call LyX::exec2
	(void lyx_gui::exit): add exit status argument

	* src/frontends/qt{3,4}/lyx_gui.C
	(cleanup): new function for pointer cleanup
	(lyx_gui::parse_init): rename to lyx_gui::exec and call LyX::exec2,
	turn static variables into automatic variables
	(void lyx_gui::exit): add exit status argument
	(start): Use cleanup()
	(exit): ditto

	* src/frontends/lyx_gui.h
	(parse_init): remove
	(exec): new
	(exit): Take exist status argument

	* src/lyx_main.[Ch]
	(LyX::priv_exec): split into LyX::priv_exec and LyX::exec2

	* src/lyx_main.C
	(lyx_exit): New, choose the right exit function
	(showFileError): call lyx_exit
	(LyX::queryUserLyXDir): ditto
	(LyX::init): ditto
	(LyX::priv_exec): ditto
	(LyX::priv_exec): Replace want_gui by lyx_gui::use_gui
	(LyX::priv_exec): replace lyx_gui::parse_init by lyx_gui::exec and
	exec2
	(LyX::init): Replace gui argument by lyx_gui::use_gui


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14036 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-07 20:08:37 +00:00
..
forms * src/format.[Ch] 2006-05-20 12:03:40 +00:00
Alert_pimpl.C Whitespace cleanup. 2006-04-05 23:56:29 +00:00
bmtable.c Consistent use of preprocessor guards; 2005-04-26 10:30:24 +00:00
bmtable.h
ChangeLog restore entries from 11/2002 to 5/2005 2006-03-14 19:56:00 +00:00
checkedwidgets.C Allow ':' characters in file names. 2005-05-31 19:38:44 +00:00
checkedwidgets.h Enable the user to input "file names with spaces" only if LaTeX can 2005-05-16 09:14:18 +00:00
ColorHandler.C Various text message changes 2005-07-17 12:39:56 +00:00
ColorHandler.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
combox.c cure a few more warnings 2005-01-03 12:51:26 +00:00
combox.h Correct a couple of spelling mistakes. 2004-01-02 21:55:29 +00:00
Dialogs.C more text cleanups from Michael 2005-05-19 18:53:09 +00:00
fdesign_base.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
fdesign_base.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FileDialog.C Clean-up FileFilterList API. 2004-11-26 12:31:39 +00:00
FontInfo.C try to account for non-existing symbol fonts 2005-07-17 15:32:28 +00:00
FontInfo.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormAboutlyx.C Fix display of CREDITS info in Help->About dialog. 2005-04-08 15:11:47 +00:00
FormAboutlyx.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormBibitem.C Michael Schmitt's harmonization of translations. 2005-05-05 11:07:45 +00:00
FormBibitem.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormBibtex.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
FormBibtex.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormBox.C Whitespace cleanup. 2006-04-05 23:56:29 +00:00
FormBox.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormBranch.C Michael Schmitt's harmonization of translations. 2005-05-05 11:07:45 +00:00
FormBranch.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormBrowser.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormBrowser.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormChanges.C fix bug 2212: First change is skipped in Merge changes... dialog 2006-03-10 16:46:03 +00:00
FormChanges.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormCharacter.C Make us satisfy concept checks 2004-11-16 20:41:38 +00:00
FormCharacter.h Make us satisfy concept checks 2004-11-16 20:41:38 +00:00
FormCitation.C code cosmetics to the iterator fix 2006-02-15 14:12:54 +00:00
FormCitation.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormColorpicker.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
FormColorpicker.h Store colors as rgb values in branches. 2006-03-23 20:04:05 +00:00
FormDialogView.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
FormDialogView.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormDocument.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
FormDocument.h Partial fix to bug 2355. 2006-03-24 11:57:19 +00:00
FormErrorList.C Whitespace, only whitespace. 2004-10-05 10:11:42 +00:00
FormErrorList.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormERT.C Michael Schmitt's harmonization of translations. 2005-05-05 11:07:45 +00:00
FormERT.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormExternal.C Fix bug 886 and others not reported related with the document paper size. 2005-07-16 16:57:55 +00:00
FormExternal.h Enable the user to input "file names with spaces" only if LaTeX can 2005-05-16 09:14:18 +00:00
FormFiledialog.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
FormFiledialog.h ditch FileInfo -> use boost.filesystem 2005-01-31 10:42:26 +00:00
FormFloat.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormFloat.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormGraphics.C Squash compiler warnings. 2005-10-05 08:41:28 +00:00
FormGraphics.h Enable the user to input "file names with spaces" only if LaTeX can 2005-05-16 09:14:18 +00:00
FormInclude.C Enable the user to input "file names with spaces" only if LaTeX can 2005-05-16 09:14:18 +00:00
FormInclude.h Enable the user to input "file names with spaces" only if LaTeX can 2005-05-16 09:14:18 +00:00
FormLog.C change "support/std_sstream.h" to <sstream> 2004-07-24 10:55:30 +00:00
FormLog.h Consistent use of preprocessor guards; 2005-04-26 10:30:24 +00:00
FormMathsBitmap.C fix xforms math panel (bug 1214) 2004-12-16 15:35:17 +00:00
FormMathsBitmap.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormMathsDelim.C Implement GUI for fixed size math delimiters (by Enrico Forestieri and me): 2006-05-07 10:51:19 +00:00
FormMathsDelim.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormMathsMatrix.C change "support/std_sstream.h" to <sstream> 2004-07-24 10:55:30 +00:00
FormMathsMatrix.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormMathsPanel.C Remove the images directory 2006-04-08 11:33:26 +00:00
FormMathsPanel.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormMathsSpace.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormMathsSpace.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormMathsStyle.C rename LFUN enum values according to their command (as used in th minibuffer/bind files 2006-05-05 20:23:12 +00:00
FormMathsStyle.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormNote.C Add support for framed.sty 2006-06-03 16:46:27 +00:00
FormNote.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormParagraph.C Squash compiler warnings. 2005-10-05 08:41:28 +00:00
FormParagraph.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormPreamble.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormPreamble.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormPreferences.C Change the semantics of 'none' and 'auto' viewers/editors: 'none' means now 2006-05-25 11:57:22 +00:00
FormPreferences.h Store colors as rgb values in branches. 2006-03-23 20:04:05 +00:00
FormPrint.C the convert patch 2005-01-27 21:05:44 +00:00
FormPrint.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormRef.C Make the Qt Alert boxes recognize their parent. 2005-05-12 22:37:43 +00:00
FormRef.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
forms_fwd.h
forms_gettext.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
forms_gettext.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormSearch.C Squash a bug spotted by Udo M��ller in the XForms find & replace dialog. 2005-07-22 16:51:54 +00:00
FormSearch.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormSendto.C Michael Schmitt's harmonization of translations. 2005-05-05 11:07:45 +00:00
FormSendto.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormShowFile.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormShowFile.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormSpellchecker.C Ensure that the grammar used to invoke the spellchecker is consistent. 2005-09-08 09:20:16 +00:00
FormSpellchecker.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormTabular.C Whitespace cleanup. 2006-04-05 23:56:29 +00:00
FormTabular.h use better index types for tabular rows, columns and cells than int 2004-12-03 13:57:50 +00:00
FormTabularCreate.C use better index types for tabular rows, columns and cells than int 2004-12-03 13:57:50 +00:00
FormTabularCreate.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormTexinfo.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
FormTexinfo.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormText.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormText.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormThesaurus.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormThesaurus.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormToc.C Fix bug 2038 for all three frontends (gtk untested) 2005-10-02 16:35:56 +00:00
FormToc.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormUrl.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormUrl.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormVSpace.C Squash compiler warnings. 2005-10-05 08:41:28 +00:00
FormVSpace.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
FormWrap.C rename tostr.[Ch] to convert.[Ch] 2005-01-06 16:39:35 +00:00
FormWrap.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
freebrowser.c cure a few more warnings 2005-01-03 12:51:26 +00:00
freebrowser.h
globbing.C Move support/globbing.[Ch] to xforms/globbing.[Ch]. 2005-04-25 11:09:53 +00:00
globbing.h Move support/globbing.[Ch] to xforms/globbing.[Ch]. 2005-04-25 11:09:53 +00:00
input_validators.C get rid of broken_header.h and some unneeded tests 2004-11-30 09:21:12 +00:00
input_validators.h
LayoutEngine.C Consistent use of preprocessor guards; 2005-04-26 10:30:24 +00:00
LayoutEngine.h Make us satisfy concept checks 2004-11-16 20:41:38 +00:00
lyx_forms.h.in
lyx_gui.C Fix crash on exit (bug 2549) by correct usage of QApplication 2006-06-07 20:08:37 +00:00
lyx_xpm.h.in
LyXKeySymFactory.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
LyXScreenFactory.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
Makefile.am Remove the images directory 2006-04-08 11:33:26 +00:00
pch.h improve link trick and remove some duplicates 2005-01-05 15:35:42 +00:00
RadioButtonGroup.C * translator.h: use bind, equal_to instead of equal_1st_in_pair 2004-11-06 16:42:30 +00:00
RadioButtonGroup.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
Tooltips.C Use the preferred calling for Boost.Signal 2004-09-26 14:19:47 +00:00
Tooltips.h Use the preferred calling for Boost.Signal 2004-09-26 14:19:47 +00:00
WorkAreaFactory.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
xfont_loader.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
xfont_loader.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
xfont_metrics.C stylistic changes 2005-07-16 11:58:12 +00:00
xfont_metrics.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
xforms_helpers.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
xforms_helpers.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
xforms_resize.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
xforms_resize.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
xformsBC.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
xformsBC.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
xformsImage.C Store colors as rgb values in branches. 2006-03-23 20:04:05 +00:00
xformsImage.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
XFormsMenubar.C rename tostr.[Ch] to convert.[Ch] 2005-01-06 16:39:35 +00:00
XFormsMenubar.h Make us satisfy concept checks 2004-11-16 20:41:38 +00:00
xformsTimeout.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
xformsTimeout.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
XFormsToolbar.C Make us satisfy concept checks 2004-11-16 20:41:38 +00:00
XFormsToolbar.h Make us satisfy concept checks 2004-11-16 20:41:38 +00:00
XFormsView.C rename LFUN enum values according to their command (as used in th minibuffer/bind files 2006-05-05 20:23:12 +00:00
XFormsView.h 2006-04-06 Bo Peng <ben.bob@gmail.com> 2006-04-05 22:56:18 +00:00
XLyXKeySym.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
XLyXKeySym.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
XMiniBuffer.C Make us satisfy concept checks 2004-11-16 20:41:38 +00:00
XMiniBuffer.h Make us satisfy concept checks 2004-11-16 20:41:38 +00:00
XPainter.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
XPainter.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
xscreen.C This patch removes qscreen.[Ch] and simplify the cursor drawing on screen. Basically, we paint now only if needed. So there's no need anymore to handle the "no cursor" pixmap saving. 2006-06-02 12:01:28 +00:00
xscreen.h This patch removes qscreen.[Ch] and simplify the cursor drawing on screen. Basically, we paint now only if needed. So there's no need anymore to handle the "no cursor" pixmap saving. 2006-06-02 12:01:28 +00:00
XWorkArea.C * frontends/WorkArea.h(workAreaResize, scrollDocView, workAreaKeyPress, 2006-04-13 18:58:48 +00:00
XWorkArea.h * frontends/WorkArea.h(workAreaResize, scrollDocView, workAreaKeyPress, 2006-04-13 18:58:48 +00:00