Kstars

filter.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/filter.h"
8
9OAL::Filter::Filter(const QString &id, const filterProperties *fp)
10{
11 m_Id = id;
12 m_Model = fp->model;
13 m_Vendor = fp->vendor;
14 m_Type = fp->type;
15 m_Color = fp->color;
16 m_Name = fp->vendor + ' ' + fp->model + " - " + fp->type + ' ' + fp->color + " (" + id + ')';
17 m_Offset = fp->offset;
18 m_Exposure = fp->exposure;
19 m_LockedFilter = fp->lockedFilter;
20 m_UseAutoFocus = fp->useAutoFocus;
21 m_AbsoluteFocusPosition = fp->absFocusPos;
22 m_FocusTemperature = fp->focusTemperature;
23 m_FocusAltitude = fp->focusAltitude;
24 m_FocusTicksPerTemp = fp->focusTicksPerTemp;
25 m_FocusTicksPerAlt = fp->focusTicksPerAlt;
26 m_Wavelength = fp->wavelength;
27}
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.