1/*
2 SPDX-FileCopyrightText: 2016 Dan Leinir Turthra Jensen <admin@leinir.dk>
3
4 SPDX-License-Identifier: LGPL-2.1-or-later
5*/
6
7#ifndef JOBBASE_H
8#define JOBBASE_H
9
10#include <KJob>
11
12namespace KNSCore
13{
14enum JobFlag {
15 None = 0,
16 HideProgressInfo = 1,
17 Resume = 2,
18 Overwrite = 4,
19 DefaultFlags = None,
20};
21Q_DECLARE_FLAGS(JobFlags, JobFlag)
22Q_DECLARE_OPERATORS_FOR_FLAGS(JobFlags)
23
24enum LoadType { Reload, NoReload };
25
26}
27
28#endif // JOBBASE_H
29

source code of knewstuff/src/core/jobs/jobbase.h