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