]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/generalsettingspage.h
Dolphin is now a KUniqueApplication. A lot of thanks go to Oscar Blumberg, who submit...
[dolphin.git] / src / generalsettingspage.h
index 246b150edcd92b19b54fb897e226d7c5c9486aa8..0cffc3f6970b1944bd89bdcff225b14f3c4d7b14 100644 (file)
  *   You should have received a copy of the GNU General Public License     *
  *   along with this program; if not, write to the                         *
  *   Free Software Foundation, Inc.,                                       *
- *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
+ *   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA            *
  ***************************************************************************/
 #ifndef GENERALSETTINGSPAGE_H
 #define GENERALSETTINGSPAGE_H
 
 #include <settingspagebase.h>
+
+class DolphinMainWindow;
 class QLineEdit;
 class QRadioButton;
 class QCheckBox;
@@ -30,16 +32,13 @@ class QCheckBox;
  *
  * The general settings allow to set the home Url, the default view mode
  * and the split view mode.
- *
- *     @author Peter Penz <peter.penz@gmx.at>
  */
 class GeneralSettingsPage : public SettingsPageBase
 {
     Q_OBJECT
 
 public:
-    GeneralSettingsPage(QWidget* parent);
-
+    GeneralSettingsPage(DolphinMainWindow* mainWindow, QWidget* parent);
     virtual ~GeneralSettingsPage();
 
     /** @see SettingsPageBase::applySettings */
@@ -51,10 +50,8 @@ private slots:
     void useDefaulLocation();
 
 private:
+    DolphinMainWindow* m_mainWindow;
     QLineEdit* m_homeUrl;
-    QRadioButton* m_iconsView;
-    QRadioButton* m_detailsView;
-    QRadioButton* m_previewsView;
     QCheckBox* m_startSplit;
     QCheckBox* m_startEditable;
 };