Kstars

eyepiece.cpp
1/*
2 SPDX-FileCopyrightText: 2009 Prakash Mohan <prakash.mohan@kdemail.net>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#include "oal/eyepiece.h"
8
9void OAL::Eyepiece::setEyepiece(const QString &_id, const QString &_model, const QString &_vendor, double _fov,
10 const QString &_fovUnit, double _focalLength)
11{
12 m_Id = _id;
13 m_Model = _model;
14 m_Vendor = _vendor;
15 m_AppFovUnit = _fovUnit;
16 m_AppFOV = _fov;
17 m_FocalLength = _focalLength;
18 m_Name = _vendor + ' ' + _model + ' ' + QString::number(_focalLength) + "mm (" + _id + ')';
19}
QString number(double n, char format, int precision)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:48:27 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.