Kstars

opsoffsetsettings.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 "opsoffsetsettings.h"
8#include "kstars.h"
9#include <KConfigDialog>
10
11namespace Ekos
12{
13OpsOffsetSettings::OpsOffsetSettings() : 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, &OpsOffsetSettings::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 Mon Nov 18 2024 12:16:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.