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:
co-authored by
elecpower
raphaelcoeffic
parent
7264b28e62
commit
9e86a3ea84
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user