]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiPrefs.h
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / GuiPrefs.h
index 103f45d3b5e39636a02a50e3256314da9f9c58ff..2a0405fb3ec337eb1a482fd30757f8fe31bf801a 100644 (file)
@@ -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<std::string> bibtex_alternatives;
+       std::set<std::string> bibtex_alternatives;
        ///
-       std::vector<std::string> index_alternatives;
+       std::set<std::string> 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;
 };
 
 
@@ -453,18 +465,19 @@ public:
                KeySequence const & shortcut, KeyMap::ItemType tag);
 
 public Q_SLOTS:
-       void select_bind();
+       void selectBind();
        void on_modifyPB_pressed();
        void on_newPB_pressed();
        void on_removePB_pressed();
        void on_searchLE_textEdited();
        ///
        void on_shortcutsTW_itemSelectionChanged();
-       void shortcut_okPB_pressed();
-       void shortcut_cancelPB_pressed();
-       void shortcut_clearPB_pressed();
-       void shortcut_removePB_pressed();
        void on_shortcutsTW_itemDoubleClicked();
+       ///
+       void shortcutOkPressed();
+       void shortcutCancelPressed();
+       void shortcutClearPressed();
+       void shortcutRemovePressed();
 
 private:
        ///