]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/statusbar/mountpointobserver.h
Build with QT_NO_KEYWORDS
[dolphin.git] / src / statusbar / mountpointobserver.h
index c3d2aa67753836c33bc74f28d2ec941d6629dc6f..9f5346d496a1f79b8330e296b4d910a2e277a135 100644 (file)
@@ -1,21 +1,8 @@
-/***************************************************************************
- *   Copyright (C) 2014 by Frank Reininghaus <frank78ac@googlemail.com>    *
- *                                                                         *
- *   This program is free software; you can redistribute it and/or modify  *
- *   it under the terms of the GNU General Public License as published by  *
- *   the Free Software Foundation; either version 2 of the License, or     *
- *   (at your option) any later version.                                   *
- *                                                                         *
- *   This program is distributed in the hope that it will be useful,       *
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
- *   GNU General Public License for more details.                          *
- *                                                                         *
- *   You should have received a copy of the GNU General Public License     *
- *   along with this program; if not, write to the                         *
- *   Free Software Foundation, Inc.,                                       *
- *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA          *
- ***************************************************************************/
+/*
+ * SPDX-FileCopyrightText: 2014 Frank Reininghaus <frank78ac@googlemail.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
 
 #ifndef MOUNTPOINTOBSERVER_H
 #define MOUNTPOINTOBSERVER_H
@@ -53,8 +40,8 @@ class MountPointObserver : public QObject
 {
     Q_OBJECT
 
-    explicit MountPointObserver(const QUrl& url, QObject* parent = 0);
-    virtual ~MountPointObserver() {}
+    explicit MountPointObserver(const QUrl& url, QObject* parent = nullptr);
+    ~MountPointObserver() override {}
 
 public:
     /**
@@ -81,20 +68,20 @@ public:
      */
     static MountPointObserver* observerForUrl(const QUrl& url);
 
-signals:
+Q_SIGNALS:
     /**
      * This signal is emitted when the size has been retrieved.
      */
     void spaceInfoChanged(quint64 size, quint64 available);
 
-public slots:
+public Q_SLOTS:
     /**
      * If this slot is invoked, MountPointObserver starts a new driveSize job
      * to get the drive's size.
      */
     void update();
 
-private slots:
+private Q_SLOTS:
     void freeSpaceResult(KIO::Job* job, KIO::filesize_t size, KIO::filesize_t available);
 
 private: