]> git.lyx.org Git - features.git/commitdiff
Dissect closeBufferAll and closeTabWorkArea. Unfortunately, I have two pass ugly...
authorVincent van Ravesteijn <vfr@lyx.org>
Tue, 18 Aug 2009 19:05:04 +0000 (19:05 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Tue, 18 Aug 2009 19:05:04 +0000 (19:05 +0000)
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

index 234e50a08df5ba8e91aa5fbf3d4ca0f37924d1a3..140d494b7fc0ea680cce592d1a2a36571707bf44 100644 (file)
@@ -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.