┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/statusbar/mountpointobservercache.h
diff options
context:
space:
mode:
authorSerg Podtynnyi <[email protected]>2023-02-04 00:14:53 +0700
committerSerg Podtynnyi <[email protected]>2023-02-05 12:45:38 +0700
commit38c34eeca315c7be58e65d4d3fb72aaf7b866719 (patch)
tree886e53f20c9c43edc3eb7fe04789716a9bc98ebe /src/statusbar/mountpointobservercache.h
parentffff8af851e3a386c44438337779d0ce7ca98a61 (diff)
Add clang-format and format code as in Frameworks
Diffstat (limited to 'src/statusbar/mountpointobservercache.h')
-rw-r--r--src/statusbar/mountpointobservercache.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/statusbar/mountpointobservercache.h b/src/statusbar/mountpointobservercache.h
index ab16fa760..92e1b6be3 100644
--- a/src/statusbar/mountpointobservercache.h
+++ b/src/statusbar/mountpointobservercache.h
@@ -21,23 +21,23 @@ class MountPointObserverCache : public QObject
~MountPointObserverCache() override;
public:
- static MountPointObserverCache* instance();
+ static MountPointObserverCache *instance();
/**
* Returns a MountPointObserver for the given \a url. A new observer is created if necessary.
*/
- MountPointObserver* observerForUrl(const QUrl& url);
+ MountPointObserver *observerForUrl(const QUrl &url);
private Q_SLOTS:
/**
* Removes the given \a observer from the cache.
*/
- void slotObserverDestroyed(QObject* observer);
+ void slotObserverDestroyed(QObject *observer);
private:
- QHash<QUrl, MountPointObserver*> m_observerForMountPoint;
- QHash<QObject*, QUrl> m_mountPointForObserver;
- QTimer* m_updateTimer;
+ QHash<QUrl, MountPointObserver *> m_observerForMountPoint;
+ QHash<QObject *, QUrl> m_mountPointForObserver;
+ QTimer *m_updateTimer;
friend class MountPointObserverCacheSingleton;
};