]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QCitation.h
Some string(widget->text()) fixes. Weirdness
[lyx.git] / src / frontends / qt2 / QCitation.h
index a350cc41d651a3720d338791c4eda99ca0aba116..101f92655789e899b6ad61252e1e7d6948396d33 100644 (file)
@@ -1,11 +1,13 @@
 // -*- C++ -*-
 /**
  * \file QCitation.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Angus Leeming <a.leeming@ic.ac.uk>
- * \author Kalle Dalheimer <kalle@klaralvdalens-datakonsult.se>
+ * \author Angus Leeming
+ * \author Kalle Dalheimer
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef QCITATION_H
 #pragma interface
 #endif
 
-class QListBox;
-
 #include "Qt2Base.h"
 
+class QListBox;
 class ControlCitation;
 class QCitationDialog;
 
-class QCitation : public Qt2CB<ControlCitation, Qt2DB<QCitationDialog> > {
-       friend class QCitationDialog;
-    
+
+class QCitation
+       : public Qt2CB<ControlCitation, Qt2DB<QCitationDialog> >
+{
 public:
+       friend class QCitationDialog;
        ///
-       QCitation(ControlCitation &);
-
+       QCitation();
 private:
        ///
        enum State {
@@ -41,13 +43,19 @@ private:
        /// Set the Params variable for the Controller.
        virtual void apply();
        /// Build the dialog.
-       virtual void build();
+       virtual void build_dialog();
        /// Hide the dialog.
        virtual void hide();
        /// Update dialog before/whilst showing it.
-       virtual void update();
+       virtual void update_contents();
+
+       /// fill the styles combo
+       void fillStyles();
+
+       /// set the styles combo
+       void updateStyle();
 
-       void updateBrowser(QListBox*, std::vector<string> const &) const;
+       void updateBrowser(QListBox *, std::vector<string> const &) const;
        ///
        void setBibButtons(State) const;
        ///