Kstars
7#include "profileinfo.h"
9ProfileInfo::ProfileInfo(
int id,
const QString &name)
13 port = INDIWebManagerPort = guiderport = -1;
16QString ProfileInfo::mount()
const
18 if (drivers.contains(
"Mount"))
19 return drivers[
"Mount"];
26 if (drivers.contains(
"CCD"))
27 return drivers[
"CCD"];
32QString ProfileInfo::guider()
const
34 if (drivers.contains(
"Guider"))
35 return drivers[
"Guider"];
40QString ProfileInfo::focuser()
const
42 if (drivers.contains(
"Focuser"))
43 return drivers[
"Focuser"];
48QString ProfileInfo::filter()
const
50 if (drivers.contains(
"Filter"))
51 return drivers[
"Filter"];
56QString ProfileInfo::dome()
const
58 if (drivers.contains(
"Dome"))
59 return drivers[
"Dome"];
64QString ProfileInfo::weather()
const
66 if (drivers.contains(
"Weather"))
67 return drivers[
"Weather"];
74 if (drivers.contains(
"AO"))
80QString ProfileInfo::aux1()
const
82 if (drivers.contains(
"Aux1"))
83 return drivers[
"Aux1"];
88QString ProfileInfo::aux2()
const
90 if (drivers.contains(
"Aux2"))
91 return drivers[
"Aux2"];
96QString ProfileInfo::aux3()
const
98 if (drivers.contains(
"Aux3"))
99 return drivers[
"Aux3"];
104QString ProfileInfo::aux4()
const
106 if (drivers.contains(
"Aux4"))
107 return drivers[
"Aux4"];
117 {
"auto_connect", autoConnect},
118 {
"port_selector", portSelector},
119 {
"mode", host.isEmpty() ?
"local" :
"remote"},
120 {
"remote_host", host},
121 {
"remote_port", port},
122 {
"indihub", indihub},
123 {
"guiding", guidertype},
124 {
"remote_guiding_host", guiderhost},
125 {
"remote_guiding_port", guiderport},
126 {
"use_web_manager", INDIWebManagerPort != -1},
129 {
"guider", guider()},
130 {
"focuser", focuser()},
131 {
"filter", filter()},
134 {
"weather", weather()},
139 {
"remote", remotedrivers},
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:00 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.