Kstars

filter.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/filter.h"
8 
9 OAL::Filter::Filter(const QString &id, const QString &model, const QString &vendor, const QString &type, const QString &color,
10  double exposure, int offset, bool useAutoFocus, const QString &lockedFilter, int absFocusPosition)
11 {
12  m_Id = id;
13  m_Model = model;
14  m_Vendor = vendor;
15  m_Type = type;
16  m_Color = color;
17  m_Name = vendor + ' ' + model + " - " + type + ' ' + color + " (" + id + ')';
18  m_Offset = offset;
19  m_Exposure = exposure;
20  m_LockedFilter = lockedFilter;
21  m_UseAutoFocus = useAutoFocus;
22  m_AbsoluteFocusPosition = absFocusPosition;
23 }
Type type(const QSqlDatabase &db)
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue Aug 9 2022 04:06:02 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.