Kstars

opsekos.cpp
1/*
2 SPDX-FileCopyrightText: 2017 Jasem Mutlaq <mutlaqja@ikarustech.com>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#include "opsekos.h"
8
9#include "manager.h"
10#include "kspaths.h"
11#include "kstars.h"
12#include "kstarsdata.h"
13#include "Options.h"
14
15#include <KConfigDialog>
16
17OpsEkos::OpsEkos() : QTabWidget(KStars::Instance())
18{
19 setupUi(this);
20
21 //Get a pointer to the KConfigDialog
22 m_ConfigDialog = KConfigDialog::exists("settings");
23
25 {
26 KStarsData::Instance()->userdb()->DeleteAllDSLRInfo();
27 });
28
30 {
31 if (Options::ekosTopIcons() != kcfg_EkosTopIcons->isChecked())
32 KSNotification::info(i18n("You must restart KStars for this change to take effect."));
33 });
34}
static KConfigDialog * exists(const QString &name)
This is the main window for KStars.
Definition kstars.h:91
QString i18n(const char *text, const TYPE &arg...)
void clicked(bool checked)
void toggled(bool checked)
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 Tue Mar 26 2024 11:19:03 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.