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(
true, parent);
80 return (dlg.exec() == QDialog::Accepted);
98 if (driver ==
"Network") {
99 NetworkSettingsDialog dlg(
false, parent);
100 result = (dlg.exec() == QDialog::Accepted);
101 }
else if (driver ==
"FluidSynth") {
102 FluidSettingsDialog dlg(parent);
103 result = (dlg.exec() == QDialog::Accepted);
104#if defined(Q_OS_LINUX)
105 }
else if (driver ==
"SonivoxEAS") {
106 SonivoxSettingsDialog dlg(parent);
107 result = (dlg.exec() == QDialog::Accepted);
109#if defined(Q_OS_MACOS)
110 }
else if (driver ==
"DLS Synth") {
111 MacSynthSettingsDialog dlg(parent);
112 return (dlg.exec() == QDialog::Accepted);
130 if (driver ==
"FluidSynth") {
131 FluidSettingsDialog dlg(parent);
132 dlg.changeSoundFont(fileName);
133#if defined(Q_OS_MACOS)
134 }
else if (driver ==
"DLS Synth") {
135 MacSynthSettingsDialog dlg(parent);
136 dlg.changeSoundFont(fileName);
147 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.