cachefile.h 313 B

1234567891011121314151617181920
  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. QString getDecimalbit(double v,int i = 2);
  14. #endif // CACHEFILE_H