Kstars

opsalignmentsettings.cpp
1/*
2 SPDX-FileCopyrightText: 2023 John Evans <john.e.evans.email@googlemail.com>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#include "opsalignmentsettings.h"
8#include "kstars.h"
9#include <KConfigDialog>
10
11namespace Ekos
12{
13OpsAlignmentSettings::OpsAlignmentSettings() : QFrame(KStars::Instance())
14{
15 setupUi(this);
16
17 //Get a pointer to the KConfigDialog
18 m_ConfigDialog = KConfigDialog::exists("schedulersettings");
19 if (m_ConfigDialog)
20 connect(m_ConfigDialog, &KConfigDialog::settingsChanged, this, &OpsAlignmentSettings::settingsUpdated);
21}
22}
static KConfigDialog * exists(const QString &name)
void settingsChanged(const QString &dialogName)
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 Fri Dec 13 2024 11:47:11 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.