]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetloa.h
pos=string::npos for regex not found, use handcoded transform in lstring.C, fix the...
[lyx.git] / src / insets / insetloa.h
index 3655d3ac1cb5bef1847b53b408d5af29d7f4e565..27757f4a00da0f6504d4a6c11584d92ce8807994 100644 (file)
 
 /** Used to insert table of algorithms
  */
-class InsetLOA: public InsetCommand {
+class InsetLOA : public InsetCommand {
 public:
        ///
-       InsetLOA(): InsetCommand("listofalgorithms") {}
+       InsetLOA() : InsetCommand("listofalgorithms") {}
        ///
-       InsetLOA(Buffer * b): InsetCommand("listofalgorithms"), owner(b) {}
+       InsetLOA(Buffer * b) : InsetCommand("listofalgorithms"), owner(b) {}
         ///
        void Validate(LaTeXFeatures & features) const;
         ///
-        Inset * Clone() { return new InsetLOA(owner); }
+        Inset * Clone() const { return new InsetLOA(owner); }
        ///
        string getScreenLabel() const { return _("List of Algorithms"); }
 
-       
-       //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::LOA_CODE; }
 private: