chore(cpn): upgrade to Ubuntu 22.04 and Qt 6.9.0 (#5986)

Co-authored-by: elecpower <elecpower@users.noreply.github.com>
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
This commit is contained in:
Neil Horne
2025-07-23 14:04:19 +02:00
committed by GitHub
co-authored by elecpower raphaelcoeffic
parent 7264b28e62
commit 9e86a3ea84
117 changed files with 4221 additions and 5155 deletions
+5 -2
View File
@@ -27,6 +27,7 @@
#include "filtereditemmodels.h"
#include <QMediaPlayer>
#include <QAudioOutput>
class TimerEdit;
@@ -53,8 +54,9 @@ class CustomFunctionsPanel : public GenericPanel
bool playSound(int index);
void stopSound(int index);
void toggleSound(bool play);
void onMediaPlayerStateChanged(QMediaPlayer::State state);
void onMediaPlayerError(QMediaPlayer::Error error);
void onMediaPlayerPlaybackStateChanged(QMediaPlayer::PlaybackState state);
void onMediaPlayerErrorOccurred(QMediaPlayer::Error error, const QString &errorString);
void cmDelete();
void cmCopy();
void cmPaste();
@@ -107,6 +109,7 @@ class CustomFunctionsPanel : public GenericPanel
QComboBox * fswtchRepeat[CPN_MAX_SPECIAL_FUNCTIONS];
QComboBox * fswtchGVmode[CPN_MAX_SPECIAL_FUNCTIONS];
QMediaPlayer * mediaPlayer;
QAudioOutput * audioOutput;
int selectedIndex;
int fswCapability;