30 #ifndef SOURCESETTINGS_H
31 #define SOURCESETTINGS_H
49 std::string sourceName;
58 return sourceName !=
"";
108 #endif // SOURCESETTINGS_H
bool canLoadOrSave()
Gets whether the SourceSettings instance can be saved or not.
Definition: sourcesettings.h:56
void setSourceName(const std::string &name)
Sets the name of the associated source.
Definition: sourcesettings.cpp:80
std::string getSourceName() const
Gets the name of the associated source.
Definition: sourcesettings.cpp:55
cavapa::CameraSettings toCameraSettings() const
Converts the instance of SourceSettings to CameraSettings.
Definition: sourcesettings.cpp:85
Represents the settings for a video source.
Definition: sourcesettings.h:46
SourceSettings()
Constructs a new SourceSettings object with default values and an empty name.
Definition: sourcesettings.cpp:39
Provides methods for loading and saving the application settings.
Definition: settings.h:48
void setCameraSettings(const cavapa::CameraSettings &cameraSettings)
Sets the camera settings for the instance of SourceSettings.
Definition: sourcesettings.cpp:60
std::string getGroupName()
Gets the name of the setting group.
Definition: sourcesettings.h:65