22 #if defined(Q_OS_LINUX)
25 #if defined(Q_OS_MACOS)
48 return (driver ==
"Network");
58 return (driver ==
"Network")
59 #if defined(Q_OS_LINUX)
60 || (driver ==
"SonivoxEAS")
62 #
if defined(Q_OS_MACOS)
63 || (driver ==
"DLS Synth")
65 || (driver ==
"FluidSynth");
78 if (driver ==
"Network") {
79 NetworkSettingsDialog dlg(parent);
80 return (dlg.exec() == QDialog::Accepted);
97 if (driver ==
"Network") {
98 NetworkSettingsDialog dlg(parent);
99 return (dlg.exec() == QDialog::Accepted);
100 }
else if (driver ==
"FluidSynth") {
101 FluidSettingsDialog dlg(parent);
102 return (dlg.exec() == QDialog::Accepted);
103 #if defined(Q_OS_LINUX)
104 }
else if (driver ==
"SonivoxEAS") {
105 SonivoxSettingsDialog dlg(parent);
106 return (dlg.exec() == QDialog::Accepted);
108 #if defined(Q_OS_MACOS)
109 }
else if (driver ==
"DLS Synth") {
110 MacSynthSettingsDialog dlg(parent);
111 return (dlg.exec() == QDialog::Accepted);
129 if (driver ==
"FluidSynth") {
130 FluidSettingsDialog dlg(parent);
131 dlg.changeSoundFont(fileName);
132 #if defined(Q_OS_MACOS)
133 }
else if (driver ==
"DLS Synth") {
134 MacSynthSettingsDialog dlg(parent);
135 dlg.changeSoundFont(fileName);
146 return QStringLiteral(QT_STRINGIFY(VERSION));
Functions providing configuration dialogs.
Declaration of the Fluidsynth configuration dialog.
Declaration of the Mac Synth configuration dialog.
Declaration of the Network configuration dialog.
Definition of the Sonivox Synth configuration dialog.