]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/iconsviewsettingspage.h
Dolphin is now a KUniqueApplication. A lot of thanks go to Oscar Blumberg, who submit...
[dolphin.git] / src / iconsviewsettingspage.h
index bd539057abec11cf9b63b8046a4e734f04bb701c..aa106ef27b7df9438f252e0b864621def185a00a 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 ICONSVIEWSETTINGSPAGE_H
 #define ICONSVIEWSETTINGSPAGE_H
 
-
 #include <dolphiniconsview.h>
 #include <kvbox.h>
 
+class DolphinMainWindow;
 class QSlider;
 class QComboBox;
 class QCheckBox;
@@ -48,15 +48,13 @@ class PixmapViewer;
  * - arrangement
  *
  * @see DolphinIconsViewSettings
- *  @author Peter Penz <peter.penz@gmx.at>
  */
 class IconsViewSettingsPage : public KVBox
 {
     Q_OBJECT
 
 public:
-    IconsViewSettingsPage(DolphinIconsView::LayoutMode mode,
-                          QWidget* parent);
+    IconsViewSettingsPage(DolphinMainWindow* mainWindow, QWidget* parent);
     virtual ~IconsViewSettingsPage();
 
     /**
@@ -71,18 +69,19 @@ private slots:
     void slotPreviewSizeChanged(int value);
 
 private:
-    DolphinIconsView::LayoutMode m_mode;
-
+    DolphinMainWindow* m_mainWindow;
     QSlider* m_iconSizeSlider;
     PixmapViewer* m_iconSizeViewer;
     QSlider* m_previewSizeSlider;
     PixmapViewer* m_previewSizeViewer;
     QComboBox* m_textWidthBox;
-    QComboBox* m_gridSpacingBox;
     QFontComboBox* m_fontFamilyBox;
     QSpinBox* m_fontSizeBox;
     QSpinBox* m_textlinesCountBox;
+    QComboBox* m_additionalInfo;
+
     QComboBox* m_arrangementBox;
+    QComboBox* m_gridSpacingBox;
 
     /** Returns the icon size for the given slider value. */
     int iconSize(int sliderValue) const;