~GuiView();
- /// LyXView inherited methods.
- ///@{
- int id() const { return id_; };
+ /// \name LyXView inherited methods.
+ //@{
+ int id() const { return id_; }
void setBusy(bool);
BufferView * currentBufferView();
BufferView const * currentBufferView() const;
void updateMessage(QString const & str);
bool getStatus(FuncRequest const & cmd, FuncStatus & flag);
- bool dispatch(FuncRequest const & cmd);
+ void dispatch(FuncRequest const & cmd, DispatchResult & dr);
void restartCursor();
void updateCompletion(Cursor & cur, bool start, bool keep);
void setFocus();
- ///@}
+ //@}
+ ///
+ void focusInEvent(QFocusEvent * e);
/// set a buffer to the current workarea.
void setBuffer(Buffer * b); ///< \c Buffer to set.
///
void importDocument(std::string const &);
- /// GuiBufferDelegate.
- ///@{
+ /// \name GuiBufferDelegate.
+ //@{
void resetAutosaveTimers();
void errors(std::string const &, bool from_master = false);
void structureChanged();
void updateTocItem(std::string const &, DocIterator const &);
- ///@}
+ //@}
///
TocModels & tocModels();
///
void disconnectDialog(std::string const & name);
- /// Find or create buffer view and WorkArea for supplied document
- /// buffer and make it current.
- void selectDocumentBuffer(Buffer const * p_buf);
-
private:
///
void saveLayout() const;
Dialog * build(std::string const & name);
///
void reloadBuffer();
- void reloadBuffer(Buffer * buf);
///
void dispatchVC(FuncRequest const & cmd);
///