]> 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 728bdd7985da79e29b0832160ce3a0d16dfb3257..b98789eff5a8b161c0dcc34961231b473790b017 100644 (file)
@@ -4,13 +4,13 @@
  *
  *           LyX, The Document Processor
  *      
- *         Copyright (C) 1995 Matthias Ettrich
- *                        1996-1998 LyX Team
+ *           Copyright 1995 Matthias Ettrich
+ *           Copyright 1996-2000 LyX Team
  * 
- *======================================================*/
+ * ====================================================== */
 
-#ifndef _INSET_LOT_H
-#define _INSET_LOT_H
+#ifndef INSET_LOT_H
+#define INSET_LOT_H
 
 #ifdef __GNUG__
 #pragma interface
 
 /** 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); }
        ///
-       LString 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:
        ///
-       Buffer *owner;
+       Buffer * owner;
 };
 
 #endif