Changed repo structure
[mdictionary] / trunk / src / base / gui / SettingsWidget.h
diff --git a/trunk/src/base/gui/SettingsWidget.h b/trunk/src/base/gui/SettingsWidget.h
deleted file mode 100644 (file)
index 6af03bc..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-/*******************************************************************************
-
-    This file is part of mDictionary.
-
-    mDictionary is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    mDictionary is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with mDictionary.  If not, see <http://www.gnu.org/licenses/>.
-
-    Copyright 2010 Comarch S.A.
-
-*******************************************************************************/
-
-//! \file DictManagerWidget.h
-//! \author Mateusz Półrola <mateusz.polrola@comarch.pl>
-
-#ifndef SETTINGSWIDGET_H
-#define SETTINGSWIDGET_H
-
-#include <QWidget>
-#include <QtGui>
-#include <QPushButton>
-#include "../../includes/GUIInterface.h"
-#include "../../includes/settings.h"
-
-//! Implements applications settings widget
-/*!
-  Shows settings that user can change.
-  It allows to change limit of searches and limit of history.
-  It also allows to select if application has to search in dictionaries or in
-  bookmarks or in both of them. All changes are saved automatically after
-  hiding of this widget.
-  */
-class SettingsWidget : public QDialog
-{
-    Q_OBJECT
-public:
-    //! Constructor
-    /*!
-      \param parent parent of this widget, which must be subclass of
-      GUIInterface, because it will use it to get current settings and
-      set new ones.
-      */
-    explicit SettingsWidget(GUIInterface *parent = 0);
-
-
-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;
-    QFormLayout* spinBoxesFormLayout;
-
-    QLabel* checkBoxesLabel;
-    QCheckBox* searchInDictionariesCheckBox;
-    QCheckBox* searchInBookmarksCheckBox;
-
-    GUIInterface* guiInterface;
-    Settings* settings;
-    bool _changed;
-    QString limitTip;
-    #ifndef Q_WS_MAEMO_5
-        QPushButton* closeButton;
-        QHBoxLayout* footerLayout;
-        bool _save;
-    #endif
-
-
-
-};
-
-#endif // SETTINGSWIDGET_H