• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • edu API Reference
  • KDE Home
  • Contact Us
 

kstars

  • extragear
  • edu
  • kstars
  • kstars
  • oal
eyepiece.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  eyepiece.cpp - description
3 
4  -------------------
5  begin : Wednesday July 8, 2009
6  copyright : (C) 2009 by Prakash Mohan
7  email : [email protected]
8  ***************************************************************************/
9 
10 /***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  ***************************************************************************/
18 
19 #include "oal/eyepiece.h"
20 
21 void OAL::Eyepiece::setEyepiece(const QString &_id, const QString &_model, const QString &_vendor, double _fov,
22  const QString &_fovUnit, double _focalLength)
23 {
24  m_Id = _id;
25  m_Model = _model;
26  m_Vendor = _vendor;
27  m_AppFovUnit = _fovUnit;
28  m_AppFOV = _fov;
29  m_FocalLength = _focalLength;
30  m_Name = _vendor + ' ' + _model + ' ' + QString::number(_focalLength) + "mm (" + _id + ')';
31 }
OAL::Eyepiece::setEyepiece
void setEyepiece(const QString &_id, const QString &_model, const QString &_vendor, double _fov, const QString &_fovUnit, double _focalLength)
Definition: eyepiece.cpp:21
QString::number
QString number(int n, int base)
QString
eyepiece.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Sat Dec 14 2019 02:20:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

edu API Reference

Skip menu "edu API Reference"
  •     core
  • kstars

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal