Partialy refactorized, fixed some bugs
[mdictionary] / trunk / src / base / gui / SettingsWidget.h
index a19b864..6af03bc 100644 (file)
@@ -20,7 +20,6 @@
 *******************************************************************************/
 
 //! \file DictManagerWidget.h
-//! \brief Settings widget
 //! \author Mateusz Półrola <mateusz.polrola@comarch.pl>
 
 #ifndef SETTINGSWIDGET_H
@@ -57,7 +56,14 @@ protected:
     void showEvent(QShowEvent *);
     void hideEvent(QHideEvent *);
 
+private Q_SLOTS:
+    void changed();
+    #ifndef Q_WS_MAEMO_5
+        void save();
+    #endif
+
 private:
+    void initalizeUI();
     QSpinBox* historySizeSpinBox;
     QSpinBox* searchResultSizeSpinBox;
     QVBoxLayout* verticalLayout;
@@ -75,13 +81,9 @@ private:
         QPushButton* closeButton;
         QHBoxLayout* footerLayout;
         bool _save;
-
-        private Q_SLOTS:
-            void save();
     #endif
 
-private Q_SLOTS:
-    void changed();
+
 
 };