/// \name DialogView inherited methods
//@{
- InsetCode insetCode() { return FLOAT_CODE; }
- FuncCode creationCode() { return LFUN_FLOAT_INSERT; }
+ InsetCode insetCode() const { return FLOAT_CODE; }
+ FuncCode creationCode() const { return LFUN_FLOAT_INSERT; }
void paramsToDialog(Inset const *);
docstring dialogToParams() const;
//@}
private:
/// \name DialogView inherited methods
//@{
- InsetCode insetCode() { return BOX_CODE; }
- FuncCode creationCode() { return LFUN_BOX_INSERT; }
+ InsetCode insetCode() const { return BOX_CODE; }
+ FuncCode creationCode() const { return LFUN_BOX_INSERT; }
void paramsToDialog(Inset const *);
docstring dialogToParams() const;
//@}
private:
/// \name InsetParamsWidget inherited methods
//@{
- InsetCode insetCode() { return ERT_CODE; }
- FuncCode creationCode() { return LFUN_INSET_INSERT; }
+ InsetCode insetCode() const { return ERT_CODE; }
+ FuncCode creationCode() const { return LFUN_INSET_INSERT; }
void paramsToDialog(Inset const *);
docstring dialogToParams() const;
//@}
private:
/// \name InsetParamsWidget inherited methods
//@{
- InsetCode insetCode() { return INFO_CODE; }
- FuncCode creationCode() { return LFUN_INFO_INSERT; }
+ InsetCode insetCode() const { return INFO_CODE; }
+ FuncCode creationCode() const { return LFUN_INFO_INSERT; }
void paramsToDialog(Inset const *);
docstring dialogToParams() const;
//@}
private:
/// \name InsetParamsWidget inherited methods
//@{
- InsetCode insetCode() { return VSPACE_CODE; }
- FuncCode creationCode() { return LFUN_INSET_INSERT; }
+ InsetCode insetCode() const { return VSPACE_CODE; }
+ FuncCode creationCode() const { return LFUN_INSET_INSERT; }
void paramsToDialog(Inset const *);
docstring dialogToParams() const;
//@}
/// This is a base class; destructor must exist and be virtual.\r
virtual ~InsetParamsWidget() {}\r
///\r
- virtual InsetCode insetCode() = 0;\r
+ virtual InsetCode insetCode() const = 0;\r
///\r
- virtual FuncCode creationCode() = 0;\r
+ virtual FuncCode creationCode() const = 0;\r
///\r
virtual void paramsToDialog(Inset const *) = 0;\r
///\r