]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiBibitem.h
do what the FIXME suggested
[lyx.git] / src / frontends / qt4 / GuiBibitem.h
index 671021a130515bf3759268534065ab0e56199a35..8d7ea4faa666f9dcfbbfd0c0be00b044accbda99 100644 (file)
@@ -4,6 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
+ * \author Angus Leeming
  * \author John Levon
  *
  * Full author contact details are available in file CREDITS.
 #define GUIBIBITEM_H
 
 #include "GuiDialog.h"
-#include "ControlCommand.h"
 #include "ui_BibitemUi.h"
 
+#include "insets/InsetCommandParams.h"
+
 namespace lyx {
 namespace frontend {
 
-class GuiBibitemDialog : public GuiDialog, public Ui::BibitemUi
+class GuiBibitem : public GuiCommand, public Ui::BibitemUi
 {
        Q_OBJECT
 
 public:
-       GuiBibitemDialog(LyXView & lv);
+       GuiBibitem(GuiView & lv);
 
 private Q_SLOTS:
        void change_adaptor();
 
-private:
-       ///
-       void closeEvent(QCloseEvent * e);
-       /// parent controller
-       ControlCommand & controller();
-
 private:
        ///
        bool isValid();