cachefile.h 269 B

123456789101112131415161718
  1. #ifndef CACHEFILE_H
  2. #define CACHEFILE_H
  3. #include <QDir>
  4. class CacheFile
  5. {
  6. public:
  7. CacheFile();
  8. bool writeFile(const QString & name, const QByteArray & data);
  9. QByteArray readFile(const QString & name);
  10. private:
  11. QDir dir;
  12. };
  13. #endif // CACHEFILE_H