]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/panels/panel.cpp
Add clang-format and format code as in Frameworks
[dolphin.git] / src / panels / panel.cpp
index 9e62cc8e35bffa621d5a2ba5f698da1e2b472388..32f293c4ca93e685b4c72acacdd0563f3d797636 100644 (file)
@@ -7,10 +7,10 @@
 
 #include "panel.h"
 
-Panel::Panel(QWidget* parent) :
-    QWidget(parent),
-    m_url(),
-    m_customContextMenuActions()
+Panel::Panel(QWidget *parent)
+    : QWidget(parent)
+    , m_url()
+    m_customContextMenuActions()
 {
 }
 
@@ -23,12 +23,12 @@ QUrl Panel::url() const
     return m_url;
 }
 
-void Panel::setCustomContextMenuActions(const QList<QAction*>& actions)
+void Panel::setCustomContextMenuActions(const QList<QAction *> &actions)
 {
     m_customContextMenuActions = actions;
 }
 
-QList<QAction*> Panel::customContextMenuActions() const
+QList<QAction *> Panel::customContextMenuActions() const
 {
     return m_customContextMenuActions;
 }
@@ -43,7 +43,7 @@ QSize Panel::sizeHint() const
     return QSize(180, 180);
 }
 
-void Panel::setUrl(const QUrlurl)
+void Panel::setUrl(const QUrl &url)
 {
     if (url.matches(m_url, QUrl::StripTrailingSlash)) {
         return;
@@ -58,6 +58,4 @@ void Panel::setUrl(const QUrl& url)
 
 void Panel::readSettings()
 {
-
 }
-