From: Richard Heck Date: Tue, 23 Oct 2007 15:58:10 +0000 (+0000) Subject: Some comments and cosmetics. X-Git-Tag: 1.6.10~7702 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=85bad159fe5235da2d1cdf46563fdc89f8da99a4;p=lyx.git Some comments and cosmetics. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21151 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiInclude.h b/src/frontends/qt4/GuiInclude.h index 8230860dd1..3f46796e26 100644 --- a/src/frontends/qt4/GuiInclude.h +++ b/src/frontends/qt4/GuiInclude.h @@ -25,6 +25,8 @@ namespace lyx { namespace frontend { +//FIXME This could, and therefore probably should, inherit from +//GuiCommand. class GuiInclude : public GuiDialog, public Ui::IncludeUi { Q_OBJECT diff --git a/src/frontends/qt4/GuiRef.cpp b/src/frontends/qt4/GuiRef.cpp index 1bb852685a..6de11331ef 100644 --- a/src/frontends/qt4/GuiRef.cpp +++ b/src/frontends/qt4/GuiRef.cpp @@ -42,9 +42,6 @@ namespace frontend { using support::makeAbsPath; using support::makeDisplayPath; -//FIXME It should be possible to eliminate lfun_name_ -//now and recover that information from params().insetType(). -//But let's not do that quite yet. /// Flags what action is taken by Kernel::dispatch() static std::string const lfun_name_ = "ref"; diff --git a/src/frontends/qt4/GuiRef.h b/src/frontends/qt4/GuiRef.h index c7945f3af4..96285e3640 100644 --- a/src/frontends/qt4/GuiRef.h +++ b/src/frontends/qt4/GuiRef.h @@ -24,6 +24,9 @@ class QListWidgetItem; namespace lyx { namespace frontend { +// FIXME This could, and therefore, should inherit from +// GuiCommand. Note, e.g., that the definitions of the first +// three private functions all just replicate what's there. class GuiRef : public GuiDialog, public Ui::RefUi { Q_OBJECT