X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetlot.h;h=b98789eff5a8b161c0dcc34961231b473790b017;hb=3c8aba3b556871fb1100a2f98cd93d5d4e3f70c9;hp=728bdd7985da79e29b0832160ce3a0d16dfb3257;hpb=27de1486ca34aaad446adb798d71a77d6f6304da;p=lyx.git diff --git a/src/insets/insetlot.h b/src/insets/insetlot.h index 728bdd7985..b98789eff5 100644 --- a/src/insets/insetlot.h +++ b/src/insets/insetlot.h @@ -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 @@ -23,29 +23,29 @@ /** 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