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

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_GETCONFIGOPERATION_H
0009 #define KSCREEN_GETCONFIGOPERATION_H
0010 
0011 #include "configoperation.h"
0012 #include "kscreen_export.h"
0013 #include "types.h"
0014 
0015 namespace KScreen
0016 {
0017 class GetConfigOperationPrivate;
0018 
0019 class KSCREEN_EXPORT GetConfigOperation : public KScreen::ConfigOperation
0020 {
0021     Q_OBJECT
0022 
0023 public:
0024     explicit GetConfigOperation(Options options = NoOptions, QObject *parent = nullptr);
0025     ~GetConfigOperation() override;
0026 
0027     KScreen::ConfigPtr config() const override;
0028 
0029 protected:
0030     void start() override;
0031 
0032 private:
0033     Q_DECLARE_PRIVATE(GetConfigOperation)
0034 };
0035 }
0036 
0037 #endif // KSCREEN_GETCONFIGOPERATION_H