--- a/src/configDialog.h Wed Aug 21 01:30:38 2013 +0300 +++ b/src/configDialog.h Wed Aug 21 10:54:33 2013 +0300 @@ -53,8 +53,6 @@ explicit ConfigDialog (Tab deftab = InterfaceTab, QWidget* parent = null, Qt::WindowFlags f = 0); virtual ~ConfigDialog(); - static void staticDialog(); - const Ui_ConfigUI* getUI() const; float getGridValue (int i, int j) const; List<LDQuickColor> quickColors; @@ -66,11 +64,7 @@ QLabel* lb_gridIcons[3]; List<QListWidgetItem*> quickColorItems; - void initMainTab(); - void initShortcutsTab(); - void initQuickColorTab(); - void initGridTab(); - void initExtProgTab(); + void applySettings(); void addShortcut (KeySequenceConfig& cfg, QAction* act, ulong& i); void setButtonBackground (QPushButton* button, str value); void pickColor (StringConfig& cfg, QPushButton* button); @@ -80,6 +74,8 @@ str quickColorString(); QListWidgetItem* getSelectedQuickColor(); QList<ShortcutListItem*> getShortcutSelection(); + void initGrids(); + void initExtProgs(); private slots: void slot_setGLBackground(); @@ -94,6 +90,7 @@ void slot_clearColors(); void slot_setExtProgPath(); void slot_findDownloadFolder(); + void buttonClicked (QAbstractButton* button); }; // =============================================================================