some more renaming, flatpak manifest

This commit is contained in:
Blue 2023-12-03 18:34:16 -03:00
parent da9513e4d9
commit f97847b949
Signed by: blue
GPG Key ID: 9B203B252A63EE38
4 changed files with 23 additions and 4 deletions

19
org.macaw.magpie.yml Normal file
View File

@ -0,0 +1,19 @@
app-id: org.macaw.magpie
runtime: org.kde.Platform
runtime-version: '6.6'
sdk: org.kde.Sdk
command: magpie
finish-args:
- --share=ipc
- --share=network
- --socket=fallback-x11
- --socket=wayland
- --device=dri
modules:
- name: magpie
buildsystem: cmake
config-opts:
- -DCMAKE_BUILD_TYPE=Debug
sources:
- type: dir
path: .

View File

@ -15,7 +15,7 @@ Page {
Label { Label {
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
text: qsTr("Welcome to Megpie!") text: qsTr("Welcome to Magpie!")
font { font {
pixelSize: 22 pixelSize: 22
bold: true bold: true

View File

@ -12,7 +12,7 @@ ApplicationWindow {
width: 640 width: 640
height: 480 height: 480
visible: true visible: true
title: "Megpie" title: "Magpie"
header: Label { header: Label {
text: stack.currentItem.title text: stack.currentItem.title

View File

@ -7,7 +7,7 @@ Root::Root(const QUrl& root, int& argc, char* argv[]) :
context(engine.rootContext()), context(engine.rootContext()),
api() api()
{ {
std::cout << "Starting megpie..." << std::endl; std::cout << "Starting Magpie..." << std::endl;
connect(&engine, &QQmlApplicationEngine::objectCreated, connect(&engine, &QQmlApplicationEngine::objectCreated,
this, &Root::onObjectCreated, this, &Root::onObjectCreated,
@ -36,7 +36,7 @@ bool Root::notify(QObject* receiver, QEvent* e) {
std::cout << "Caught an exception" << std::endl; std::cout << "Caught an exception" << std::endl;
} }
std::cout << "Squawk is quiting..." << std::endl; std::cout << "Magpie is quiting..." << std::endl;
exit(1); exit(1);
return false; return false;
} }