]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QPrefsDialog.h
Some string(widget->text()) fixes. Weirdness
[lyx.git] / src / frontends / qt2 / QPrefsDialog.h
index 041dfa6f5144be4267748976f30ae80a13a8f361..7b3ae38ad5c35cc9e4ed862fa6e19f0245628121 100644 (file)
 #pragma interface
 #endif
 
+#include "LColor.h"
 #include "ui/QPrefsDialogBase.h"
 
 #include <map>
+#include <vector>
  
 class QPrefs;
 class QListViewItem;
@@ -46,9 +49,42 @@ public:
  
        ~QPrefsDialog();
 
+       void updateConverters();
+
+       void updateFormats();
+
 public slots:
        virtual void switchPane(QListViewItem * i);
 
+       void change_adaptor();
+
+       void switch_format(int);
+       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 select_ui();
+       void select_bind();
+       void select_keymap1();
+       void select_keymap2();
+       void select_dict();
+       void select_templatedir();
+       void select_tempdir();
+       void select_backupdir();
+       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);
  
@@ -57,6 +93,8 @@ private:
 
        PaneMap pane_map_;
 
+       std::vector<LColor::color> colors_;
        QPrefAsciiModule * asciiModule;
        QPrefDateModule * dateModule;
        QPrefKeyboardModule * keyboardModule;