X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiPrefs.h;h=2a0405fb3ec337eb1a482fd30757f8fe31bf801a;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=1fb7d069d32858990b37447754542d714f028935;hpb=b7ca24d637f29301690007bca1164c8a1e3f835b;p=lyx.git diff --git a/src/frontends/qt4/GuiPrefs.h b/src/frontends/qt4/GuiPrefs.h index 1fb7d069d3..2a0405fb3e 100644 --- a/src/frontends/qt4/GuiPrefs.h +++ b/src/frontends/qt4/GuiPrefs.h @@ -91,7 +91,6 @@ public: QString browsebind(QString const & file) const; QString browseUI(QString const & file) const; QString browsekbmap(QString const & file) const; - QString browsedict(QString const & file) const; /// general browse QString browse(QString const & file, QString const & title) const; @@ -227,14 +226,15 @@ public: virtual void update(LyXRC const & rc); private Q_SLOTS: + void on_latexEncodingCB_stateChanged(int state); void on_latexBibtexCO_activated(int n); void on_latexIndexCO_activated(int n); private: /// - std::vector bibtex_alternatives; + std::set bibtex_alternatives; /// - std::vector index_alternatives; + std::set index_alternatives; }; @@ -282,6 +282,9 @@ public: void apply(LyXRC & rc) const; void update(LyXRC const & rc); + +private Q_SLOTS: + void on_instantPreviewCO_currentIndexChanged(int); }; @@ -301,6 +304,7 @@ private Q_SLOTS: void selectBackupdir(); void selectWorkingdir(); void selectThesaurusdir(); + void selectHunspelldir(); void selectLyxPipe(); }; @@ -315,8 +319,6 @@ public: void apply(LyXRC & rc) const; void update(LyXRC const & rc); -private Q_SLOTS: - void selectDict(); }; @@ -336,7 +338,7 @@ private Q_SLOTS: void updateConverter(); void switchConverter(); void removeConverter(); - void converter_changed(); + void changeConverter(); void on_cacheCB_stateChanged(int state); private: @@ -369,11 +371,21 @@ private Q_SLOTS: void on_formatsCB_editTextChanged(const QString &); void on_formatNewPB_clicked(); void on_formatRemovePB_clicked(); + void on_viewerCO_currentIndexChanged(int i); + void on_editorCO_currentIndexChanged(int i); void setFlags(); void updatePrettyname(); private: Format & currentFormat(); + /// + void updateViewers(); + /// + void updateEditors(); + /// + LyXRC::Alternatives viewer_alternatives; + /// + LyXRC::Alternatives editor_alternatives; };