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:
Abdelrazak Younes 2010-02-18 07:56:38 +00:00
parent 0a746b64f6
commit 8613f66a1d
6 changed files with 12 additions and 12 deletions

View File

@ -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;
//@}

View File

@ -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;
//@}

View File

@ -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;
//@}

View File

@ -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;
//@}

View File

@ -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;
//@}

View File

@ -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;
///