]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/statusbar/mountpointobservercache.h
dolphinmainwindow: zoom action is now a KToolBarPopupAction
[dolphin.git] / src / statusbar / mountpointobservercache.h
index aeb117cbbf8b4b04cff1f608ba7fcc1a577d0c1a..92e1b6be3733be8670c623841dae286852223632 100644 (file)
@@ -21,23 +21,23 @@ class MountPointObserverCache : public QObject
     ~MountPointObserverCache() override;
 
 public:
-    static MountPointObserverCacheinstance();
+    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 slots:
+private Q_SLOTS:
     /**
      * Removes the given \a observer from the cache.
      */
-    void slotObserverDestroyed(QObjectobserver);
+    void slotObserverDestroyed(QObject *observer);
 
 private:
-    QHash<QUrl, MountPointObserver*> m_observerForMountPoint;
-    QHash<QObject*, QUrl> m_mountPointForObserver;
-    QTimerm_updateTimer;
+    QHash<QUrl, MountPointObserver *> m_observerForMountPoint;
+    QHash<QObject *, QUrl> m_mountPointForObserver;
+    QTimer *m_updateTimer;
 
     friend class MountPointObserverCacheSingleton;
 };