InsetGraphics: add a layoutName method

Now when using inset-forall, "Graphics" can be used
to refer to all Graphics insets.
This commit is contained in:
Scott Kostyshak 2013-03-22 15:09:59 -04:00
parent dc69cd25ba
commit 8831e4a11f

View File

@ -86,6 +86,8 @@ private:
void validate(LaTeXFeatures & features) const;
/// returns LyX code associated with the inset. Used for TOC, ...)
InsetCode lyxCode() const { return GRAPHICS_CODE; }
///
docstring layoutName() const { return from_ascii("Graphics"); }
/// Get the inset parameters, used by the GUIndependent dialog.
InsetGraphicsParams const & params() const;
///