]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/settings/general/previewssettingspage.h
Ignore maximum size for local files when creating previews
[dolphin.git] / src / settings / general / previewssettingspage.h
index 4b59ec87bb0a0769efac784bb3f3e803d443b01d..a43535133b2067d03ecd48423d7c762334875058 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2006 by Peter Penz <peter.penz@gmx.at>                  *
+ *   Copyright (C) 2006 by Peter Penz <peter.penz19@gmail.com>             *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
  *   it under the terms of the GNU General Public License as published by  *
@@ -22,8 +22,9 @@
 
 #include <settings/settingspagebase.h>
 
-class QListWidget;
 class KIntSpinBox;
+class QListView;
+class QModelIndex;
 
 /**
  * @brief Allows the configuration of file previews.
@@ -50,16 +51,16 @@ protected:
     virtual void showEvent(QShowEvent* event);
 
 private slots:
-    void loadPreviewPlugins();
+    void configureService(const QModelIndex& index);
 
 private:
+    void loadPreviewPlugins();
     void loadSettings();
 
 private:
     bool m_initialized;
-    QListWidget* m_previewPluginsList;
+    QListView *m_listView;
     QStringList m_enabledPreviewPlugins;
-    KIntSpinBox* m_localFileSizeBox;
     KIntSpinBox* m_remoteFileSizeBox;
 };