]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiBibitem.h
Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got every...
[lyx.git] / src / frontends / qt4 / GuiBibitem.h
index c46c0d9533f0886965ecf52edd03c28ceac50a18..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() const;
-
 private:
        ///
        bool isValid();
        /// Apply changes
        void applyView();
        /// update
-       void update_contents();
+       void updateContents();
 };
 
 } // namespace frontend