]> git.lyx.org Git - features.git/commit
Restructure processFuncRequest* function family:
authorVincent van Ravesteijn <vfr@lyx.org>
Fri, 22 Oct 2010 18:08:21 +0000 (18:08 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Fri, 22 Oct 2010 18:08:21 +0000 (18:08 +0000)
commit56bce65dd0501897c54488327d6b66c0077270ab
treed7790ebbc4134d3f57dc747348cbde455a9286c3
parentc497d0efe2b22d6f0aa1a5f1942a985d54960b0c
Restructure processFuncRequest* function family:

- move a comment back from to GuiApplication to GuiView.cpp, so we have the comment in the place where we decide to process the func request asynchronously;

- rename dispatchDelayed to processFuncRequestAsync to have the same terminology as in the other processFuncRequest* methods;

- introduce a new function processFuncRequest to complete the set of processFuncRequest* methods. It is strange that for the normal processFuncRequest one should suddenly use lyx::dispatch. Besides, I think it is good that the whole GUI will dispatch funcRequests through GuiApplication::processFuncRequest from now on;

- use the slotProcessFuncRequestQueue to relay to processFuncRequestQueue;

- properly camelBump addToFuncRequestQueue;

- group the implementation of the processFuncRequest* functions;

- document the side-effect of processFuncRequestAsync.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35784 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/GuiApplication.cpp
src/frontends/qt4/GuiApplication.h
src/frontends/qt4/GuiView.cpp