~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 slots:
+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;
};