///
virtual void apply();
/// To be called when the buffer view has changed
- virtual void on_bufferViewChanged() = 0;
+ virtual void onBufferViewChanged() = 0;
private:
/** The Dialog's name is the means by which a dialog identifies
: QDialog(&lv), Dialog(lv, name, "LyX: " + title)
{
connect(&lv, SIGNAL(bufferViewChanged()),
- this, SLOT(on_bufferViewChanged()));
+ this, SLOT(onBufferViewChanged()));
// remove question marks from Windows dialogs
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
void hideEvent(QHideEvent * ev);
protected Q_SLOTS:
- void on_bufferViewChanged() {};
+ void onBufferViewChanged() {};
};
} // namespace frontend
parent.addDockWidget(area, this);
hide();
connect(&parent, SIGNAL(bufferViewChanged()),
- this, SLOT(on_bufferViewChanged()));
+ this, SLOT(onBufferViewChanged()));
}
//@}
protected Q_SLOTS:
- void on_bufferViewChanged() {} //override
+ void onBufferViewChanged() {} //override
};
} // frontend
is_closing_(false)
{
connect(&lv, SIGNAL(bufferViewChanged()),
- this, SLOT(on_bufferViewChanged()));
+ this, SLOT(onBufferViewChanged()));
// remove question marks from Windows dialogs
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
void closeEvent(QCloseEvent * e);
protected Q_SLOTS:
- void on_bufferViewChanged() {};//override
+ void onBufferViewChanged() {};//override
public:
/** Check whether we may apply our data.
}
-void GuiDocument::on_bufferViewChanged()
+void GuiDocument::onBufferViewChanged()
{
if (isVisibleView())
initialiseParams("");
BufferParams const & params() const { return bp_; }
public Q_SLOTS:
- void on_bufferViewChanged();//override
+ void onBufferViewChanged();//override
private Q_SLOTS:
void updateNumbering();
command_execute_(false), minibuffer_focus_(false)
{
connect(this, SIGNAL(bufferViewChanged()),
- this, SLOT(on_bufferViewChanged()));
+ this, SLOT(onBufferViewChanged()));
// GuiToolbars *must* be initialised before the menu bar.
normalSizedIcons(); // at least on Mac the default is 32 otherwise, which is huge
}
-void GuiView::on_bufferViewChanged()
+void GuiView::onBufferViewChanged()
{
structureChanged();
// Buffer-dependent dialogs must be updated. This is done here because
///
void on_currentWorkAreaChanged(GuiWorkArea *);
///
- void on_bufferViewChanged();
+ void onBufferViewChanged();
///
void on_lastWorkAreaRemoved();
}
-void GuiViewSource::on_bufferViewChanged()
+void GuiViewSource::onBufferViewChanged()
{
widget_->setText();
widget_->setEnabled((bool)bufferview());
public Q_SLOTS:
///
- void on_bufferViewChanged();//override
+ void onBufferViewChanged();//override
private Q_SLOTS:
/// The title displayed by the dialog reflects source type.