diff options
| author | Serg Podtynnyi <[email protected]> | 2023-02-04 00:14:53 +0700 |
|---|---|---|
| committer | Serg Podtynnyi <[email protected]> | 2023-02-05 12:45:38 +0700 |
| commit | 38c34eeca315c7be58e65d4d3fb72aaf7b866719 (patch) | |
| tree | 886e53f20c9c43edc3eb7fe04789716a9bc98ebe /src/views/viewmodecontroller.h | |
| parent | ffff8af851e3a386c44438337779d0ce7ca98a61 (diff) | |
Add clang-format and format code as in Frameworks
Diffstat (limited to 'src/views/viewmodecontroller.h')
| -rw-r--r-- | src/views/viewmodecontroller.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/views/viewmodecontroller.h b/src/views/viewmodecontroller.h index bd92a60a2..3aebf1638 100644 --- a/src/views/viewmodecontroller.h +++ b/src/views/viewmodecontroller.h @@ -26,7 +26,7 @@ class DOLPHIN_EXPORT ViewModeController : public QObject Q_OBJECT public: - explicit ViewModeController(QObject* parent = nullptr); + explicit ViewModeController(QObject *parent = nullptr); ~ViewModeController() override; /** @@ -38,7 +38,7 @@ public: * Sets the URL to \a url and does nothing else. Called when * a redirection happens. See ViewModeController::setUrl() */ - void redirectToUrl(const QUrl& url); + void redirectToUrl(const QUrl &url); /** * Informs the view mode implementation about a change of the activation @@ -58,7 +58,7 @@ public: /** * Sets the name filter to \a and emits the signal nameFilterChanged(). */ - void setNameFilter(const QString& nameFilter); + void setNameFilter(const QString &nameFilter); QString nameFilter() const; public Q_SLOTS: @@ -66,13 +66,13 @@ public Q_SLOTS: * Sets the URL to \a url and emits the signals cancelPreviews() and * urlChanged() if \a url is different for the current URL. */ - void setUrl(const QUrl& url); + void setUrl(const QUrl &url); Q_SIGNALS: /** * Is emitted if the URL has been changed by ViewModeController::setUrl(). */ - void urlChanged(const QUrl& url); + void urlChanged(const QUrl &url); /** * Is emitted, if ViewModeController::indicateActivationChange() has been @@ -85,7 +85,7 @@ Q_SIGNALS: * Is emitted if the name filter has been changed by * ViewModeController::setNameFilter(). */ - void nameFilterChanged(const QString& nameFilter); + void nameFilterChanged(const QString &nameFilter); /** * Is emitted if the zoom level has been changed by |
