X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetlot.h;h=b98789eff5a8b161c0dcc34961231b473790b017;hb=3c8aba3b556871fb1100a2f98cd93d5d4e3f70c9;hp=e3fae9308ea5b86cfe506d407c950d0080b991c9;hpb=188833d864794c9c1ec42a8361b93aaa718874ea;p=lyx.git diff --git a/src/insets/insetlot.h b/src/insets/insetlot.h index e3fae9308e..b98789eff5 100644 --- a/src/insets/insetlot.h +++ b/src/insets/insetlot.h @@ -5,7 +5,7 @@ * LyX, The Document Processor * * Copyright 1995 Matthias Ettrich - * Copyright 1996-1999 LyX Team + * Copyright 1996-2000 LyX Team * * ====================================================== */ @@ -23,24 +23,24 @@ /** 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: