]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetlof.h
pos=string::npos for regex not found, use handcoded transform in lstring.C, fix the...
[lyx.git] / src / insets / insetlof.h
index f091565bc5fd6ca9297d0775b25233be7b6ea9dd..ee95d46c394186cb010528e8725177c156c45337 100644 (file)
 
 /** Used to insert table of contents
  */
-class InsetLOF: public InsetCommand {
+class InsetLOF : public InsetCommand {
 public:
        ///
-       InsetLOF(): InsetCommand("listoffigures") {}
+       InsetLOF() : InsetCommand("listoffigures") {}
        ///
-       InsetLOF(Buffer * b): InsetCommand("listoffigures"), owner(b) {}
+       InsetLOF(Buffer * b) : InsetCommand("listoffigures"), owner(b) {}
         ///
-        Inset * Clone() { return new InsetLOF(owner); }
+        Inset * Clone() const { return new InsetLOF(owner); }
        ///
        string getScreenLabel() const { return _("List of Figures"); }
         
-       //void Edit(int, int);
         ///
        unsigned char Editable() const {
                return 0; // not yet
        }
        ///
-       bool Display() const { return true; }
+       bool display() const { return true; }
        ///
        Inset::Code LyxCode() const { return Inset::LOF_CODE; }
 private: