fix: port Konsole to Redox Qt surface

This commit is contained in:
2026-05-07 09:11:47 +01:00
parent b54b2dbf76
commit 702cbfd429
19 changed files with 534 additions and 30 deletions
@@ -9,9 +9,12 @@
#define VT102EMULATION_H
// Qt
#include "config-konsole.h"
#include <QHash>
#include <QMap>
#if HAVE_QTMULTIMEDIA
#include <QMediaPlayer>
#endif
#include <QPair>
#include <QVector>
#include <QList>
@@ -100,7 +103,9 @@ private Q_SLOTS:
// pair in _pendingSessionAttributesUpdates.
// Used to buffer multiple attribute updates in the current session
void updateSessionAttributes();
#if HAVE_QTMULTIMEDIA
void deletePlayer(QMediaPlayer::MediaStatus);
#endif
private:
unsigned int applyCharset(uint c);
@@ -315,7 +320,9 @@ private:
// For kitty graphics protocol - image cache
int getFreeGraphicsImageId();
#if HAVE_QTMULTIMEDIA
QMediaPlayer *player;
#endif
};
}