]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QPrefsDialog.h
better selection and scrolling behaviour
[lyx.git] / src / frontends / qt2 / QPrefsDialog.h
index 9596ca76e8a396a9778ec6cd916edf206a297fb3..3d2f666f65f58e7c0354642f981c5ebcc3803a48 100644 (file)
 #endif
 
 #include "LColor.h"
+
 #include "ui/QPrefsDialogBase.h"
 
 #include <map>
 #include <vector>
+
 class QPrefs;
 class QListViewItem;
 class QPrefAsciiModule;
@@ -46,7 +46,7 @@ public:
        friend class QPrefs;
 
        QPrefsDialog(QPrefs *);
+
        ~QPrefsDialog();
 
        void updateConverters();
@@ -62,17 +62,13 @@ public slots:
        void new_format();
        void modify_format();
        void remove_format();
+
        void switch_converter(int);
        void new_converter();
        void modify_converter();
        void remove_converter();
+
        void change_color();
-       void change_roman();
-       void change_sans();
-       void change_typewriter();
 
        void select_ui();
        void select_bind();
@@ -85,16 +81,20 @@ public slots:
        void select_workingdir();
        void select_lyxpipe();
 
+       void select_roman(const QString&);
+       void select_sans(const QString&);
+       void select_typewriter(const QString&);
+
 protected:
        void closeEvent(QCloseEvent * e);
+
 private:
        typedef std::map<QListViewItem *, QWidget *> PaneMap;
 
        PaneMap pane_map_;
 
        std::vector<LColor::color> colors_;
+
        QPrefAsciiModule * asciiModule;
        QPrefDateModule * dateModule;
        QPrefKeyboardModule * keyboardModule;