]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiDocument.h
Merge branch 'master' into biblatex2
[lyx.git] / src / frontends / qt4 / GuiDocument.h
index 097abfff651fc7c963e2b526745c6a839ee50b37..32ebb57d5e768dfc1e485c7d44572f2884201ea7 100644 (file)
@@ -75,6 +75,8 @@ public:
        void updateFontsize(std::string const &, std::string const &);
        void updateFontlist();
        void updateDefaultFormat();
+       void updateCiteStyles(std::vector<std::string> const &,
+                             CiteEngineType const & sel = ENGINE_TYPE_AUTHORYEAR);
        void updateEngineType(std::string const &, CiteEngineType const &);
        void updatePagestyle(std::string const &, std::string const &);
        bool isChildIncluded(std::string const &);
@@ -82,6 +84,9 @@ public:
        ///
        BufferParams const & params() const { return bp_; }
 
+public Q_SLOTS:
+       void onBufferViewChanged();//override
+
 private Q_SLOTS:
        void updateNumbering();
        void change_adaptor();
@@ -110,9 +115,12 @@ private Q_SLOTS:
        void classChanged_adaptor();
        void languagePackageChanged(int);
        void biblioChanged();
+       void rescanBibFiles();
+       void resetDefaultBibfile();
+       void citeEngineChanged(int);
+       void citeStyleChanged();
        void bibtexChanged(int);
-       void setAuthorYear(bool);
-       void setNumerical(bool);
+       void updateResetDefaultBiblio();
        void updateModuleInfo();
        void modulesChanged();
        void changeBackgroundColor();
@@ -175,12 +183,16 @@ private:
        void updateSelectedModules();
        ///
        void updateIncludeonlys();
+       ///
+       void updateDefaultBiblio(std::string const & style);
        /// save as default template
        void saveDocDefault();
        /// reset to default params
        void useClassDefaults();
        ///
        void setLayoutComboByIDString(std::string const & idString);
+       /// Update quotes styles combo, indicating the current language's default
+       void updateQuoteStyles(bool const set = false);
 
        /// available modules
        GuiIdListModel modules_av_model_;
@@ -322,6 +334,7 @@ Q_SIGNALS:
 private:
        void validate();
        void convert();
+       void hideConvert();
 private Q_SLOTS:
        void textChanged();
        void validatePressed();