#ifndef DOWNLOAD_QUERY_LOADER_H
#define DOWNLOAD_QUERY_LOADER_H

#include <QString>


class Site;
class DownloadQueryImage;
class DownloadQueryGroup;

class DownloadQueryLoader
{
	public:
		static bool load(QString path, QList<DownloadQueryImage> &uniques, QList<DownloadQueryGroup> &batchs, QMap<QString, Site*> &sites);
		static bool save(QString path, QList<DownloadQueryImage> &uniques, QList<DownloadQueryGroup> &batchs);
};

#endif // DOWNLOAD_QUERY_LOADER_H

#ifndef DOWNLOAD_QUERY_LOADER_H
#define DOWNLOAD_QUERY_LOADER_H

#include <QString>
#include <QList>
#include <QMap>


class Site;
class DownloadQueryImage;
class DownloadQueryGroup;

class DownloadQueryLoader
{
	public:
		static bool load(QString path, QList<DownloadQueryImage> &uniques, QList<DownloadQueryGroup> &batchs, QMap<QString, Site*> &sites);
		static bool save(QString path, QList<DownloadQueryImage> &uniques, QList<DownloadQueryGroup> &batchs);
};

#endif // DOWNLOAD_QUERY_LOADER_H

Include QList and QMap to header file to fix build
Include QList and QMap to header file to fix build
