Kstars

eyepiece.cpp
1 /*
2  SPDX-FileCopyrightText: 2009 Prakash Mohan <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #include "oal/eyepiece.h"
8 
9 void 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(int n, int base)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Sep 22 2023 03:57:54 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.