Kstars

skylabel.h
1 /*
2  SPDX-FileCopyrightText: 2007 James B. Bowlin <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "skyobjects/skyobject.h"
10 
11 #include <QList>
12 #include <QPointF>
13 
14 class SkyLabel;
16 
17 class SkyLabel
18 {
19  public:
20  SkyLabel(qreal ra, qreal dec, SkyObject *obj_in) : o(ra, dec), obj(obj_in) {}
21 
22  // SkyLabel( double ra, double dec, QString& text_in) :
23  // o( ra, dec), text(text_in)
24  // {}
25 
26  SkyLabel(const QPointF o_in, SkyObject *obj_in) : o(o_in), obj(obj_in) {}
27 
28  //~StarLabel() { delete m_p; }
29 
30  QPointF &point() { return o; }
31  QPointF o;
32  SkyObject *obj;
33 };
QTextStream & dec(QTextStream &stream)
Information about an object in the sky.
Definition: skyobject.h:41
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 19 2022 03:57:55 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.