1 /*
2     SPDX-FileCopyrightText: 2005 Jasem Mutlaq <mutlaqja@ikarustech.com>
3 
4     SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "ui_opsindi.h"
10 
11 class KStars;
12 class KConfigDialog;
13 
14 /**
15  * @class OpsINDI
16  *
17  * Enables the user to change several INDI options including default ports for common devices,
18  * time and location source, and options pertaining to FITSViewer tool.
19  *
20  * @author Jasem Mutlaq
21  */
22 class OpsINDI : public QFrame, public Ui::OpsINDI
23 {
24         Q_OBJECT
25 
26     public:
27         OpsINDI();
28         virtual ~OpsINDI() override = default;
29 
30     private slots:
31         void saveFITSDirectory();
32         void saveDriversDirectory();
33         void slotShowLogFiles();
34         void toggleINDIInternal();
35         void toggleDriversInternal();
36         void verifyINDIServer();
37         void saveINDIHubAgent();
38 
39     private:
40         KConfigDialog *m_ConfigDialog { nullptr };
41 };
42