]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/draganddrophelper.h
Build TerminalPanel also on Windows
[dolphin.git] / src / views / draganddrophelper.h
index e47f83ca83ce4aa309bd2c3200ce74d8239ab975..0c7eadc6cb95c6f8b862a4757c815d887b441533 100644 (file)
@@ -54,6 +54,16 @@ public:
      * @return True if destUrl is contained in the urls parameter.
      */
     static bool urlListMatchesUrl(const QList<QUrl>& urls, const QUrl& destUrl);
+
+    /**
+     * clear the internal cache.
+     */
+    static void clearUrlListMatchesUrlCache();
+private:
+    /**
+     * Stores the results of the expensive checks made in urlListMatchesUrl.
+     */
+    static QHash<QUrl, bool> m_urlListMatchesUrlCache;
 };
 
 #endif