]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/settings/general/previewssettingspage.h
Add clang-format and format code as in Frameworks
[dolphin.git] / src / settings / general / previewssettingspage.h
index 1e61aa24dc1e54fb3a24c6bbd6c1484e04a429bb..2c3e4dfeffd7ffd8dc9e711f72fc8d0db235c1b0 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef PREVIEWSSETTINGSPAGE_H
 #define PREVIEWSSETTINGSPAGE_H
 
+#include <kiowidgets_export.h>
+
 #include "settings/settingspagebase.h"
 
 class QSpinBox;
@@ -21,7 +23,7 @@ class PreviewsSettingsPage : public SettingsPageBase
     Q_OBJECT
 
 public:
-    explicit PreviewsSettingsPage(QWidgetparent);
+    explicit PreviewsSettingsPage(QWidget *parent);
     ~PreviewsSettingsPage() override;
 
     /**
@@ -35,10 +37,12 @@ public:
     void restoreDefaults() override;
 
 protected:
-    void showEvent(QShowEventevent) override;
+    void showEvent(QShowEvent *event) override;
 
 private Q_SLOTS:
-    void configureService(const QModelIndex& index);
+#if KIOWIDGETS_BUILD_DEPRECATED_SINCE(5, 87)
+    void configureService(const QModelIndex &index);
+#endif
 
 private:
     void loadPreviewPlugins();
@@ -48,8 +52,8 @@ private:
     bool m_initialized;
     QListView *m_listView;
     QStringList m_enabledPreviewPlugins;
-    QSpinBoxm_localFileSizeBox;
-    QSpinBoxm_remoteFileSizeBox;
+    QSpinBox *m_localFileSizeBox;
+    QSpinBox *m_remoteFileSizeBox;
 };
 
 #endif