]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiDocument.h
Use QFontMetrics information for underlines (and friends) width and position
[lyx.git] / src / frontends / qt4 / GuiDocument.h
index 4c8d1cf8578ebe6af35267386af5f8ca2440884a..c35aec3323f645ee309ea5def04c88103fc77a40 100644 (file)
@@ -13,8 +13,6 @@
 #ifndef GUIDOCUMENT_H
 #define GUIDOCUMENT_H
 
-#include <QDialog>
-
 #include "BufferParams.h"
 #include "BulletsModule.h"
 #include "GuiDialog.h"
@@ -107,6 +105,7 @@ private Q_SLOTS:
        void browseLayout();
        void browseMaster();
        void classChanged();
+       void classChanged_adaptor();
        void languagePackageChanged(int);
        void biblioChanged();
        void bibtexChanged(int);
@@ -126,6 +125,9 @@ private Q_SLOTS:
        void osFontsChanged(bool);
        void mathFontChanged(int);
        void branchesRename(docstring const &, docstring const &);
+       void allPackagesAuto();
+       void allPackagesAlways();
+       void allPackagesNot();
 private:
        /// validate listings parameters and return an error message, if any
        QString validateListingsParameters();
@@ -182,8 +184,6 @@ private:
        GuiIdListModel modules_av_model_;
        /// selected modules
        GuiIdListModel modules_sel_model_;
-       /// current buffer
-       BufferId current_id_;
 
        /// return false if validate_listings_params returns error
        bool isValid();
@@ -263,6 +263,8 @@ private:
        ///
        bool noMathFont() const;
        ///
+       void allPackages(int);
+       ///
        BufferParams bp_;
        /// List of names of available modules
        std::list<modInfoStruct> moduleNames_;
@@ -272,6 +274,8 @@ private:
        std::list<std::string> includeonlys_;
        ///
        bool biblioChanged_;
+       /// Track if a non-module document param changed
+       bool nonModuleChanged_;
 };