X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/576a97d8eb9601f4ad74def6528cc90fffe97b1c..3186f0428888447a783d014afaaa0b44b68ebaba:/src/settings/dolphinsettingsdialog.h diff --git a/src/settings/dolphinsettingsdialog.h b/src/settings/dolphinsettingsdialog.h index 7749a3ad8..f0322c5f0 100644 --- a/src/settings/dolphinsettingsdialog.h +++ b/src/settings/dolphinsettingsdialog.h @@ -7,6 +7,7 @@ #ifndef DOLPHINSETTINGSDIALOG_H #define DOLPHINSETTINGSDIALOG_H +#include #include class QUrl; @@ -22,25 +23,27 @@ class DolphinSettingsDialog : public KPageDialog Q_OBJECT public: - explicit DolphinSettingsDialog(const QUrl& url, QWidget* parent = nullptr); + explicit DolphinSettingsDialog(const QUrl &url, QWidget *parent = nullptr, KActionCollection *actions = {}); ~DolphinSettingsDialog() override; -signals: + KPageWidgetItem *trashSettings; + +Q_SIGNALS: void settingsChanged(); -private slots: +private Q_SLOTS: /** Enables the Apply button. */ void enableApply(); void applySettings(); void restoreDefaults(); protected: - void closeEvent(QCloseEvent* event) override; + void closeEvent(QCloseEvent *event) override; private: static SettingsPageBase *createTrashSettingsPage(QWidget *parent); - QList m_pages; + QList m_pages; bool m_unsavedChanges; };