diff data/fileio/CachedFile.h @ 467:c9b055f84326

* make use of CachedFile (untested)
author Chris Cannam
date Mon, 27 Oct 2008 18:15:20 +0000
parents f35bfa88f0b5
children 70b333085952
line wrap: on
line diff
--- a/data/fileio/CachedFile.h	Mon Oct 27 15:07:35 2008 +0000
+++ b/data/fileio/CachedFile.h	Mon Oct 27 18:15:20 2008 +0000
@@ -25,6 +25,7 @@
 class CachedFile
 {
 public:
+    CachedFile(QString fileOrUrl, ProgressReporter *reporter = 0);
     CachedFile(QUrl url, ProgressReporter *reporter = 0);
 
     virtual ~CachedFile();
@@ -39,7 +40,7 @@
     ProgressReporter *m_reporter;
     bool m_ok;
 
-    void refresh();
+    void check();
     bool retrieve();
 
     QDateTime getLastRetrieval();