]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiDocument.h
remove unneeded header and declaration
[lyx.git] / src / frontends / qt4 / GuiDocument.h
index 69067df6e7a7449f9809e0990b5e3f97b602b1c1..0bfbc1692e9512cd28562f49892729f0f30bc981 100644 (file)
@@ -120,7 +120,9 @@ private Q_SLOTS:
        void deleteNoteFontColor();
        void changeBoxBackgroundColor();
        void deleteBoxBackgroundColor();
+       void languageChanged(int);
        void osFontsChanged(bool);
+       void mathFontChanged(int);
        void branchesRename(docstring const &, docstring const &);
 private:
        /// validate listings parameters and return an error message, if any
@@ -174,8 +176,6 @@ private:
        ///
        void setLayoutComboByIDString(std::string const & idString);
 
-       /// available classes
-       GuiIdListModel classes_model_;
        /// available modules
        GuiIdListModel modules_av_model_;
        /// selected modules
@@ -227,14 +227,14 @@ private:
        void setLanguage() const;
        ///
        void saveAsDefault() const;
-       ///
-       bool isFontAvailable(std::string const & font) const;
        /// does this font provide Old Style figures?
-       bool providesOSF(std::string const & font) const;
+       bool providesOSF(QString const & font) const;
        /// does this font provide true Small Caps?
-       bool providesSC(std::string const & font) const;
+       bool providesSC(QString const & font) const;
        /// does this font provide size adjustment?
-       bool providesScale(std::string const & font) const;
+       bool providesScale(QString const & font) const;
+       /// does this font provide an alternative without math?
+       bool providesNoMath(QString const & font) const;
        ///
        void executeBranchRenaming() const;
        ///
@@ -245,6 +245,18 @@ private:
        ///
        void updateUnknownBranches();
        ///
+       void updateTexFonts();
+       ///
+       void updateMathFonts(QString const & rm);
+       ///
+       void updateFontOptions();
+       ///
+       bool ot1() const;
+       ///
+       bool completeFontset() const;
+       ///
+       bool noMathFont() const;
+       ///
        BufferParams bp_;
        /// List of names of available modules
        std::list<modInfoStruct> moduleNames_;
@@ -287,7 +299,7 @@ public:
        LocalLayout();
        void update(BufferParams const & params, BufferId id);
        void apply(BufferParams & params);
-       bool isValid() const { return is_valid_; }
+       bool isValid() const { return validated_; }
 
 Q_SIGNALS:
        /// signal that something's changed in the Widget.
@@ -303,7 +315,7 @@ private Q_SLOTS:
 
 private:
        BufferId current_id_;
-       bool is_valid_;
+       bool validated_;
 };