]> 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 248337f71432a25ca89a6b0a69bfb748e706ca0c..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> > 
+
+class QCitation
+       : public Qt2CB<ControlCitation, Qt2DB<QCitationDialog> >
 {
-       friend class QCitationDialog;
-    
 public:
+       friend class QCitationDialog;
        ///
-       QCitation(ControlCitation &);
-
+       QCitation();
 private:
        ///
        enum State {
@@ -48,6 +49,12 @@ private:
        /// Update dialog before/whilst showing it.
        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 setBibButtons(State) const;