namespace lyx {
namespace frontend {
-class GuiBibitem : public GuiCommand, public Ui::BibitemUi
+class GuiBibitem : public GuiDialog, public Ui::BibitemUi
{
Q_OBJECT
public:
- GuiBibitem(LyXView & lv);
+ /// Constructor
+ GuiBibitem(GuiView & lv);
private Q_SLOTS:
void change_adaptor();
-private:
- ///
- void closeEvent(QCloseEvent * e);
-
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