summaryrefslogtreecommitdiff
path: root/imagecache.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-04-02 13:25:14 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-04-02 13:25:14 +0200
commit07abe301396f9b0fbfca67d4b4f6df6b9fdf6e82 (patch)
tree0aae75aadd6aa1d0eeba91229922711a291bab07 /imagecache.h
parent7107c0f96f10303ea49bf5dc27f525e4cbc191d9 (diff)
downloadtapasboard-07abe301396f9b0fbfca67d4b4f6df6b9fdf6e82.tar.gz
tapasboard-07abe301396f9b0fbfca67d4b4f6df6b9fdf6e82.zip
use a qnetworkdiskcache for images instead of custom provider
Diffstat (limited to 'imagecache.h')
-rw-r--r--imagecache.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/imagecache.h b/imagecache.h
new file mode 100644
index 0000000..2553c80
--- /dev/null
+++ b/imagecache.h
@@ -0,0 +1,13 @@
+#ifndef IMAGECACHE_H
+#define IMAGECACHE_H
+
+#include <QtNetwork/QNetworkDiskCache>
+
+class ImageCache : public QNetworkDiskCache
+{
+ Q_OBJECT
+public:
+ explicit ImageCache(QObject *parent = 0);
+};
+
+#endif // IMAGECACHE_H