From c694bbe6ea31cb9b32a24a1b07ceb10b114eda0b Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Tue, 18 Aug 2009 19:05:04 +0000 Subject: [PATCH] Dissect closeBufferAll and closeTabWorkArea. Unfortunately, I have two pass ugly parameters. Forgot this one of course. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31123 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiView.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frontends/qt4/GuiView.h b/src/frontends/qt4/GuiView.h index 234e50a08d..140d494b7f 100644 --- a/src/frontends/qt4/GuiView.h +++ b/src/frontends/qt4/GuiView.h @@ -300,6 +300,9 @@ private: /// bool closeWorkArea(GuiWorkArea * wa, bool close_buffer, bool in_close_event = false, bool mark_active = false); + /// closes the tabworkarea and all tabs. + bool closeTabWorkArea(TabWorkArea * twa, bool in_close_event = false, + GuiWorkArea * main_work_area = 0); /// gives the user the possibility to save his work /// or to discard the changes. If hiding is true, the /// document will be reloaded. -- 2.39.5