LyXView: remove closeBuffer() and closeBufferAll() pure virtual interfaces

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31407 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2009-09-19 16:14:03 +00:00
parent 4c8ac30d18
commit 3f15969746
2 changed files with 4 additions and 6 deletions

View File

@ -66,10 +66,6 @@ public:
/// set a buffer to the current workarea.
virtual void setBuffer(Buffer * b) = 0; ///< \c Buffer to set.
///
virtual bool closeBuffer() = 0;
///
virtual bool closeBufferAll() = 0;
///
virtual bool hasFocus() const = 0;
/// load a document into the current workarea.

View File

@ -71,8 +71,6 @@ public:
BufferView * documentBufferView();
BufferView const * documentBufferView() const;
void setBuffer(Buffer * b);
bool closeBuffer();
bool closeBufferAll();
bool hasFocus() const;
Buffer * loadDocument(support::FileName const & name,
bool tolastfiles = true);
@ -173,6 +171,10 @@ private Q_SLOTS:
void bigSizedIcons();
private:
/// Close current document buffer.
bool closeBuffer();
/// Close all document buffers.
bool closeBufferAll();
///
TabWorkArea * addTabWorkArea();