X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/037d5db85bb0bd798d40c557d424c5c9b87457a8..0f0d14d4c236eee7f1df4f0c21c60f6b784dab75:/src/settings/general/previewssettingspage.h diff --git a/src/settings/general/previewssettingspage.h b/src/settings/general/previewssettingspage.h index 3abf8f926..a7f54f601 100644 --- a/src/settings/general/previewssettingspage.h +++ b/src/settings/general/previewssettingspage.h @@ -20,9 +20,9 @@ #ifndef PREVIEWSSETTINGSPAGE_H #define PREVIEWSSETTINGSPAGE_H -#include +#include "settings/settingspagebase.h" -class KIntSpinBox; +class QSpinBox; class QListView; class QModelIndex; @@ -34,21 +34,21 @@ class PreviewsSettingsPage : public SettingsPageBase Q_OBJECT public: - PreviewsSettingsPage(QWidget* parent); - virtual ~PreviewsSettingsPage(); + explicit PreviewsSettingsPage(QWidget* parent); + ~PreviewsSettingsPage() override; /** * Applies the general settings for the view modes * The settings are persisted automatically when * closing Dolphin. */ - virtual void applySettings() Q_DECL_OVERRIDE; + void applySettings() override; /** Restores the settings to default values. */ - virtual void restoreDefaults() Q_DECL_OVERRIDE; + void restoreDefaults() override; protected: - virtual void showEvent(QShowEvent* event) Q_DECL_OVERRIDE; + void showEvent(QShowEvent* event) override; private slots: void configureService(const QModelIndex& index); @@ -61,7 +61,8 @@ private: bool m_initialized; QListView *m_listView; QStringList m_enabledPreviewPlugins; - KIntSpinBox* m_remoteFileSizeBox; + QSpinBox* m_localFileSizeBox; + QSpinBox* m_remoteFileSizeBox; }; #endif