LIDL Soundboard  1.9.0
A simple soundboard, yet better than EXP Soundboard forsenE
Profile::Builder Class Reference

#include <Profile.h>

Collaboration diagram for Profile::Builder:
Collaboration graph

Public Member Functions

 Builder ()
 
BuildersetName (QString name)
 
BuilderaddExe (QString exe)
 
BuildersetParent (Profile *parent)
 
BuildersetSounds (QVector< std::shared_ptr< SoundWrapper >> wrappers)
 
BuildersetPttVirtualKey (int vk)
 
BuildersetPttScanCode (int sc)
 
BuildersetPttKeySequence (QKeySequence ks)
 
ProfileBuild ()
 

Private Attributes

QSet< QString > _exeList
 
QString _name = "Default"
 
Profile_parent = nullptr
 
QVector< std::shared_ptr< SoundWrapper > > _wrappers
 
int _pttVirtualKey = -1
 
int _pttScanCode = -1
 
QKeySequence _pttKeySequence = QKeySequence()
 

Constructor & Destructor Documentation

◆ Builder()

Profile::Builder::Builder ( )
inline

References _wrappers.

Member Function Documentation

◆ addExe()

Builder& Profile::Builder::addExe ( QString  exe)
inline

Referenced by LIDL::Controller::SaveController::OpenSaveFile().

Here is the caller graph for this function:

◆ Build()

Profile* Profile::Builder::Build ( )
inline

References _exeList, _name, _parent, _pttKeySequence, _pttScanCode, _pttVirtualKey, _wrappers, and Profile::Profile().

Referenced by LIDL::Controller::SaveController::OpenSaveFile(), and LIDL::Controller::SaveController::ParseOldSave().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setName()

Builder& Profile::Builder::setName ( QString  name)
inline

Referenced by LIDL::Controller::SaveController::OpenSaveFile().

Here is the caller graph for this function:

◆ setParent()

Builder& Profile::Builder::setParent ( Profile parent)
inline

◆ setPttKeySequence()

Builder& Profile::Builder::setPttKeySequence ( QKeySequence  ks)
inline

Referenced by LIDL::Controller::SaveController::OpenSaveFile(), and LIDL::Controller::SaveController::ParseOldSave().

Here is the caller graph for this function:

◆ setPttScanCode()

Builder& Profile::Builder::setPttScanCode ( int  sc)
inline

Referenced by LIDL::Controller::SaveController::OpenSaveFile(), and LIDL::Controller::SaveController::ParseOldSave().

Here is the caller graph for this function:

◆ setPttVirtualKey()

Builder& Profile::Builder::setPttVirtualKey ( int  vk)
inline

Referenced by LIDL::Controller::SaveController::OpenSaveFile(), and LIDL::Controller::SaveController::ParseOldSave().

Here is the caller graph for this function:

◆ setSounds()

Builder& Profile::Builder::setSounds ( QVector< std::shared_ptr< SoundWrapper >>  wrappers)
inline

Referenced by LIDL::Controller::SaveController::OpenSaveFile(), and LIDL::Controller::SaveController::ParseOldSave().

Here is the caller graph for this function:

Member Data Documentation

◆ _exeList

QSet<QString> Profile::Builder::_exeList
private

Array of executables

Referenced by Build().

◆ _name

QString Profile::Builder::_name = "Default"
private

Referenced by Build().

◆ _parent

Profile* Profile::Builder::_parent = nullptr
private

Referenced by Build().

◆ _pttKeySequence

QKeySequence Profile::Builder::_pttKeySequence = QKeySequence()
private

Referenced by Build().

◆ _pttScanCode

int Profile::Builder::_pttScanCode = -1
private

Referenced by Build().

◆ _pttVirtualKey

int Profile::Builder::_pttVirtualKey = -1
private

Referenced by Build().

◆ _wrappers

QVector<std::shared_ptr<SoundWrapper> > Profile::Builder::_wrappers
private

Referenced by Build(), and Builder().


The documentation for this class was generated from the following file: