diff --git a/.gitignore b/.gitignore index 365d6ec..8204296 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,7 @@ Makefile* # Others *.xcf + +# Ubuntu SDk +*.excludes +*.json diff --git a/README.md b/README.md index ad296d6..d08f7f1 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -#cool-old-term +#cool-retro-term ##Description -cool-old-term is a terminal emulator which tries to mimic the look and feel of the old cathode tube screens. +cool-retro-term is a terminal emulator which mimics the look and feel of the old cathode tube screens. It has been designed to be eye-candy, customizable, and reasonably lightweight. -It now uses the Konsole engine which is powerful and mature. +It uses the Konsole engine which is powerful and mature. This terminal emulator requires Qt 5.2 or higher to run. @@ -13,14 +13,14 @@ This terminal emulator requires Qt 5.2 or higher to run. ![Image]() ![Image]() -## Get cool-old-term -You can either build cool-old-term yourself (see below) or walk the easy way and install one of these packages: +## Get cool-retro-term +You can either build cool-retro-term yourself (see below) or walk the easy way and install one of these packages: -Users of Fedora and openSUSE can grab a package from [Open Build Service](http://software.opensuse.org/package/cool-old-term). +Users of Fedora and openSUSE can grab a package from [Open Build Service](http://software.opensuse.org/package/cool-retro-term). -Arch users can install this [package](https://aur.archlinux.org/packages/cool-old-term-git/) directly via the [AUR](https://aur.archlinux.org): +Arch users can install this [package](https://aur.archlinux.org/packages/cool-retro-term-git/) directly via the [AUR](https://aur.archlinux.org): - yaourt -S aur/cool-old-term-git + yaourt -S aur/cool-retro-term-git ##Build instructions @@ -81,17 +81,14 @@ Once you installed all dependencies (Qt is installed and in your path) you need ```bash # Get it from GitHub -git clone https://github.com/Swordifish90/cool-old-term.git +git clone https://github.com/Swordfish90/cool-retro-term.git # Build it -cd cool-old-term -cd konsole-qml-plugin +cd cool-retro-term # Compile (Fedora and OpenSUSE user should use qmake-qt5 instead of qmake) -qmake && make && make install - -cd .. +qmake && make # Have fun! -./cool-old-term +./cool-retro-term ``` diff --git a/app/app.pro b/app/app.pro new file mode 100644 index 0000000..3e47c73 --- /dev/null +++ b/app/app.pro @@ -0,0 +1,15 @@ +QT += qml quick widgets +TARGET = cool-retro-term + +DESTDIR = $$OUT_PWD/../ +SOURCES = main.cpp + +RESOURCES += qml/resources.qrc + +######################################### +## INTALLS +######################################### + +target.path += /usr/bin/ + +INSTALLS += target diff --git a/app/main.cpp b/app/main.cpp new file mode 100644 index 0000000..259b64f --- /dev/null +++ b/app/main.cpp @@ -0,0 +1,27 @@ +#include +#include + +#include + +#include +#include + + +int main(int argc, char *argv[]) +{ + setenv("QT_QPA_PLATFORMTHEME", "", 1); + QApplication app(argc, argv); + QQmlApplicationEngine engine; + + // Managing some env variables + + // Manage import paths + QStringList importPathList = engine.importPathList(); + importPathList.prepend(QCoreApplication::applicationDirPath() + "/imports/"); + engine.setImportPathList(importPathList); + + engine.load(QUrl("qrc:/main.qml")); + + return app.exec(); +} + diff --git a/app/AboutDialog.qml b/app/qml/AboutDialog.qml similarity index 93% rename from app/AboutDialog.qml rename to app/qml/AboutDialog.qml index 8c109c2..a2747c4 100644 --- a/app/AboutDialog.qml +++ b/app/qml/AboutDialog.qml @@ -15,7 +15,7 @@ Window{ spacing: 15 Text { anchors.horizontalCenter: parent.horizontalCenter - text: "cool-old-term" + text: "cool-retro-term" font {bold: true; pointSize: 18} } Loader{ @@ -74,7 +74,7 @@ Window{ text: shadersettings.version + "\n" + qsTr("Author: ") + "Filippo Scognamiglio\n" + qsTr("Email: ") + "flscogna@gmail.com\n" + - qsTr("Source: ") + "https://github.com/Swordifish90/cool-old-term\n" + qsTr("Source: ") + "https://github.com/Swordfish90/cool-retro-term\n" } } } @@ -84,9 +84,9 @@ Window{ anchors.fill: parent readOnly: true text: "Copyright (c) 2013 Filippo Scognamiglio \n\n" + - "https://github.com/Swordifish90/cool-old-term\n\n" + + "https://github.com/Swordfish90/cool-retro-term\n\n" + - "cool-old-term is free software: you can redistribute it and/or modify " + + "cool-retro-term is free software: you can redistribute it and/or modify " + "it under the terms of the GNU General Public License as published by " + "the Free Software Foundation, either version 3 of the License, or " + "(at your option) any later version.\n\n" + diff --git a/app/ApplicationSettings.qml b/app/qml/ApplicationSettings.qml similarity index 99% rename from app/ApplicationSettings.qml rename to app/qml/ApplicationSettings.qml index faa56a6..9c97946 100644 --- a/app/ApplicationSettings.qml +++ b/app/qml/ApplicationSettings.qml @@ -1,10 +1,10 @@ /******************************************************************************* * Copyright (c) 2013 "Filippo Scognamiglio" -* https://github.com/Swordifish90/cool-old-term +* https://github.com/Swordfish90/cool-retro-term * -* This file is part of cool-old-term. +* This file is part of cool-retro-term. * -* cool-old-term is free software: you can redistribute it and/or modify +* cool-retro-term is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. diff --git a/app/CheckableSlider.qml b/app/qml/CheckableSlider.qml similarity index 93% rename from app/CheckableSlider.qml rename to app/qml/CheckableSlider.qml index 683317b..ceb9c4f 100644 --- a/app/CheckableSlider.qml +++ b/app/qml/CheckableSlider.qml @@ -1,10 +1,10 @@ /******************************************************************************* * Copyright (c) 2013 "Filippo Scognamiglio" -* https://github.com/Swordifish90/cool-old-term +* https://github.com/Swordfish90/cool-retro-term * -* This file is part of cool-old-term. +* This file is part of cool-retro-term. * -* cool-old-term is free software: you can redistribute it and/or modify +* cool-retro-term is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. diff --git a/app/ColorButton.qml b/app/qml/ColorButton.qml similarity index 91% rename from app/ColorButton.qml rename to app/qml/ColorButton.qml index 4a737be..3c1eb60 100644 --- a/app/ColorButton.qml +++ b/app/qml/ColorButton.qml @@ -1,10 +1,10 @@ /******************************************************************************* * Copyright (c) 2013 "Filippo Scognamiglio" -* https://github.com/Swordifish90/cool-old-term +* https://github.com/Swordfish90/cool-retro-term * -* This file is part of cool-old-term. +* This file is part of cool-retro-term. * -* cool-old-term is free software: you can redistribute it and/or modify +* cool-retro-term is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. diff --git a/app/FontPixels.qml b/app/qml/FontPixels.qml similarity index 93% rename from app/FontPixels.qml rename to app/qml/FontPixels.qml index 1095776..b6debbd 100644 --- a/app/FontPixels.qml +++ b/app/qml/FontPixels.qml @@ -1,10 +1,10 @@ /******************************************************************************* * Copyright (c) 2013 "Filippo Scognamiglio" -* https://github.com/Swordifish90/cool-old-term +* https://github.com/Swordfish90/cool-retro-term * -* This file is part of cool-old-term. +* This file is part of cool-retro-term. * -* cool-old-term is free software: you can redistribute it and/or modify +* cool-retro-term is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. diff --git a/app/FontScanlines.qml b/app/qml/FontScanlines.qml similarity index 94% rename from app/FontScanlines.qml rename to app/qml/FontScanlines.qml index c0b20de..361c1be 100644 --- a/app/FontScanlines.qml +++ b/app/qml/FontScanlines.qml @@ -1,10 +1,10 @@ /******************************************************************************* * Copyright (c) 2013 "Filippo Scognamiglio" -* https://github.com/Swordifish90/cool-old-term +* https://github.com/Swordfish90/cool-retro-term * -* This file is part of cool-old-term. +* This file is part of cool-retro-term. * -* cool-old-term is free software: you can redistribute it and/or modify +* cool-retro-term is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. diff --git a/app/Fonts.qml b/app/qml/Fonts.qml similarity index 95% rename from app/Fonts.qml rename to app/qml/Fonts.qml index dc2a03b..9acd11e 100644 --- a/app/Fonts.qml +++ b/app/qml/Fonts.qml @@ -1,10 +1,10 @@ /******************************************************************************* * Copyright (c) 2013 "Filippo Scognamiglio" -* https://github.com/Swordifish90/cool-old-term +* https://github.com/Swordfish90/cool-retro-term * -* This file is part of cool-old-term. +* This file is part of cool-retro-term. * -* cool-old-term is free software: you can redistribute it and/or modify +* cool-retro-term is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. diff --git a/app/Glossy.qml b/app/qml/Glossy.qml similarity index 100% rename from app/Glossy.qml rename to app/qml/Glossy.qml diff --git a/app/InsertNameDialog.qml b/app/qml/InsertNameDialog.qml similarity index 94% rename from app/InsertNameDialog.qml rename to app/qml/InsertNameDialog.qml index 85e86c1..763cdb3 100644 --- a/app/InsertNameDialog.qml +++ b/app/qml/InsertNameDialog.qml @@ -1,10 +1,10 @@ /******************************************************************************* * Copyright (c) 2013 "Filippo Scognamiglio" -* https://github.com/Swordifish90/cool-old-term +* https://github.com/Swordfish90/cool-retro-term * -* This file is part of cool-old-term. +* This file is part of cool-retro-term. * -* cool-old-term is free software: you can redistribute it and/or modify +* cool-retro-term is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. diff --git a/app/PreprocessedTerminal.qml b/app/qml/PreprocessedTerminal.qml similarity index 98% rename from app/PreprocessedTerminal.qml rename to app/qml/PreprocessedTerminal.qml index 7a876bc..e2754aa 100644 --- a/app/PreprocessedTerminal.qml +++ b/app/qml/PreprocessedTerminal.qml @@ -1,10 +1,10 @@ /******************************************************************************* * Copyright (c) 2013 "Filippo Scognamiglio" -* https://github.com/Swordifish90/cool-old-term +* https://github.com/Swordfish90/cool-retro-term * -* This file is part of cool-old-term. +* This file is part of cool-retro-term. * -* cool-old-term is free software: you can redistribute it and/or modify +* cool-retro-term is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. @@ -22,7 +22,7 @@ import QtQuick 2.2 import QtGraphicalEffects 1.0 import QtQuick.Controls 1.1 -import org.kde.konsole 0.1 +import org.crt.konsole 0.1 Item{ id: terminalContainer @@ -75,7 +75,7 @@ Item{ id: kterminal anchors.fill: parent - colorScheme: "cool-old-term" + colorScheme: "cool-retro-term" session: KSession { id: ksession diff --git a/app/SettingsEffectsTab.qml b/app/qml/SettingsEffectsTab.qml similarity index 95% rename from app/SettingsEffectsTab.qml rename to app/qml/SettingsEffectsTab.qml index 2d71b48..0c1e99c 100644 --- a/app/SettingsEffectsTab.qml +++ b/app/qml/SettingsEffectsTab.qml @@ -1,10 +1,10 @@ /******************************************************************************* * Copyright (c) 2013 "Filippo Scognamiglio" -* https://github.com/Swordifish90/cool-old-term +* https://github.com/Swordfish90/cool-retro-term * -* This file is part of cool-old-term. +* This file is part of cool-retro-term. * -* cool-old-term is free software: you can redistribute it and/or modify +* cool-retro-term is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. diff --git a/app/SettingsGeneralTab.qml b/app/qml/SettingsGeneralTab.qml similarity index 97% rename from app/SettingsGeneralTab.qml rename to app/qml/SettingsGeneralTab.qml index b560b5d..c4ea35a 100644 --- a/app/SettingsGeneralTab.qml +++ b/app/qml/SettingsGeneralTab.qml @@ -1,10 +1,10 @@ /******************************************************************************* * Copyright (c) 2013 "Filippo Scognamiglio" -* https://github.com/Swordifish90/cool-old-term +* https://github.com/Swordfish90/cool-retro-term * -* This file is part of cool-old-term. +* This file is part of cool-retro-term. * -* cool-old-term is free software: you can redistribute it and/or modify +* cool-retro-term is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. diff --git a/app/SettingsTerminalTab.qml b/app/qml/SettingsTerminalTab.qml similarity index 97% rename from app/SettingsTerminalTab.qml rename to app/qml/SettingsTerminalTab.qml index af1c067..22c6084 100644 --- a/app/SettingsTerminalTab.qml +++ b/app/qml/SettingsTerminalTab.qml @@ -1,10 +1,10 @@ /******************************************************************************* * Copyright (c) 2013 "Filippo Scognamiglio" -* https://github.com/Swordifish90/cool-old-term +* https://github.com/Swordfish90/cool-retro-term * -* This file is part of cool-old-term. +* This file is part of cool-retro-term. * -* cool-old-term is free software: you can redistribute it and/or modify +* cool-retro-term is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. diff --git a/app/SettingsWindow.qml b/app/qml/SettingsWindow.qml similarity index 90% rename from app/SettingsWindow.qml rename to app/qml/SettingsWindow.qml index 17b6580..e7ab486 100644 --- a/app/SettingsWindow.qml +++ b/app/qml/SettingsWindow.qml @@ -1,10 +1,10 @@ /******************************************************************************* * Copyright (c) 2013 "Filippo Scognamiglio" -* https://github.com/Swordifish90/cool-old-term +* https://github.com/Swordfish90/cool-retro-term * -* This file is part of cool-old-term. +* This file is part of cool-retro-term. * -* cool-old-term is free software: you can redistribute it and/or modify +* cool-retro-term is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. diff --git a/app/ShaderTerminal.qml b/app/qml/ShaderTerminal.qml similarity index 98% rename from app/ShaderTerminal.qml rename to app/qml/ShaderTerminal.qml index bdd3a87..531d91e 100644 --- a/app/ShaderTerminal.qml +++ b/app/qml/ShaderTerminal.qml @@ -1,10 +1,10 @@ /******************************************************************************* * Copyright (c) 2013 "Filippo Scognamiglio" -* https://github.com/Swordifish90/cool-old-term +* https://github.com/Swordfish90/cool-retro-term * -* This file is part of cool-old-term. +* This file is part of cool-retro-term. * -* cool-old-term is free software: you can redistribute it and/or modify +* cool-retro-term is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. diff --git a/app/SimpleSlider.qml b/app/qml/SimpleSlider.qml similarity index 90% rename from app/SimpleSlider.qml rename to app/qml/SimpleSlider.qml index f362e06..7b741aa 100644 --- a/app/SimpleSlider.qml +++ b/app/qml/SimpleSlider.qml @@ -1,10 +1,10 @@ /******************************************************************************* * Copyright (c) 2013 "Filippo Scognamiglio" -* https://github.com/Swordifish90/cool-old-term +* https://github.com/Swordfish90/cool-retro-term * -* This file is part of cool-old-term. +* This file is part of cool-retro-term. * -* cool-old-term is free software: you can redistribute it and/or modify +* cool-retro-term is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. diff --git a/app/SizeOverlay.qml b/app/qml/SizeOverlay.qml similarity index 89% rename from app/SizeOverlay.qml rename to app/qml/SizeOverlay.qml index 6f0a69c..7d67314 100644 --- a/app/SizeOverlay.qml +++ b/app/qml/SizeOverlay.qml @@ -1,10 +1,10 @@ /******************************************************************************* * Copyright (c) 2013 "Filippo Scognamiglio" -* https://github.com/Swordifish90/cool-old-term +* https://github.com/Swordfish90/cool-retro-term * -* This file is part of cool-old-term. +* This file is part of cool-retro-term. * -* cool-old-term is free software: you can redistribute it and/or modify +* cool-retro-term is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. diff --git a/app/Storage.qml b/app/qml/Storage.qml similarity index 93% rename from app/Storage.qml rename to app/qml/Storage.qml index 92dadd7..f06112d 100644 --- a/app/Storage.qml +++ b/app/qml/Storage.qml @@ -1,10 +1,10 @@ /******************************************************************************* * Copyright (c) 2013 "Filippo Scognamiglio" -* https://github.com/Swordifish90/cool-old-term +* https://github.com/Swordfish90/cool-retro-term * -* This file is part of cool-old-term. +* This file is part of cool-retro-term. * -* cool-old-term is free software: you can redistribute it and/or modify +* cool-retro-term is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. diff --git a/app/TimeManager.qml b/app/qml/TimeManager.qml similarity index 88% rename from app/TimeManager.qml rename to app/qml/TimeManager.qml index b5dd5be..1ecb939 100644 --- a/app/TimeManager.qml +++ b/app/qml/TimeManager.qml @@ -1,10 +1,10 @@ /******************************************************************************* * Copyright (c) 2013 "Filippo Scognamiglio" -* https://github.com/Swordifish90/cool-old-term +* https://github.com/Swordfish90/cool-retro-term * -* This file is part of cool-old-term. +* This file is part of cool-retro-term. * -* cool-old-term is free software: you can redistribute it and/or modify +* cool-retro-term is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. diff --git a/app/fonts/1971-ibm-3278/3270Medium.ttf b/app/qml/fonts/1971-ibm-3278/3270Medium.ttf similarity index 100% rename from app/fonts/1971-ibm-3278/3270Medium.ttf rename to app/qml/fonts/1971-ibm-3278/3270Medium.ttf diff --git a/app/fonts/1971-ibm-3278/LICENSE.txt b/app/qml/fonts/1971-ibm-3278/LICENSE.txt similarity index 100% rename from app/fonts/1971-ibm-3278/LICENSE.txt rename to app/qml/fonts/1971-ibm-3278/LICENSE.txt diff --git a/app/fonts/1971-ibm-3278/README.md b/app/qml/fonts/1971-ibm-3278/README.md similarity index 100% rename from app/fonts/1971-ibm-3278/README.md rename to app/qml/fonts/1971-ibm-3278/README.md diff --git a/app/fonts/1977-apple2/FreeLicense.txt b/app/qml/fonts/1977-apple2/FreeLicense.txt similarity index 100% rename from app/fonts/1977-apple2/FreeLicense.txt rename to app/qml/fonts/1977-apple2/FreeLicense.txt diff --git a/app/fonts/1977-apple2/PRNumber3.ttf b/app/qml/fonts/1977-apple2/PRNumber3.ttf similarity index 100% rename from app/fonts/1977-apple2/PRNumber3.ttf rename to app/qml/fonts/1977-apple2/PRNumber3.ttf diff --git a/app/fonts/1977-apple2/PrintChar21.ttf b/app/qml/fonts/1977-apple2/PrintChar21.ttf similarity index 100% rename from app/fonts/1977-apple2/PrintChar21.ttf rename to app/qml/fonts/1977-apple2/PrintChar21.ttf diff --git a/app/fonts/1977-commodore-pet/COMMODORE_PET.ttf b/app/qml/fonts/1977-commodore-pet/COMMODORE_PET.ttf similarity index 100% rename from app/fonts/1977-commodore-pet/COMMODORE_PET.ttf rename to app/qml/fonts/1977-commodore-pet/COMMODORE_PET.ttf diff --git a/app/fonts/1977-commodore-pet/COMMODORE_PET_128.ttf b/app/qml/fonts/1977-commodore-pet/COMMODORE_PET_128.ttf similarity index 100% rename from app/fonts/1977-commodore-pet/COMMODORE_PET_128.ttf rename to app/qml/fonts/1977-commodore-pet/COMMODORE_PET_128.ttf diff --git a/app/fonts/1977-commodore-pet/COMMODORE_PET_128_2y.ttf b/app/qml/fonts/1977-commodore-pet/COMMODORE_PET_128_2y.ttf similarity index 100% rename from app/fonts/1977-commodore-pet/COMMODORE_PET_128_2y.ttf rename to app/qml/fonts/1977-commodore-pet/COMMODORE_PET_128_2y.ttf diff --git a/app/fonts/1977-commodore-pet/COMMODORE_PET_2x.ttf b/app/qml/fonts/1977-commodore-pet/COMMODORE_PET_2x.ttf similarity index 100% rename from app/fonts/1977-commodore-pet/COMMODORE_PET_2x.ttf rename to app/qml/fonts/1977-commodore-pet/COMMODORE_PET_2x.ttf diff --git a/app/fonts/1977-commodore-pet/COMMODORE_PET_2y.ttf b/app/qml/fonts/1977-commodore-pet/COMMODORE_PET_2y.ttf similarity index 100% rename from app/fonts/1977-commodore-pet/COMMODORE_PET_2y.ttf rename to app/qml/fonts/1977-commodore-pet/COMMODORE_PET_2y.ttf diff --git a/app/fonts/1977-commodore-pet/COMMODORE_PET_64.ttf b/app/qml/fonts/1977-commodore-pet/COMMODORE_PET_64.ttf similarity index 100% rename from app/fonts/1977-commodore-pet/COMMODORE_PET_64.ttf rename to app/qml/fonts/1977-commodore-pet/COMMODORE_PET_64.ttf diff --git a/app/fonts/1977-commodore-pet/COMMODORE_PET_64_2y.ttf b/app/qml/fonts/1977-commodore-pet/COMMODORE_PET_64_2y.ttf similarity index 100% rename from app/fonts/1977-commodore-pet/COMMODORE_PET_64_2y.ttf rename to app/qml/fonts/1977-commodore-pet/COMMODORE_PET_64_2y.ttf diff --git a/app/fonts/1977-commodore-pet/FreeLicense.txt b/app/qml/fonts/1977-commodore-pet/FreeLicense.txt similarity index 100% rename from app/fonts/1977-commodore-pet/FreeLicense.txt rename to app/qml/fonts/1977-commodore-pet/FreeLicense.txt diff --git a/app/fonts/1979-atari-400-800/ATARI400800_original.TTF b/app/qml/fonts/1979-atari-400-800/ATARI400800_original.TTF similarity index 100% rename from app/fonts/1979-atari-400-800/ATARI400800_original.TTF rename to app/qml/fonts/1979-atari-400-800/ATARI400800_original.TTF diff --git a/app/fonts/1979-atari-400-800/ATARI400800_rounded.TTF b/app/qml/fonts/1979-atari-400-800/ATARI400800_rounded.TTF similarity index 100% rename from app/fonts/1979-atari-400-800/ATARI400800_rounded.TTF rename to app/qml/fonts/1979-atari-400-800/ATARI400800_rounded.TTF diff --git a/app/fonts/1979-atari-400-800/ATARI400800_squared.TTF b/app/qml/fonts/1979-atari-400-800/ATARI400800_squared.TTF similarity index 100% rename from app/fonts/1979-atari-400-800/ATARI400800_squared.TTF rename to app/qml/fonts/1979-atari-400-800/ATARI400800_squared.TTF diff --git a/app/fonts/1979-atari-400-800/ReadMe.rtf b/app/qml/fonts/1979-atari-400-800/ReadMe.rtf similarity index 100% rename from app/fonts/1979-atari-400-800/ReadMe.rtf rename to app/qml/fonts/1979-atari-400-800/ReadMe.rtf diff --git a/app/fonts/1982-commodore64/C64_Elite_Mono_v1.0-STYLE.ttf b/app/qml/fonts/1982-commodore64/C64_Elite_Mono_v1.0-STYLE.ttf similarity index 100% rename from app/fonts/1982-commodore64/C64_Elite_Mono_v1.0-STYLE.ttf rename to app/qml/fonts/1982-commodore64/C64_Elite_Mono_v1.0-STYLE.ttf diff --git a/app/fonts/1982-commodore64/C64_Pro_Mono_v1.0-STYLE.ttf b/app/qml/fonts/1982-commodore64/C64_Pro_Mono_v1.0-STYLE.ttf similarity index 100% rename from app/fonts/1982-commodore64/C64_Pro_Mono_v1.0-STYLE.ttf rename to app/qml/fonts/1982-commodore64/C64_Pro_Mono_v1.0-STYLE.ttf diff --git a/app/fonts/1982-commodore64/C64_Pro_v1.0-STYLE.ttf b/app/qml/fonts/1982-commodore64/C64_Pro_v1.0-STYLE.ttf similarity index 100% rename from app/fonts/1982-commodore64/C64_Pro_v1.0-STYLE.ttf rename to app/qml/fonts/1982-commodore64/C64_Pro_v1.0-STYLE.ttf diff --git a/app/fonts/1982-commodore64/C64_User_Mono_v1.0-STYLE.ttf b/app/qml/fonts/1982-commodore64/C64_User_Mono_v1.0-STYLE.ttf similarity index 100% rename from app/fonts/1982-commodore64/C64_User_Mono_v1.0-STYLE.ttf rename to app/qml/fonts/1982-commodore64/C64_User_Mono_v1.0-STYLE.ttf diff --git a/app/fonts/1982-commodore64/C64_User_v1.0-STYLE.ttf b/app/qml/fonts/1982-commodore64/C64_User_v1.0-STYLE.ttf similarity index 100% rename from app/fonts/1982-commodore64/C64_User_v1.0-STYLE.ttf rename to app/qml/fonts/1982-commodore64/C64_User_v1.0-STYLE.ttf diff --git a/app/fonts/1982-commodore64/license.txt b/app/qml/fonts/1982-commodore64/license.txt similarity index 100% rename from app/fonts/1982-commodore64/license.txt rename to app/qml/fonts/1982-commodore64/license.txt diff --git a/app/fonts/1985-atari-st/AtariST8x16SystemFont.ttf b/app/qml/fonts/1985-atari-st/AtariST8x16SystemFont.ttf similarity index 100% rename from app/fonts/1985-atari-st/AtariST8x16SystemFont.ttf rename to app/qml/fonts/1985-atari-st/AtariST8x16SystemFont.ttf diff --git a/app/fonts/1985-ibm-pc-vga/Perfect DOS VGA 437 Win.ttf b/app/qml/fonts/1985-ibm-pc-vga/Perfect DOS VGA 437 Win.ttf similarity index 100% rename from app/fonts/1985-ibm-pc-vga/Perfect DOS VGA 437 Win.ttf rename to app/qml/fonts/1985-ibm-pc-vga/Perfect DOS VGA 437 Win.ttf diff --git a/app/fonts/1985-ibm-pc-vga/Perfect DOS VGA 437.ttf b/app/qml/fonts/1985-ibm-pc-vga/Perfect DOS VGA 437.ttf similarity index 100% rename from app/fonts/1985-ibm-pc-vga/Perfect DOS VGA 437.ttf rename to app/qml/fonts/1985-ibm-pc-vga/Perfect DOS VGA 437.ttf diff --git a/app/fonts/1985-ibm-pc-vga/dos437.txt b/app/qml/fonts/1985-ibm-pc-vga/dos437.txt similarity index 100% rename from app/fonts/1985-ibm-pc-vga/dos437.txt rename to app/qml/fonts/1985-ibm-pc-vga/dos437.txt diff --git a/app/fonts/modern-terminus/TerminusTTF-4.38.2.ttf b/app/qml/fonts/modern-terminus/TerminusTTF-4.38.2.ttf similarity index 100% rename from app/fonts/modern-terminus/TerminusTTF-4.38.2.ttf rename to app/qml/fonts/modern-terminus/TerminusTTF-4.38.2.ttf diff --git a/app/fonts/modern-terminus/TerminusTTF-Bold-4.38.2.ttf b/app/qml/fonts/modern-terminus/TerminusTTF-Bold-4.38.2.ttf similarity index 100% rename from app/fonts/modern-terminus/TerminusTTF-Bold-4.38.2.ttf rename to app/qml/fonts/modern-terminus/TerminusTTF-Bold-4.38.2.ttf diff --git a/app/frames/BlackRoughFrame.qml b/app/qml/frames/BlackRoughFrame.qml similarity index 100% rename from app/frames/BlackRoughFrame.qml rename to app/qml/frames/BlackRoughFrame.qml diff --git a/app/frames/NoFrame.qml b/app/qml/frames/NoFrame.qml similarity index 100% rename from app/frames/NoFrame.qml rename to app/qml/frames/NoFrame.qml diff --git a/app/frames/WhiteSimpleFrame.qml b/app/qml/frames/WhiteSimpleFrame.qml similarity index 100% rename from app/frames/WhiteSimpleFrame.qml rename to app/qml/frames/WhiteSimpleFrame.qml diff --git a/app/frames/images/black-frame-normals.png b/app/qml/frames/images/black-frame-normals.png similarity index 100% rename from app/frames/images/black-frame-normals.png rename to app/qml/frames/images/black-frame-normals.png diff --git a/app/frames/images/black-frame-original.png b/app/qml/frames/images/black-frame-original.png similarity index 100% rename from app/frames/images/black-frame-original.png rename to app/qml/frames/images/black-frame-original.png diff --git a/app/frames/images/black-frame.png b/app/qml/frames/images/black-frame.png similarity index 100% rename from app/frames/images/black-frame.png rename to app/qml/frames/images/black-frame.png diff --git a/app/frames/images/randfunction.png b/app/qml/frames/images/randfunction.png similarity index 100% rename from app/frames/images/randfunction.png rename to app/qml/frames/images/randfunction.png diff --git a/app/frames/images/screen-frame-normals.png b/app/qml/frames/images/screen-frame-normals.png similarity index 100% rename from app/frames/images/screen-frame-normals.png rename to app/qml/frames/images/screen-frame-normals.png diff --git a/app/frames/images/screen-frame-original.png b/app/qml/frames/images/screen-frame-original.png similarity index 100% rename from app/frames/images/screen-frame-original.png rename to app/qml/frames/images/screen-frame-original.png diff --git a/app/frames/images/screen-frame.png b/app/qml/frames/images/screen-frame.png similarity index 100% rename from app/frames/images/screen-frame.png rename to app/qml/frames/images/screen-frame.png diff --git a/app/frames/utils/FrameShader.qml b/app/qml/frames/utils/FrameShader.qml similarity index 100% rename from app/frames/utils/FrameShader.qml rename to app/qml/frames/utils/FrameShader.qml diff --git a/app/frames/utils/NoFrameShader.qml b/app/qml/frames/utils/NoFrameShader.qml similarity index 100% rename from app/frames/utils/NoFrameShader.qml rename to app/qml/frames/utils/NoFrameShader.qml diff --git a/app/frames/utils/TerminalFrame.qml b/app/qml/frames/utils/TerminalFrame.qml similarity index 100% rename from app/frames/utils/TerminalFrame.qml rename to app/qml/frames/utils/TerminalFrame.qml diff --git a/app/main.qml b/app/qml/main.qml similarity index 96% rename from app/main.qml rename to app/qml/main.qml index 7b02258..9de405d 100644 --- a/app/main.qml +++ b/app/qml/main.qml @@ -1,10 +1,10 @@ /******************************************************************************* * Copyright (c) 2013 "Filippo Scognamiglio" -* https://github.com/Swordifish90/cool-old-term +* https://github.com/Swordfish90/cool-retro-term * -* This file is part of cool-old-term. +* This file is part of cool-retro-term. * -* cool-old-term is free software: you can redistribute it and/or modify +* cool-retro-term is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. @@ -23,8 +23,6 @@ import QtQuick.Window 2.1 import QtQuick.Controls 1.1 import QtGraphicalEffects 1.0 -import org.kde.konsole 0.1 - ApplicationWindow{ id: terminalWindow @@ -33,12 +31,14 @@ ApplicationWindow{ minimumWidth: 320 minimumHeight: 240 + visible: true + property bool fullscreen: shadersettings.fullscreen onFullscreenChanged: visibility = (fullscreen ? Window.FullScreen : Window.Windowed) flags: Qt.WA_TranslucentBackground color: "#00000000" - title: qsTr("cool-old-term") + title: qsTr("cool-retro-term") Action { id: showMenubarAction diff --git a/app/qml/resources.qrc b/app/qml/resources.qrc new file mode 100644 index 0000000..1650e35 --- /dev/null +++ b/app/qml/resources.qrc @@ -0,0 +1,68 @@ + + + frames/BlackRoughFrame.qml + frames/NoFrame.qml + frames/images/black-frame.png + frames/images/screen-frame-normals.png + frames/images/black-frame-normals.png + frames/images/screen-frame.png + frames/images/black-frame-original.png + frames/images/randfunction.png + frames/images/screen-frame-original.png + frames/WhiteSimpleFrame.qml + frames/utils/FrameShader.qml + frames/utils/NoFrameShader.qml + frames/utils/TerminalFrame.qml + SizeOverlay.qml + ShaderTerminal.qml + CheckableSlider.qml + ApplicationSettings.qml + SettingsWindow.qml + Fonts.qml + FontPixels.qml + SettingsGeneralTab.qml + PreprocessedTerminal.qml + TimeManager.qml + SimpleSlider.qml + ColorButton.qml + Glossy.qml + AboutDialog.qml + InsertNameDialog.qml + SettingsEffectsTab.qml + main.qml + SettingsTerminalTab.qml + FontScanlines.qml + fonts/1982-commodore64/C64_Pro_v1.0-STYLE.ttf + fonts/1982-commodore64/license.txt + fonts/1982-commodore64/C64_Pro_Mono_v1.0-STYLE.ttf + fonts/1982-commodore64/C64_Elite_Mono_v1.0-STYLE.ttf + fonts/1982-commodore64/C64_User_Mono_v1.0-STYLE.ttf + fonts/1982-commodore64/C64_User_v1.0-STYLE.ttf + fonts/1977-apple2/FreeLicense.txt + fonts/1977-apple2/PRNumber3.ttf + fonts/1977-apple2/PrintChar21.ttf + fonts/1971-ibm-3278/README.md + fonts/1971-ibm-3278/LICENSE.txt + fonts/1971-ibm-3278/3270Medium.ttf + fonts/1985-atari-st/AtariST8x16SystemFont.ttf + fonts/modern-terminus/TerminusTTF-Bold-4.38.2.ttf + fonts/modern-terminus/TerminusTTF-4.38.2.ttf + fonts/1977-commodore-pet/FreeLicense.txt + fonts/1977-commodore-pet/COMMODORE_PET_128_2y.ttf + fonts/1977-commodore-pet/COMMODORE_PET.ttf + fonts/1977-commodore-pet/COMMODORE_PET_64_2y.ttf + fonts/1977-commodore-pet/COMMODORE_PET_2y.ttf + fonts/1977-commodore-pet/COMMODORE_PET_64.ttf + fonts/1977-commodore-pet/COMMODORE_PET_128.ttf + fonts/1977-commodore-pet/COMMODORE_PET_2x.ttf + fonts/1979-atari-400-800/ReadMe.rtf + fonts/1979-atari-400-800/ATARI400800_original.TTF + fonts/1979-atari-400-800/ATARI400800_squared.TTF + fonts/1979-atari-400-800/ATARI400800_rounded.TTF + fonts/1985-ibm-pc-vga/Perfect DOS VGA 437 Win.ttf + fonts/1985-ibm-pc-vga/Perfect DOS VGA 437.ttf + fonts/1985-ibm-pc-vga/dos437.txt + Storage.qml + + + diff --git a/cool-old-term b/cool-old-term deleted file mode 100755 index 9659e7e..0000000 --- a/cool-old-term +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -#This is a workaround for an ubuntu specific problem with appmenu-qt5. -QT_QPA_PLATFORMTHEME= -qmlscene -I $(dirname $0)/imports $(dirname $0)/app/main.qml diff --git a/cool-old-term.pro b/cool-old-term.pro deleted file mode 100644 index a478cea..0000000 --- a/cool-old-term.pro +++ /dev/null @@ -1,4 +0,0 @@ -TEMPLATE =subdirs -CONFIG += ordered -SUBDIRS= konsole-qml-plugin\ - app diff --git a/cool-retro-term.pro b/cool-retro-term.pro new file mode 100644 index 0000000..73a5e6a --- /dev/null +++ b/cool-retro-term.pro @@ -0,0 +1,4 @@ +TEMPLATE = subdirs + +SUBDIRS += app +SUBDIRS += konsole-qml-plugin diff --git a/konsole-qml-plugin/assets/color-schemes/cool-old-term.schema b/konsole-qml-plugin/assets/color-schemes/cool-retro-term.schema similarity index 100% rename from konsole-qml-plugin/assets/color-schemes/cool-old-term.schema rename to konsole-qml-plugin/assets/color-schemes/cool-retro-term.schema diff --git a/konsole-qml-plugin/debian/changelog b/konsole-qml-plugin/debian/changelog deleted file mode 100644 index a4a741d..0000000 --- a/konsole-qml-plugin/debian/changelog +++ /dev/null @@ -1,29 +0,0 @@ -konsole-qml-plugin (0.1.2) raring; urgency=low - - * Fixed text display bug (LP:#1182503) - - -- Dmitry Zagnoyko Mon, 10 Jun 2013 09:49:02 +0300 - -konsole-qml-plugin (0.1.1) raring; urgency=low - - * Fixed issue with float values of widget size - * Added virtual key event for qml KSession component - - -- Dmitry Zagnoyko Mon, 06 May 2013 20:11:10 +0300 - -konsole-qml-plugin (0.1.0ubuntu1~quantal1~test2) quantal; urgency=low - - * Added qml properties for KTerminal - * Fixed visibility sope: removed konsole namespace - * Added qmltypes - * Fixed qml plugin path - * Added KSession class - - -- Dmitry Zagnoyko Sat, 20 Apr 2013 21:44:26 +0300 - -konsole-qml-plugin (0.1.0ubuntu1~quantal1~test1) quantal; urgency=low - - * Initial release - * Ported KDE Konsole - - -- Dmitry Zagnoyko Fri, 19 Apr 2013 20:22:12 +0300 diff --git a/konsole-qml-plugin/debian/compat b/konsole-qml-plugin/debian/compat deleted file mode 100644 index ec63514..0000000 --- a/konsole-qml-plugin/debian/compat +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/konsole-qml-plugin/debian/control b/konsole-qml-plugin/debian/control deleted file mode 100644 index 576cf99..0000000 --- a/konsole-qml-plugin/debian/control +++ /dev/null @@ -1,40 +0,0 @@ -Source: konsole-qml-plugin -Section: libs -Priority: optional -Maintainer: Ubuntu Developers -Build-Depends: debhelper (>= 9.0.0), -# libgl1-mesa-dev | libgl-dev, -# libgles2-mesa-dev - qtbase5-dev, - qtdeclarative5-dev, - qt5-default, -Standards-Version: 3.9.4 -Homepage: http://konsole.kde.org/ - -Package: qtdeclarative5-konsole-qml-plugin -Architecture: any -Multi-Arch: same -Pre-Depends: ${misc:Pre-Depends} -Depends: ${misc:Depends}, ${shlibs:Depends}, -Description: KDE Konsole QML plugin - qml terminal plugin - Originaly, Konsole is a terminal emulator from KDE. This is ported - version and do not require KDE. - . - This package contains the Konsole terminal emulator plugin - for Qt Qml, which offers access to terminal by KTerminal and - KSession elements. KTerminal is used for displaying information - given by KSession. - - -#Package: konsole-qml-plugin-dbg -#Priority: extra -#Architecture: any -#Section: debug -#Depends: ${misc:Depends} -#Description: KDE Konsole QML plugin debugging symbols -# Originaly, Konsole is a terminal emulator from KDE. This is ported -# version without KDE tails and do not require KDE. -# . -# This package contains the debugging symbols for the KDE Konsole -# QML plugin. - diff --git a/konsole-qml-plugin/debian/copyright b/konsole-qml-plugin/debian/copyright deleted file mode 100644 index d94b50b..0000000 --- a/konsole-qml-plugin/debian/copyright +++ /dev/null @@ -1,50 +0,0 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/3.0/ -Upstream-Name: konsole-qml-plugin -Source: - -Files: * -Copyright: 2013 Dmitry Zagnoyko - 2008 e_k - 2006-2008 Robert Knight - 2003-2007 Oswald Buddenhagen - 2000 Stephan Kulow - 1997-1998 Lars Doelle -License: GPL-3 - -Files: debian/* -Copyright: 2013 Dmitry Zagnoyko -License: LGPL-3 - -License: GPL-3 - This package is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public - License as published by the Free Software Foundation; either - version 3 of the License. - . - This package is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - . - You should have received a copy of the GNU General Public License - along with this program. If not, see . - . - On Debian systems, the complete text of the GNU General - Public License can be found in "/usr/share/common-licenses/GPL-3". - -License: LGPL-3 - This package is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 3 of the License. - . - This package is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - . - You should have received a copy of the GNU General Public License - along with this program. If not, see . - . - On Debian systems, the complete text of the GNU Lesser General - Public License can be found in "/usr/share/common-licenses/LGPL-3". diff --git a/konsole-qml-plugin/debian/rules b/konsole-qml-plugin/debian/rules deleted file mode 100755 index 63c23af..0000000 --- a/konsole-qml-plugin/debian/rules +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/make -f - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -#export CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS) -#export CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) $(shell dpkg-buildflags --get CPPFLAGS) -#export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed - -override_dh_auto_configure: - QT_SELECT=qt5 dh_auto_configure - -%: - dh $@ --list-missing --parallel -# WARN: currently, no pakgage -# --dbg-package=konsole-qml-plugin-dbg - - -#override_dh_builddeb: -# dh_builddeb -- -Zxz - diff --git a/konsole-qml-plugin/debian/source/format b/konsole-qml-plugin/debian/source/format deleted file mode 100644 index 89ae9db..0000000 --- a/konsole-qml-plugin/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (native) diff --git a/konsole-qml-plugin/konsole-qml-plugin.pro b/konsole-qml-plugin/konsole-qml-plugin.pro index 3008d02..55e6fab 100644 --- a/konsole-qml-plugin/konsole-qml-plugin.pro +++ b/konsole-qml-plugin/konsole-qml-plugin.pro @@ -12,10 +12,34 @@ DEFINES += HAVE_POSIX_OPENPT HAVE_SYS_TIME_H HAVE_UPDWTMPX DEFINES += Q_WS_UBUNTU TARGET = kdekonsole -PLUGIN_IMPORT_PATH = org/kde/konsole +PLUGIN_IMPORT_PATH = org/crt/konsole PLUGIN_ASSETS = $$PWD/assets/* -INSTALL_DIR = ../imports +DESTDIR = $$OUT_PWD/../imports/$$PLUGIN_IMPORT_PATH + +INSTALL_DIR = $$[QT_INSTALL_QML] + +# Copy additional plugin files +QMAKE_COPY = "cp -r" + +defineTest(copyToDestdir) { + files = $$1 + + for(FILE, files) { + DDIR = $$DESTDIR + + # Replace slashes in paths with backslashes for Windows + win32:FILE ~= s,/,\\,g + win32:DDIR ~= s,/,\\,g + + QMAKE_POST_LINK += $$QMAKE_COPY $$quote($$FILE) $$quote($$DDIR) $$escape_expand(\\n\\t) + } + + export(QMAKE_POST_LINK) +} + +copyToDestdir($$PLUGIN_ASSETS) +copyToDestdir($$PWD/src/qmldir) ######################################### ## SOURCES diff --git a/konsole-qml-plugin/src/plugin.cpp b/konsole-qml-plugin/src/plugin.cpp index ce7f3d5..eaa3858 100644 --- a/konsole-qml-plugin/src/plugin.cpp +++ b/konsole-qml-plugin/src/plugin.cpp @@ -33,7 +33,7 @@ KonsoleKterminalPlugin::~KonsoleKterminalPlugin() { } void KonsoleKterminalPlugin::initializeEngine(QQmlEngine *engine, const char *uri) { - Q_ASSERT(uri == QLatin1String("org.kde.konsole")); + Q_ASSERT(uri == QLatin1String("org.crt.konsole")); QQmlExtensionPlugin::initializeEngine(engine, uri); @@ -44,19 +44,19 @@ void KonsoleKterminalPlugin::initializeEngine(QQmlEngine *engine, const char *ur QString cs, kbl; foreach (QString pwd, pwds) { - cs = pwd + "/org/kde/konsole/color-schemes"; - kbl = pwd + "/org/kde/konsole/kb-layouts"; + cs = pwd + "/org/crt/konsole/color-schemes"; + kbl = pwd + "/org/crt/konsole/kb-layouts"; if (QDir(cs).exists()) break; } - setenv("KB_LAYOUT_DIR",kbl.toLatin1().constData(),1); - setenv("COLORSCHEMES_DIR",cs.toLatin1().constData(),1); + setenv("KB_LAYOUT_DIR",kbl.toUtf8().constData(),1); + setenv("COLORSCHEMES_DIR",cs.toUtf8().constData(),1); } } void KonsoleKterminalPlugin::registerTypes(const char *uri) { - Q_ASSERT(uri == QLatin1String("org.kde.konsole")); + Q_ASSERT(uri == QLatin1String("org.crt.konsole")); qmlRegisterType(uri, 0, 1, "KTerminal"); qmlRegisterType(uri, 0, 1, "KSession"); diff --git a/konsole-qml-plugin/src/plugins.qmltypes b/konsole-qml-plugin/src/plugins.qmltypes index cfde7ec..45aa3ab 100644 --- a/konsole-qml-plugin/src/plugins.qmltypes +++ b/konsole-qml-plugin/src/plugins.qmltypes @@ -3,13 +3,15 @@ import QtQuick.tooling 1.1 // This file describes the plugin-supplied types contained in the library. // It is used for QML tooling purposes only. // -// This file was auto-generated with the command '/usr/lib/x86_64-linux-gnu/qt5/bin/qmlplugindump -notrelocatable org.kde.konsole 0.1 ../../../'. +// This file was auto-generated by: +// 'qmlplugindump org.crt.konsole 0.1 .' Module { Component { name: "KSession" prototype: "QObject" - exports: ["org.kde.konsole/KSession 0.1"] + exports: ["KSession 0.1"] + exportMetaObjectRevisions: [0] Property { name: "kbScheme"; type: "string" } Signal { name: "finished" } Signal { @@ -54,14 +56,16 @@ Module { name: "KTerminalDisplay" defaultProperty: "data" prototype: "QQuickPaintedItem" - exports: ["org.kde.konsole/KTerminal 0.1"] + exports: ["KTerminal 0.1"] + exportMetaObjectRevisions: [0] Property { name: "session"; type: "KSession"; isPointer: true } Property { name: "colorScheme"; type: "string" } Property { name: "font"; type: "QFont" } Property { name: "activeFocusOnClick"; type: "bool" } Property { name: "ShowIMEOnClick"; type: "bool" } - Property { name: "terminalSize"; type: "QSize" } - Property { name: "paintedFontSize"; type: "QSize"} + Property { name: "terminalSize"; type: "QSize"; isReadonly: true } + Property { name: "paintedFontSize"; type: "QSize"; isReadonly: true } + Property { name: "usesMouse"; type: "bool"; isReadonly: true } Signal { name: "changedScheme" Parameter { name: "scheme"; type: "string" } @@ -74,6 +78,7 @@ Module { name: "changedAutoFocus" Parameter { name: "au"; type: "bool" } } + Signal { name: "updatedImage" } Signal { name: "mouseSignal" Parameter { type: "int" } @@ -118,9 +123,6 @@ Module { name: "changedSession" Parameter { name: "session"; type: "KSession"; isPointer: true } } - Signal { name: "terminalSizeChanged" } - Singal { name: "paintedFontSizeChanged" } - Signal { name: "updatedImage" } Method { name: "forcedFocus" } Method { name: "setColorScheme" @@ -128,31 +130,15 @@ Module { } Method { name: "availableColorSchemes"; type: "QStringList" } Method { - name: "scrollWheel" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - Parameter { name: "lines"; type: "int" } + name: "scrollScreenWindow" + Parameter { name: "mode"; type: "ScreenWindow::RelativeScrollMode" } + Parameter { name: "amount"; type: "int" } } Method { - name: "mousePress" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - } - Method { - name: "mouseMove" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - } - Method { - name: "mouseRelease" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - } - Method { - name: "mouseDoubleClick" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } + name: "setUsesMouse" + Parameter { name: "usesMouse"; type: "bool" } } + Method { name: "getUsesMouse"; type: "bool" } Method { name: "autoFocus"; type: "bool" } Method { name: "setAutoFocus" @@ -192,20 +178,21 @@ Module { Parameter { name: "color"; type: "QColor" } } Method { name: "selectionChanged" } + Method { + name: "banana" + Parameter { name: "x"; type: "int" } + Parameter { name: "y"; type: "int" } + Parameter { name: "z"; type: "int" } + Parameter { name: "w"; type: "int" } + } Method { name: "setSession" Parameter { name: "session"; type: "KSession"; isPointer: true } } Method { name: "getSession"; type: "KSession*" } - - //My additions Method { name: "setLineSpacing" - Parameter { name: "i"; type: "uint"} - } - Method { - name: "setUsesMouse" - Parameter { name: "usesMouse"; type: "bool"} + Parameter { type: "uint" } } } } diff --git a/konsole-qml-plugin/src/qmldir b/konsole-qml-plugin/src/qmldir index f7c8b18..39a9ecd 100644 --- a/konsole-qml-plugin/src/qmldir +++ b/konsole-qml-plugin/src/qmldir @@ -1,3 +1,3 @@ -module org.kde.konsole +module org.crt.konsole typeinfo plugins.qmltypes plugin kdekonsole