]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QCharacter.h
better selection and scrolling behaviour
[lyx.git] / src / frontends / qt2 / QCharacter.h
index ec23cc4f28ae0d3e9a978c6bc9ed81ce16f1f589..4bb83ce8a50ac85bc4e044c76c81d12b6ae7644d 100644 (file)
@@ -1,50 +1,57 @@
 // -*- C++ -*-
 /**
  * \file QCharacter.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 Edwin Leuven, leuven@fee.uva.nl
- * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author Edwin Leuven
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef QCHARACTER_H
 #define QCHARACTER_H
 
-#include <config.h>
-#include <vector>
-#include "LString.h" 
+#ifdef __GNUG__
+#pragma interface
+#endif
+
 #include "Qt2Base.h"
-#include "controllers/character.h" 
+#include "controllers/character.h"
+#include "controllers/frnt_lang.h"
+
+#include "LString.h"
+
+#include <vector>
+
 
 class ControlCharacter;
 class QCharacterDialog;
 
-class QCharacter :
-       public Qt2CB<ControlCharacter, Qt2DB<QCharacterDialog> > 
+
+class QCharacter
+       : public Qt2CB<ControlCharacter, Qt2DB<QCharacterDialog> >
 {
+public:
        friend class QCharacterDialog;
-public: 
-       QCharacter(ControlCharacter &);
 
-private: 
+       QCharacter();
+private:
        /// Apply changes
        virtual void apply();
        /// update
        virtual void update_contents();
        /// build the dialog
        virtual void build_dialog();
-       std::vector<character::FamilyPair> family;
-       std::vector<character::SeriesPair> series;
-       std::vector<character::ShapePair>  shape;
-       std::vector<character::SizePair>   size;
-       std::vector<character::BarPair>    bar;
-       std::vector<character::ColorPair>  color;
-       std::vector<string> language;
+
+       std::vector<frnt::FamilyPair> family;
+       std::vector<frnt::SeriesPair> series;
+       std::vector<frnt::ShapePair>  shape;
+       std::vector<frnt::SizePair>   size;
+       std::vector<frnt::BarPair>    bar;
+       std::vector<frnt::ColorPair>  color;
+       std::vector<frnt::LanguagePair> language;
 };
 
 #endif // QCHARACTER_H