Kstars

opsfocusprocess.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 "opsfocusprocess.h"
8#include <KConfigDialog>
9
10namespace Ekos
11{
12OpsFocusProcess::OpsFocusProcess(const QString name) : OpsFocusBase(name)
13{
14 setupUi(this);
15
16 //Get a pointer to the KConfigDialog
17 m_ConfigDialog = KConfigDialog::exists(dialogName());
18 if (m_ConfigDialog)
19 connect(m_ConfigDialog, &KConfigDialog::settingsChanged, this, &OpsFocusProcess::settingsUpdated);
20}
21}
static KConfigDialog * exists(const QString &name)
void settingsChanged(const QString &dialogName)
Ekos is an advanced Astrophotography tool for Linux.
Definition align.cpp:83
QString name(StandardAction id)
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 3 2025 11:47:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.