Kstars

observeradd.h
1 /*
2  SPDX-FileCopyrightText: 2009 Prakash Mohan <[email protected]>
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  */
18 class ObserverAdd : public QDialog
19 {
20  Q_OBJECT
21  public:
22  /** The default constructor */
23  ObserverAdd();
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 };
Q_OBJECTQ_OBJECT
void auxSlot()
function to add the new observer to the observerList of the global logObject
Definition: observeradd.cpp:54
void loadObservers()
function to load the list of observers from the file
ObserverAdd()
The default constructor.
Definition: observeradd.cpp:13
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 12 2022 04:00:56 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.