]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/selectionmode/actionwithwidget.h
Add a new "view_settings" action
[dolphin.git] / src / selectionmode / actionwithwidget.h
index 14db6df2224196d51f4fcaae2af49b47498a44e9..e56729a6fd7293360e985bcbabb53d9cf759c5b7 100644 (file)
@@ -1,6 +1,6 @@
 /*
     This file is part of the KDE project
-    SPDX-FileCopyrightText: 2022 Felix Ernst <felixernst@zohomail.eu>
+    SPDX-FileCopyrightText: 2022 Felix Ernst <felixernst@kde.org>
 
     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
 */
@@ -42,13 +42,15 @@ public:
     ActionWithWidget(QAction *action, QAbstractButton *button);
 
     /** @returns the action of this object. */
-    inline QAction *action() {
+    inline QAction *action()
+    {
         Q_CHECK_PTR(m_action);
         return m_action;
     };
 
     /** @returns the widget of this object. */
-    inline QWidget *widget() {
+    inline QWidget *widget()
+    {
         return m_widget;
     }
 
@@ -61,7 +63,8 @@ public:
     QWidget *newWidget(QWidget *parent);
 
     /** returns true if the widget exists and is visible. false otherwise. */
-    inline bool isWidgetVisible() const {
+    inline bool isWidgetVisible() const
+    {
         return m_widget && m_widget->isVisible();
     };