File indexing completed on 2024-04-21 16:17:35

0001 /*
0002  * SPDX-FileCopyrightText: 2014 Daniel Vratil <dvratil@redhat.com>
0003  *
0004  * SPDX-License-Identifier: LGPL-2.1-or-later
0005  *
0006  */
0007 
0008 #ifndef KSCREEN_SETCONFIGOPERATION_H
0009 #define KSCREEN_SETCONFIGOPERATION_H
0010 
0011 #include "configoperation.h"
0012 #include "kscreen_export.h"
0013 #include "types.h"
0014 
0015 namespace KScreen
0016 {
0017 class SetConfigOperationPrivate;
0018 
0019 class KSCREEN_EXPORT SetConfigOperation : public KScreen::ConfigOperation
0020 {
0021     Q_OBJECT
0022 public:
0023     explicit SetConfigOperation(const KScreen::ConfigPtr &config, QObject *parent = nullptr);
0024     ~SetConfigOperation() override;
0025 
0026     KScreen::ConfigPtr config() const override;
0027 
0028 protected:
0029     void start() override;
0030 
0031 private:
0032     Q_DECLARE_PRIVATE(SetConfigOperation)
0033 };
0034 
0035 }
0036 
0037 #endif // KSCREEN_SETCONFIGOPERATION_H