]> 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 50bda06fb00c12a70b9649eb579290dd6c985b09..7d58e12d726fc903119fade3302facb64a7f62b8 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file xforms/FormCitation.h
+ * \file FormCitation.h
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
 #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_citation;
 
-class FormCitation : public FormCB<ControlCitation, FormDB<FD_citation> > {
+class FormCitation : public FormController<ControlCitation, FormView<FD_citation> > {
 public:
        ///
-       FormCitation();
+       FormCitation(Dialog &);
 private:
        ///
        enum State {
@@ -58,9 +55,9 @@ private:
        ///
        void setCiteButtons(State) const;
 
-       ///
+       /// used keys (left panel)
        std::vector<string> citekeys;
-       ///
+       /// available keys (right panel)
        std::vector<string> bibkeys;
 };