Kstars

observeradd.h
1/*
2 SPDX-FileCopyrightText: 2009 Prakash Mohan <prakash.mohan@kdemail.net>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "ui_observeradd.h"
10
11#include <QDialog>
12
13/**
14 * @class ObserverAdd
15 *
16 * Dialog to add new observers.
17 */
18class ObserverAdd : public QDialog
19{
21 public:
22 /** The default constructor */
24
25 /** @short function to load the list of observers from the file */
26 void loadObservers();
27
28 public slots:
29 /**
30 * @short function to add the new observer
31 * to the observerList of the global logObject
32 */
33 void auxSlot();
34 void checkObserverInfo();
35 void slotAddObserver();
36 void slotRemoveObserver();
37 void slotUpdateModel();
38
39 private:
40 Ui::ObserverAdd ui;
41};
Dialog to add new observers.
Definition observeradd.h:19
void loadObservers()
function to load the list of observers from the file
ObserverAdd()
The default constructor.
void auxSlot()
function to add the new observer to the observerList of the global logObject
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.