2020-08-25 16:05:56 +02:00
|
|
|
/* === This file is part of Calamares - <https://calamares.io> ===
|
2014-08-01 16:28:29 +02:00
|
|
|
*
|
2020-08-22 01:19:58 +02:00
|
|
|
* SPDX-FileCopyrightText: 2014 Teo Mrnjavac <teo@kde.org>
|
|
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
2014-08-01 16:28:29 +02:00
|
|
|
*
|
2020-08-25 16:05:56 +02:00
|
|
|
* Calamares is Free Software: see the License-Identifier above.
|
2014-08-01 16:28:29 +02:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SETTIMEZONEJOB_H
|
|
|
|
#define SETTIMEZONEJOB_H
|
|
|
|
|
2020-03-10 02:45:40 +01:00
|
|
|
#include "Job.h"
|
2014-08-01 16:28:29 +02:00
|
|
|
|
|
|
|
|
|
|
|
class SetTimezoneJob : public Calamares::Job
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2019-09-07 16:58:37 +02:00
|
|
|
SetTimezoneJob( const QString& region, const QString& zone );
|
2014-08-01 16:28:29 +02:00
|
|
|
|
|
|
|
QString prettyName() const override;
|
|
|
|
Calamares::JobResult exec() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
QString m_region;
|
|
|
|
QString m_zone;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* SETTIMEZONEJOB_H */
|