#include "GuiDialog.h"
#include "ui_BibitemUi.h"
-#include "controllers/Dialog.h"
-
#include "insets/InsetCommandParams.h"
namespace lyx {
namespace frontend {
-class GuiBibitem : public GuiDialog, public Ui::BibitemUi, public Controller
+class GuiBibitem : public GuiCommand, public Ui::BibitemUi
{
Q_OBJECT
public:
- GuiBibitem(LyXView & lv);
+ GuiBibitem(GuiView & lv);
private Q_SLOTS:
void change_adaptor();
-private:
- ///
- void closeEvent(QCloseEvent * e);
- /// parent controller
- Controller & controller() { return *this; }
-
private:
///
bool isValid();
void applyView();
/// update
void updateContents();
- ///
- bool initialiseParams(std::string const & data);
- /// clean-up on hide.
- void clearParams() { params_.clear(); }
- /// clean-up on hide.
- void dispatchParams();
- ///
- bool isBufferDependent() const { return true; }
-
-private:
- ///
- InsetCommandParams params_;
};
} // namespace frontend