]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetlot.h
clear()->erase() ; lots of using directives for cxx
[lyx.git] / src / insets / insetlot.h
index edc7bd78fa26ad1c5af931dc7fc37fbb6517c227..b98789eff5a8b161c0dcc34961231b473790b017 100644 (file)
@@ -5,9 +5,9 @@
  *           LyX, The Document Processor
  *      
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1996-1999 LyX Team
+ *           Copyright 1996-2000 LyX Team
  * 
- *======================================================*/
+ * ====================================================== */
 
 #ifndef INSET_LOT_H
 #define INSET_LOT_H
 
 /** Used to insert table of contents
  */
-class InsetLOT: public InsetCommand {
+class InsetLOT : public InsetCommand {
 public:
        ///
-       InsetLOT(): InsetCommand("listoftables") {}
+       InsetLOT() : InsetCommand("listoftables") {}
        ///
-       InsetLOT(Buffer * b): InsetCommand("listoftables"), owner(b) {}
+       explicit
+       InsetLOT(Buffer * b) : InsetCommand("listoftables"), owner(b) {}
         ///
-        Inset * Clone() { return new InsetLOT(owner); }
+        Inset * Clone() const { return new InsetLOT(owner); }
        ///
-       string getScreenLabel() const { return _("List of Tables"); }
+       string getScreenLabel() const;
         
-       //void Edit(int, int);
         ///
-       unsigned char Editable() const {
-               return 0; // not yet
+       EDITABLE Editable() const {
+               return NOT_EDITABLE; // not yet
        }
        ///
-       bool Display() const { return true; }
+       bool display() const { return true; }
        ///
        Inset::Code LyxCode() const { return Inset::LOT_CODE; }
 private: