mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
InsetParamsWidget(): fix method constness.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33493 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0a746b64f6
commit
8613f66a1d
@ -33,8 +33,8 @@ public:
|
||||
|
||||
/// \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;
|
||||
//@}
|
||||
|
@ -37,8 +37,8 @@ private Q_SLOTS:
|
||||
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;
|
||||
//@}
|
||||
|
@ -28,8 +28,8 @@ public:
|
||||
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;
|
||||
//@}
|
||||
|
@ -31,8 +31,8 @@ public:
|
||||
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;
|
||||
//@}
|
||||
|
@ -35,8 +35,8 @@ private Q_SLOTS:
|
||||
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;
|
||||
//@}
|
||||
|
@ -58,9 +58,9 @@ public:
|
||||
/// This is a base class; destructor must exist and be virtual.
|
||||
virtual ~InsetParamsWidget() {}
|
||||
///
|
||||
virtual InsetCode insetCode() = 0;
|
||||
virtual InsetCode insetCode() const = 0;
|
||||
///
|
||||
virtual FuncCode creationCode() = 0;
|
||||
virtual FuncCode creationCode() const = 0;
|
||||
///
|
||||
virtual void paramsToDialog(Inset const *) = 0;
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user