diff --git a/ksplash/CMakeLists.txt b/ksplash/CMakeLists.txt index c600272a4..a4c75782f 100644 --- a/ksplash/CMakeLists.txt +++ b/ksplash/CMakeLists.txt @@ -1,2 +1 @@ -add_subdirectory( none ) add_subdirectory( ksplashqml ) diff --git a/ksplash/ksplashqml/CMakeLists.txt b/ksplash/ksplashqml/CMakeLists.txt index 76ef96a58..20e16f1e4 100644 --- a/ksplash/ksplashqml/CMakeLists.txt +++ b/ksplash/ksplashqml/CMakeLists.txt @@ -1,5 +1,3 @@ -add_subdirectory(themes) - set(ksplashqml_SRCS main.cpp splashapp.cpp diff --git a/ksplash/ksplashqml/themes/CMakeLists.txt b/ksplash/ksplashqml/themes/CMakeLists.txt deleted file mode 100644 index d089db8b8..000000000 --- a/ksplash/ksplashqml/themes/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ -add_subdirectory(Minimalistic) -add_subdirectory(Classic) diff --git a/ksplash/ksplashqml/themes/Classic/CMakeLists.txt b/ksplash/ksplashqml/themes/Classic/CMakeLists.txt deleted file mode 100644 index d09ac5b86..000000000 --- a/ksplash/ksplashqml/themes/Classic/CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ -install(FILES Preview.png Theme.rc main.qml FadeIn.qml DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Classic) - -install(FILES images/icon1.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Classic/images) -install(FILES images/icon2.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Classic/images) -install(FILES images/icon3.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Classic/images) -install(FILES images/icon4.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Classic/images) -install(FILES images/icon5.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Classic/images) -install(FILES images/rectangle.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Classic/images) -install(FILES images/background.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Classic/images) diff --git a/ksplash/ksplashqml/themes/Classic/FadeIn.qml b/ksplash/ksplashqml/themes/Classic/FadeIn.qml deleted file mode 100644 index 9d795af4f..000000000 --- a/ksplash/ksplashqml/themes/Classic/FadeIn.qml +++ /dev/null @@ -1,13 +0,0 @@ -/* - SPDX-FileCopyrightText: 2013 Martin Klapetek - - SPDX-License-Identifier: GPL-2.0-or-later -*/ - -import QtQuick 2.0 - -NumberAnimation { - id: fadeIn - duration: 1000 - easing.type: Easing.InOutQuad -} diff --git a/ksplash/ksplashqml/themes/Classic/Preview.png b/ksplash/ksplashqml/themes/Classic/Preview.png deleted file mode 100644 index 6f00e3b53..000000000 Binary files a/ksplash/ksplashqml/themes/Classic/Preview.png and /dev/null differ diff --git a/ksplash/ksplashqml/themes/Classic/Theme.rc b/ksplash/ksplashqml/themes/Classic/Theme.rc deleted file mode 100644 index a8bbfc7f8..000000000 --- a/ksplash/ksplashqml/themes/Classic/Theme.rc +++ /dev/null @@ -1,6 +0,0 @@ -[KSplash Theme: Classic] -Name = Classic Splash Screen -Description = Splash Screen from the good old KDE SC 4 series -Version = 1.0 -Author = Martin Klapetek -Homepage = http://www.kde.org diff --git a/ksplash/ksplashqml/themes/Classic/images/background.png b/ksplash/ksplashqml/themes/Classic/images/background.png deleted file mode 100644 index e3650c3f5..000000000 Binary files a/ksplash/ksplashqml/themes/Classic/images/background.png and /dev/null differ diff --git a/ksplash/ksplashqml/themes/Classic/images/icon1.png b/ksplash/ksplashqml/themes/Classic/images/icon1.png deleted file mode 100644 index 93daa84e7..000000000 Binary files a/ksplash/ksplashqml/themes/Classic/images/icon1.png and /dev/null differ diff --git a/ksplash/ksplashqml/themes/Classic/images/icon2.png b/ksplash/ksplashqml/themes/Classic/images/icon2.png deleted file mode 100644 index 2078ad1e7..000000000 Binary files a/ksplash/ksplashqml/themes/Classic/images/icon2.png and /dev/null differ diff --git a/ksplash/ksplashqml/themes/Classic/images/icon3.png b/ksplash/ksplashqml/themes/Classic/images/icon3.png deleted file mode 100644 index 48b2ffe78..000000000 Binary files a/ksplash/ksplashqml/themes/Classic/images/icon3.png and /dev/null differ diff --git a/ksplash/ksplashqml/themes/Classic/images/icon4.png b/ksplash/ksplashqml/themes/Classic/images/icon4.png deleted file mode 100644 index 15699e212..000000000 Binary files a/ksplash/ksplashqml/themes/Classic/images/icon4.png and /dev/null differ diff --git a/ksplash/ksplashqml/themes/Classic/images/icon5.png b/ksplash/ksplashqml/themes/Classic/images/icon5.png deleted file mode 100644 index 4540cb30d..000000000 Binary files a/ksplash/ksplashqml/themes/Classic/images/icon5.png and /dev/null differ diff --git a/ksplash/ksplashqml/themes/Classic/images/rectangle.png b/ksplash/ksplashqml/themes/Classic/images/rectangle.png deleted file mode 100644 index d9d62f51c..000000000 Binary files a/ksplash/ksplashqml/themes/Classic/images/rectangle.png and /dev/null differ diff --git a/ksplash/ksplashqml/themes/Classic/main.qml b/ksplash/ksplashqml/themes/Classic/main.qml deleted file mode 100644 index 48f9ddd92..000000000 --- a/ksplash/ksplashqml/themes/Classic/main.qml +++ /dev/null @@ -1,114 +0,0 @@ -/* - SPDX-FileCopyrightText: 2013 Martin Klapetek - - SPDX-License-Identifier: GPL-2.0-or-later -*/ - -import QtQuick 2.0 - -Item { - id: main - - width: screenSize.width - height: screenSize.height - - property int stage - property int iconSize: 78 - - onStageChanged: { - if (stage == 1) { - iconsBackgroundRect.opacity = 1 - } - if (stage == 2) { - icon1.opacity = 1 - } - if (stage == 3) { - icon2.opacity = 1 - } - if (stage == 4) { - icon3.opacity = 1 - } - if (stage == 5) { - icon4.opacity = 1 - } - if (stage == 6) { - icon5.opacity = 1 - } - } - - Image { - id: background - anchors.fill: parent - source: "images/background.png" - } - - Image { - id: iconsBackgroundRect - anchors.centerIn: main - width: row.implicitWidth + 32 // 32 being margins - source: "images/rectangle.png" - - opacity: 0 - Behavior on opacity { FadeIn {} } - - Row { - id: row - anchors.horizontalCenter: parent.horizontalCenter - height: parent.height - - Image { - id: icon1 - anchors.verticalCenter: parent.verticalCenter - width: iconSize - source: "images/icon1.png" - - opacity: 0 - Behavior on opacity { FadeIn {} } - } - - Image { - id: icon2 - anchors.verticalCenter: parent.verticalCenter - width: iconSize - source: "images/icon2.png" - - opacity: 0 - Behavior on opacity { FadeIn {} } - } - - - Image { - id: icon3 - anchors.verticalCenter: parent.verticalCenter - width: iconSize - source: "images/icon3.png" - - opacity: 0 - Behavior on opacity { FadeIn {} } - } - - - Image { - id: icon4 - anchors.verticalCenter: parent.verticalCenter - width: iconSize - source: "images/icon4.png" - - opacity: 0 - Behavior on opacity { FadeIn {} } - } - - - Image { - id: icon5 - anchors.verticalCenter: parent.verticalCenter - width: 125 - source: "images/icon5.png" - - opacity: 0 - Behavior on opacity { FadeIn {} } - } - } - } -} - diff --git a/ksplash/ksplashqml/themes/Minimalistic/CMakeLists.txt b/ksplash/ksplashqml/themes/Minimalistic/CMakeLists.txt deleted file mode 100644 index 1d83f776a..000000000 --- a/ksplash/ksplashqml/themes/Minimalistic/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -install(FILES Preview.png Theme.rc main.qml DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Minimalistic) - -install(FILES images/kdegear.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Minimalistic/images) -install(FILES images/kdeletter.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Minimalistic/images) -install(FILES images/kdemask.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Minimalistic/images) -install(FILES images/kdelogo.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Minimalistic/images) -install(FILES images/kdelogo-contrast.png DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/Minimalistic/images) diff --git a/ksplash/ksplashqml/themes/Minimalistic/Preview.png b/ksplash/ksplashqml/themes/Minimalistic/Preview.png deleted file mode 100644 index 532adf729..000000000 Binary files a/ksplash/ksplashqml/themes/Minimalistic/Preview.png and /dev/null differ diff --git a/ksplash/ksplashqml/themes/Minimalistic/Theme.rc b/ksplash/ksplashqml/themes/Minimalistic/Theme.rc deleted file mode 100644 index 2d8dd9b73..000000000 --- a/ksplash/ksplashqml/themes/Minimalistic/Theme.rc +++ /dev/null @@ -1,9 +0,0 @@ -[KSplash Theme: Minimalistic] -Name = Minimalistic splash screen -Description = Animated KDE logo on a black background -Version = 1.0 -Author = Ivan Cukic -Homepage = https://www.kde.org - -# Theme behaviour settings. -Engine = KSplashQML diff --git a/ksplash/ksplashqml/themes/Minimalistic/images/kdegear.png b/ksplash/ksplashqml/themes/Minimalistic/images/kdegear.png deleted file mode 100644 index 66a50c2b8..000000000 Binary files a/ksplash/ksplashqml/themes/Minimalistic/images/kdegear.png and /dev/null differ diff --git a/ksplash/ksplashqml/themes/Minimalistic/images/kdeletter.png b/ksplash/ksplashqml/themes/Minimalistic/images/kdeletter.png deleted file mode 100644 index cabe17c3d..000000000 Binary files a/ksplash/ksplashqml/themes/Minimalistic/images/kdeletter.png and /dev/null differ diff --git a/ksplash/ksplashqml/themes/Minimalistic/images/kdelogo-contrast.png b/ksplash/ksplashqml/themes/Minimalistic/images/kdelogo-contrast.png deleted file mode 100644 index fe607158c..000000000 Binary files a/ksplash/ksplashqml/themes/Minimalistic/images/kdelogo-contrast.png and /dev/null differ diff --git a/ksplash/ksplashqml/themes/Minimalistic/images/kdelogo.png b/ksplash/ksplashqml/themes/Minimalistic/images/kdelogo.png deleted file mode 100644 index d637b374c..000000000 Binary files a/ksplash/ksplashqml/themes/Minimalistic/images/kdelogo.png and /dev/null differ diff --git a/ksplash/ksplashqml/themes/Minimalistic/images/kdemask.png b/ksplash/ksplashqml/themes/Minimalistic/images/kdemask.png deleted file mode 100644 index 50319fc6e..000000000 Binary files a/ksplash/ksplashqml/themes/Minimalistic/images/kdemask.png and /dev/null differ diff --git a/ksplash/ksplashqml/themes/Minimalistic/main.qml b/ksplash/ksplashqml/themes/Minimalistic/main.qml deleted file mode 100644 index 04e882e90..000000000 --- a/ksplash/ksplashqml/themes/Minimalistic/main.qml +++ /dev/null @@ -1,168 +0,0 @@ -/* vim:set foldenable foldmethod=marker: - - SPDX-FileCopyrightText: 2011 Ivan Cukic - - SPDX-License-Identifier: GPL-2.0-or-later -*/ - -import QtQuick 2.0 - -Item { - id: main - - width: screenSize.width - height: screenSize.height - // width: 300 - // height: 300 - - /* property declarations --------------------------{{{ */ - property int stage - property int iconSize: (screenSize.width <= 1024) ? 64 : 128 - /* }}} */ - - /* signal declarations ----------------------------{{{ */ - - /* }}} */ - - /* JavaScript functions ---------------------------{{{ */ - onStageChanged: { - if (stage == 1) { - background.opacity = 1 - gear.opacity = 0.5 - } - if (stage == 2) { - gear.opacity = 1 - mask.opacity = 1 - letter.opacity = 1 - } - if (stage == 3) { - } - if (stage == 4) { - } - if (stage == 5) { - logo.opacity = 1 - } - if (stage == 6) { - } - } - /* }}} */ - - /* object properties ------------------------------{{{ */ - - /* }}} */ - - /* child objects ----------------------------------{{{ */ - - Rectangle { - color: "black" - anchors.fill: parent - } - - Rectangle { - id: background - - gradient: Gradient { - GradientStop { position: 0.0; color: "#55555f" } - GradientStop { position: 1.0; color: "#000000" } - } - - anchors { - top: parent.top - left: parent.left - right: parent.right - } - - height: gear.y - 32 - - opacity: 0 - Behavior on opacity { NumberAnimation { duration: 1000; easing { type: Easing.InOutQuad } } } - } - - Image { - id: gear - - height: iconSize - width: iconSize - smooth: true - - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - - source: "images/kdegear.png" - - opacity: 0 - Behavior on opacity { NumberAnimation { duration: 1000; easing { type: Easing.InOutQuad } } } - - NumberAnimation { - id: animateRotation - target: gear - properties: "rotation" - from: 0 - to: 360 - duration: 5000 - - loops: Animation.Infinite - running: true - } - - } - - Image { - id: mask - - height: iconSize - width: iconSize - smooth: true - - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - - source: "images/kdemask.png" - - opacity: 0 - Behavior on opacity { NumberAnimation { duration: 1000; easing { type: Easing.InOutQuad } } } - } - - Image { - id: letter - - height: iconSize - width: iconSize - smooth: true - - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - - source: "images/kdeletter.png" - - opacity: 0 - Behavior on opacity { NumberAnimation { duration: 1000; easing { type: Easing.InOutQuad } } } - } - - Image { - id: logo - - height: iconSize - width: iconSize - smooth: true - - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - 1 - - source: "images/kdelogo-contrast.png" - - opacity: 0 - Behavior on opacity { NumberAnimation { duration: 1000; easing { type: Easing.InOutQuad } } } - } - - /* }}} */ - - /* stages -----------------------------------------{{{ */ - - /* }}} */ - - /* transitions ------------------------------------{{{ */ - - /* }}} */ -} - diff --git a/ksplash/none/CMakeLists.txt b/ksplash/none/CMakeLists.txt deleted file mode 100644 index 05ad23f1f..000000000 --- a/ksplash/none/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -install( FILES Theme.rc DESTINATION ${KDE_INSTALL_DATADIR}/ksplash/Themes/None ) diff --git a/ksplash/none/Theme.rc b/ksplash/none/Theme.rc deleted file mode 100644 index d4b33709c..000000000 --- a/ksplash/none/Theme.rc +++ /dev/null @@ -1,7 +0,0 @@ -[KSplash Theme: None] -Name = No Splash Screen -Description = Splash Screen Turned Off -Version = 1.0 -Engine = None -License = MIT -Homepage = http://www.kde.org