fileprocessor.h 476 Bytes
#ifndef FILEPROCESSOR_H
#define FILEPROCESSOR_H

#include <QtCore>

class FileProcessor
{
public:
    FileProcessor();
static bool folderExist(const QString &path);
static bool fileExist(const QString &path_file);
static bool detectUSB(QString &usbpath);
static void getAllDirList(QDir d, QStringList &list);
static quint64 getDirSize(const QString &str);
static bool readFromInfoFile(QMap<QString , QString> &info_map, const QString &filename);
};

#endif // FILEPROCESSOR_H