]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormCitation.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormCitation.h
index 6685baa2f137bc9fdd1a3fb0ce3a65685c5a1270..7d58e12d726fc903119fade3302facb64a7f62b8 100644 (file)
@@ -1,37 +1,30 @@
 // -*- C++ -*-
-/* This file is part of
- * ====================================================== 
- *
- *           LyX, The Document Processor
- *
- *           Copyright 2000-2001 The LyX Team.
+/**
+ * \file FormCitation.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * ======================================================
+ * \author Angus Leeming
  *
- * \file FormCitation.h
- * \author Angus Leeming <a.leeming@ic.ac.uk>
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef FORMCITATION_H
 #define FORMCITATION_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
-#include "FormBase.h"
+#include "FormDialogView.h"
 #include "biblio.h"
 
 /** This class provides an XForms implementation of the Citation Dialog.
  */
 class ControlCitation;
-struct FD_form_citation;
+struct FD_citation;
 
-class FormCitation : public FormCB<ControlCitation, FormDB<FD_form_citation> > {
+class FormCitation : public FormController<ControlCitation, FormView<FD_citation> > {
 public:
        ///
-       FormCitation(ControlCitation &);
-
+       FormCitation(Dialog &);
 private:
        ///
        enum State {
@@ -51,13 +44,6 @@ private:
        virtual void update();
        /// Filter the inputs on callback from xforms
        virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
-       /// tooltips
-       string const getMinimalTooltip(FL_OBJECT *) const;
-       ///
-       string const getVerboseTooltip(FL_OBJECT *) const;
-
-       /// Fdesign generated method
-       FD_form_citation * build_citation();
 
        /// search for a citation
        void findBiblio(biblio::Direction const dir);
@@ -69,9 +55,9 @@ private:
        ///
        void setCiteButtons(State) const;
 
-       ///
+       /// used keys (left panel)
        std::vector<string> citekeys;
-       ///
+       /// available keys (right panel)
        std::vector<string> bibkeys;
 };