Kstars

opsmiscsettings.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 "opsmiscsettings.h"
8#include "kstars.h"
9#include "Options.h"
10#include <KConfigDialog>
11
12namespace Ekos
13{
14OpsMiscSettings::OpsMiscSettings() : QWidget(KStars::Instance())
15{
16 setupUi(this);
17
18 //Get a pointer to the KConfigDialog
19 m_ConfigDialog = KConfigDialog::exists("capturesettings");
20
21 connect(m_ConfigDialog, &KConfigDialog::settingsChanged, this, &OpsMiscSettings::settingsUpdated);
22}
23
24}
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-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.