1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-01-18 12:15:27 +00:00

Restore legacy Connection slots. Restore compilation on Qt 5.12.

This commit is contained in:
Filippo Scognamiglio 2022-01-12 21:08:58 +01:00
parent 41f34c3992
commit 2261af17d7
3 changed files with 13 additions and 13 deletions

View File

@ -76,7 +76,7 @@ Loader {
Connections { Connections {
target: kterminal target: kterminal
function onImagePainted() { onImagePainted: {
completelyUpdate() completelyUpdate()
} }
} }
@ -84,19 +84,19 @@ Loader {
Connections { Connections {
target: appSettings target: appSettings
function onBurnInChanged() { onBurnInChanged: {
burnInEffect.restartBlurSource() burnInEffect.restartBlurSource()
} }
function onTerminalFontChanged() { onTerminalFontChanged: {
burnInEffect.restartBlurSource() burnInEffect.restartBlurSource()
} }
function onRasterizationChanged() { onRasterizationChanged: {
burnInEffect.restartBlurSource() burnInEffect.restartBlurSource()
} }
function onBurnInQualityChanged() { onBurnInQualityChanged: {
burnInEffect.restartBlurSource() burnInEffect.restartBlurSource()
} }
} }

View File

@ -47,14 +47,14 @@ Item{
Connections { Connections {
target: copyAction target: copyAction
function onTriggered() { onTriggered: {
kterminal.copyClipboard() kterminal.copyClipboard()
} }
} }
Connections { Connections {
target: pasteAction target: pasteAction
function onTriggered() { onTriggered: {
kterminal.pasteClipboard() kterminal.pasteClipboard()
} }
} }
@ -63,29 +63,29 @@ Item{
Connections { Connections {
target: appSettings target: appSettings
function onFontScalingChanged() { onFontScalingChanged: {
terminalContainer.updateSources() terminalContainer.updateSources()
} }
function onFontWidthChanged() { onFontWidthChanged: {
terminalContainer.updateSources() terminalContainer.updateSources()
} }
} }
Connections { Connections {
target: terminalContainer target: terminalContainer
function onWidthChanged() { onWidthChanged: {
terminalContainer.updateSources() terminalContainer.updateSources()
} }
function onHeightChanged() { onHeightChanged: {
terminalContainer.updateSources() terminalContainer.updateSources()
} }
} }
Connections { Connections {
target: terminalWindow target: terminalWindow
function onActiveChanged() { onActiveChanged: {
kterminal.forceActiveFocus() kterminal.forceActiveFocus()
} }
} }

View File

@ -69,7 +69,7 @@ ColumnLayout {
Connections { Connections {
target: appSettings target: appSettings
function onTerminalFontChanged() { onTerminalFontChanged: {
fontChanger.updateIndex() fontChanger.updateIndex()
} }
} }