KNewStuff

jobbase.h
1 /*
2  Copyright (C) 2016 Dan Leinir Turthra Jensen <[email protected]>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Lesser General Public
6  License as published by the Free Software Foundation; either
7  version 2.1 of the License, or (at your option) any later version.
8 
9  This library is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Lesser General Public License for more details.
13 
14  You should have received a copy of the GNU Lesser General Public
15  License along with this library. If not, see <http://www.gnu.org/licenses/>.
16 */
17 
18 #ifndef JOBBASE_H
19 #define JOBBASE_H
20 
21 #include <KCoreAddons/kjob.h>
22 
23 namespace KNSCore
24 {
25 
26 enum JobFlag {
27  None = 0,
28  HideProgressInfo = 1,
29  Resume = 2,
30  Overwrite = 4,
32 };
33 Q_DECLARE_FLAGS(JobFlags, JobFlag)
34 Q_DECLARE_OPERATORS_FOR_FLAGS(JobFlags)
35 
36 enum LoadType { Reload, NoReload };
37 
38 }
39 
40 #endif//JOBBASE_H
HideProgressInfo
Contains the core functionality for handling interaction with NewStuff providers. ...
DefaultFlags
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Aug 9 2020 22:43:40 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.