From 38c34eeca315c7be58e65d4d3fb72aaf7b866719 Mon Sep 17 00:00:00 2001 From: Serg Podtynnyi Date: Sat, 4 Feb 2023 00:14:53 +0700 Subject: Add clang-format and format code as in Frameworks --- src/views/viewproperties.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/views/viewproperties.h') diff --git a/src/views/viewproperties.h b/src/views/viewproperties.h index def8aa738..29827c38b 100644 --- a/src/views/viewproperties.h +++ b/src/views/viewproperties.h @@ -38,7 +38,7 @@ class ViewPropertySettings; class DOLPHIN_EXPORT ViewProperties { public: - explicit ViewProperties(const QUrl& url); + explicit ViewProperties(const QUrl &url); virtual ~ViewProperties(); void setViewMode(DolphinView::Mode mode); @@ -53,7 +53,7 @@ public: void setGroupedSorting(bool grouped); bool groupedSorting() const; - void setSortRole(const QByteArray& role); + void setSortRole(const QByteArray &role); QByteArray sortRole() const; void setSortOrder(Qt::SortOrder sortOrder); @@ -70,7 +70,7 @@ public: * Note that the additional-info property is the only property where * the value is dependent from another property (in this case the view-mode). */ - void setVisibleRoles(const QList& info); + void setVisibleRoles(const QList &info); /** * Returns the additional information for the current set view-mode. @@ -79,7 +79,7 @@ public: */ QList visibleRoles() const; - void setHeaderColumnWidths(const QList& widths); + void setHeaderColumnWidths(const QList &widths); QList headerColumnWidths() const; /** @@ -87,7 +87,7 @@ public: * show hidden files, sorting and sort order like * set in \a props. */ - void setDirProperties(const ViewProperties& props); + void setDirProperties(const ViewProperties &props); /** * If \a autoSave is true, the properties are automatically @@ -122,7 +122,7 @@ private: * properties are stored. \a subDir specifies the used sub * directory. */ - QString destinationDir(const QString& subDir) const; + QString destinationDir(const QString &subDir) const; /** * Returns the view-mode prefix when storing additional properties for @@ -153,7 +153,7 @@ private: /** * Returns true, if \a filePath is part of the home-path (see QDir::homePath()). */ - static bool isPartOfHome(const QString& filePath); + static bool isPartOfHome(const QString &filePath); /** * @return A hash-value for an URL that can be used as directory name. @@ -167,7 +167,7 @@ private: bool m_changedProps; bool m_autoSave; QString m_filePath; - ViewPropertySettings* m_node; + ViewPropertySettings *m_node; }; #endif -- cgit v1.3