File indexing completed on 2024-04-14 03:48:52

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2011 Dennis Nienhüser <nienhueser@kde.org>
0004 //
0005 
0006 #ifndef JOBPARAMETERS_H
0007 #define JOBPARAMETERS_H
0008 
0009 #include <QDir>
0010 
0011 class JobParameters
0012 {
0013 public:
0014     JobParameters();
0015 
0016     QDir base();
0017 
0018     void setBase(const QDir &dir);
0019 
0020     bool cacheData() const;
0021 
0022     void setCacheData(bool cache);
0023 
0024 private:
0025     QDir m_base;
0026 
0027     bool m_cacheData;
0028 };
0029 
0030 #endif // JOBPARAMETERS_H