mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
4c8ac30d18
commit
3f15969746
@ -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.
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user