Kstars

opsgpg.cpp
1/*
2 SPDX-FileCopyrightText: 2020 Hy Murveit <hy@murveit.com>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#include "opsgpg.h"
8
9#include "guide.h"
10#include "kstars.h"
11#include "Options.h"
12#include "internalguide/internalguider.h"
13
14#include <QFrame>
15
16#include <KConfigDialog>
17
18namespace Ekos
19{
20OpsGPG::OpsGPG(InternalGuider *guiderObject) : QFrame(KStars::Instance())
21{
22 setupUi(this);
23
24 guider = guiderObject;
25
26 m_ConfigDialog = KConfigDialog::exists("guidesettings");
27
28 connect(m_ConfigDialog->button(QDialogButtonBox::Apply), SIGNAL(clicked()), SLOT(slotApply()));
29 connect(m_ConfigDialog->button(QDialogButtonBox::Ok), SIGNAL(clicked()), SLOT(slotApply()));
30
31}
32
33void OpsGPG::slotApply()
34{
35 guider->updateGPGParameters();
36}
37}
static KConfigDialog * exists(const QString &name)
This is the main window for KStars.
Definition kstars.h:89
Ekos is an advanced Astrophotography tool for Linux.
Definition align.cpp:83
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.