+ /// Dialog inherited methods
+ //@{
+ void applyView();
+ void updateView() {}
+ bool initialiseParams(std::string const & data);
+ void clearParams();
+ void dispatchParams();
+ bool isBufferDependent() const { return true; }
+ void saveSession() const;
+ void restoreSession();
+ /** Disconnect from the inset when the Apply button is pressed.
+ * Allows easy insertion of multiple citations.
+ */
+ bool disconnectOnApply() const { return true; }
+ //@}
+
+ ///
+ void showEvent(QShowEvent * e);
+ ///
+ void closeEvent(QCloseEvent * e);
+ /// prepares a call to GuiCitation::searchKeys when we
+ /// are ready to search the BibTeX entries
+ void findText(QString const & text, bool reset = false);
+ /// check whether key is already selected
+ bool isSelected(const QModelIndex &);
+ /// update the display of BibTeX information
+ void updateInfo(BiblioInfo const & bi, QModelIndex const &);