Kstars

oal.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 <QString>
10#include <QLocale>
11#ifndef KSTARS_LITE
12#include <kmessagebox.h>
13#endif
14#include <KLocalizedString>
15#include <KStandardGuiItem>
16
17/**
18 * @namespace OAL
19 *
20 * Open Astronomy Log (OAL) is a free and open XML schema definition for all kinds of astronomical observations.
21 * KStars supports this schema and enables an observer to share observations with other observers or move observations among software products.
22 *
23 * The Schema was developed by the German "Fachgruppe für Computerastronomie" (section for computerastronomy) which is a subsection of Germany's largest
24 * astronomy union (VDS - Vereinigung der Sternfreunde e.V.)
25 */
26namespace OAL
27{
28class Log;
29class Observer;
30class Observation;
31class Equipment;
32class Eyepiece;
33class Scope;
34class DSLRLens;
35class Filter;
36class Imager;
37class Site;
38class Session;
39class Target;
40class Lens;
41inline int warningOverwrite(QString message)
42{
43#ifndef KSTARS_LITE
44 return KMessageBox::warningContinueCancel(nullptr, message, xi18n("Overwrite"), KStandardGuiItem::overwrite(),
46#else
47 return 0;
48#endif
49}
50}
Information on DSLR lens used in astrophotography.
Definition dslrlens.h:18
Information of user filters.
Definition filter.h:48
Information of lens utilized in the observation.
Definition lens.h:18
Information on observation session details.
Definition observation.h:29
FIXME: why not just use a QHash?
Definition observer.h:20
Information on telescope used in observation.
Definition scope.h:18
Information on session details.
Definition session.h:19
Information on site of observation.
Definition site.h:20
QString xi18n(const char *text, const TYPE &arg...)
ButtonCode warningContinueCancel(QWidget *parent, const QString &text, const QString &title=QString(), const KGuiItem &buttonContinue=KStandardGuiItem::cont(), const KGuiItem &buttonCancel=KStandardGuiItem::cancel(), const QString &dontAskAgainName=QString(), Options options=Notify)
KGuiItem overwrite()
KGuiItem cancel()
Open Astronomy Log (OAL) is a free and open XML schema definition for all kinds of astronomical obser...
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.