int id() const { return id_; }
- ///
- void setBusy(bool);
/// are we busy ?
bool busy() const;
- void saveCursorShapes();
- void restoreCursorShapes();
- void setCursorShapes(Qt::CursorShape shape);
/// \name Generic accessor functions
//@{
void triggerShowDialog(QString const & qname, QString const & qdata, Inset * inset);
public Q_SLOTS:
+ ///
+ void setBusy(bool);
/// idle timeout.
/// clear any temporary message and replace with current status.
void clearMessage();
/// For completion of autosave or export threads.
void processingThreadStarted();
void processingThreadFinished();
- void indicateProcessing();
+ void autoSaveThreadFinished();
/// must be called in GUI thread
void doShowDialog(QString const & qname, QString const & qdata,
void disconnectDialog(std::string const & name);
private:
- ///
+ /// Saves the layout and geometry of the window
void saveLayout() const;
+ /// Saves the settings of toolbars and all dialogs
+ void saveUISettings() const;
///
bool restoreLayout();
///
///
void insertPlaintextFile(docstring const & fname,
bool asParagraph);
+ ///
+ bool exportBufferAs(Buffer & b);
/// Save a buffer as a new file.
/**
/// is the buffer in this workarea also shown in another tab ?
/// This tab can either be in the same view or in another one.
bool inMultiTabs(GuiWorkArea * wa);
- /// is the buffer in this workarea also shown in another view ?
- bool inMultiViews(GuiWorkArea * wa);
+ /// is the buffer shown in some other view ?
+ bool inOtherView(Buffer & buf);
///
enum NextOrPrevious {
NEXTBUFFER,
///
void dispatchVC(FuncRequest const & cmd, DispatchResult & dr);
///
+ void dispatchToBufferView(FuncRequest const & cmd, DispatchResult & dr);
+ ///
void showMessage();
/// This view ID.