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/panels/places/placespanel.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/panels/places/placespanel.h') diff --git a/src/panels/places/placespanel.h b/src/panels/places/placespanel.h index ef213ab30..2eb309483 100644 --- a/src/panels/places/placespanel.h +++ b/src/panels/places/placespanel.h @@ -11,8 +11,8 @@ #include "panels/panel.h" -#include #include +#include #include // Solid::ErrorType @@ -30,15 +30,15 @@ class PlacesPanel : public KFilePlacesView Q_OBJECT public: - explicit PlacesPanel(QWidget* parent); + explicit PlacesPanel(QWidget *parent); ~PlacesPanel() override; void setUrl(const QUrl &url); // override // for compatibility with Panel, actions that are shown // on the view's context menu - QList customContextMenuActions() const; - void setCustomContextMenuActions(const QList& actions); + QList customContextMenuActions() const; + void setCustomContextMenuActions(const QList &actions); void requestTearDown(); void proceedWithTearDown(); @@ -47,18 +47,18 @@ public Q_SLOTS: void readSettings(); Q_SIGNALS: - void errorMessage(const QString& error); - void storageTearDownRequested(const QString& mountPath); - void storageTearDownExternallyRequested(const QString& mountPath); + void errorMessage(const QString &error); + void storageTearDownRequested(const QString &mountPath); + void storageTearDownExternallyRequested(const QString &mountPath); void storageTearDownSuccessful(); protected: - void showEvent(QShowEvent* event) override; + void showEvent(QShowEvent *event) override; void dragMoveEvent(QDragMoveEvent *event) override; private Q_SLOTS: void slotConfigureTrash(); - void slotUrlsDropped(const QUrl& dest, QDropEvent* event, QWidget* parent); + void slotUrlsDropped(const QUrl &dest, QDropEvent *event, QWidget *parent); void slotContextMenuAboutToShow(const QModelIndex &index, QMenu *menu); void slotTearDownRequested(const QModelIndex &index); void slotTearDownRequestedExternally(const QString &udi); @@ -70,7 +70,7 @@ private: void connectDeviceSignals(const QModelIndex &idx); QUrl m_url; // only used for initial setUrl - QList m_customContextMenuActions; + QList m_customContextMenuActions; QPersistentModelIndex m_indexToTearDown; -- cgit v1.3.1