Ekos::ProfileSettings
#include <profilesettings.h>
Public Types | |
enum | Settings { PrimaryOpticalTrain , CaptureOpticalTrain , FocusOpticalTrain , MountOpticalTrain , GuideOpticalTrain , AlignOpticalTrain , DarkLibraryOpticalTrain } |
Signals | |
void | updated () |
Additional Inherited Members | |
Properties inherited from QObject | |
objectName | |
Public Attributes inherited from QObject | |
typedef | QObjectList |
Protected Member Functions inherited from QObject | |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const QMetaMethod &signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const QMetaMethod &signal) |
bool | isSignalConnected (const QMetaMethod &signal) const const |
int | receivers (const char *signal) const const |
QObject * | sender () const const |
int | senderSignalIndex () const const |
virtual void | timerEvent (QTimerEvent *event) |
Detailed Description
The ProfileSettings class.
General-purpose class to encapsulate profile-specific settings in the database.
The settings are stored as QVariant Map. Each element in the array should have the following format. { "id1": payload1, "id2", payload2, ... }
- The ID is a unique number from the Settings enum.
- The Payload is QVariant.
- Version
- 1.0
Definition at line 37 of file profilesettings.h.
Member Enumeration Documentation
◆ Settings
enum Ekos::ProfileSettings::Settings |
Definition at line 47 of file profilesettings.h.
Member Function Documentation
◆ getOneSetting()
QVariant Ekos::ProfileSettings::getOneSetting | ( | Settings | id | ) |
Definition at line 86 of file profilesettings.cpp.
◆ getSettings()
|
inline |
Definition at line 65 of file profilesettings.h.
◆ id()
|
inline |
Definition at line 69 of file profilesettings.h.
◆ initSettings()
void Ekos::ProfileSettings::initSettings | ( | ) |
Definition at line 65 of file profilesettings.cpp.
◆ Instance()
|
static |
Definition at line 24 of file profilesettings.cpp.
◆ release()
|
static |
Definition at line 35 of file profilesettings.cpp.
◆ setOneSetting()
Definition at line 94 of file profilesettings.cpp.
◆ setProfile()
void Ekos::ProfileSettings::setProfile | ( | const QSharedPointer< ProfileInfo > & | profile | ) |
Definition at line 51 of file profilesettings.cpp.
◆ setSettings()
void Ekos::ProfileSettings::setSettings | ( | const QVariantMap & | settings | ) |
Definition at line 75 of file profilesettings.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:05 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.