#include "support/strfwd.h"
-#include <QList>
#include <QString>
class QWidget;
* We should aim to reduce/remove these from the interface.
*/
//@{
- GuiView const & lyxview() const { return *lyxview_; }
+ GuiView const & lyxview() const { return lyxview_; }
/// Current buffer
Buffer const & buffer() const;
/// Main document buffer
void setTitle(QString const & title) { title_ = title; }
///
virtual void apply();
+ /// To be called when the buffer view has changed
+ virtual void onBufferViewChanged() = 0;
private:
/** The Dialog's name is the means by which a dialog identifies
///
QString title_;
///
- GuiView * lyxview_;
+ GuiView & lyxview_;
/// intentionally unimplemented, therefore uncopiable
Dialog(Dialog const &);