Commit 292d5445 authored by Carson Black's avatar Carson Black

Set domain, change me.appadeia to org.kde in code

parent ad9f75cc
......@@ -26,9 +26,9 @@ target_compile_definitions(${PROJECT_NAME} PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONF
target_link_libraries(${PROJECT_NAME} PRIVATE Qt5::WebEngine Qt5::Core Qt5::Quick Qt5::QuickControls2 KF5::Kirigami2 KF5::Plasma KF5::PlasmaQuick KF5::I18n)
install(TARGETS ikona DESTINATION bin)
install(FILES data/me.appadeia.ikona.desktop DESTINATION share/applications)
install(FILES data/me.appadeia.ikona.svg DESTINATION share/icons/hicolor/scalable/apps)
install(FILES data/me.appadeia.ikona.appdata.xml DESTINATION share/metainfo)
install(FILES data/org.kde.Ikona.desktop DESTINATION share/applications)
install(FILES data/org.kde.Ikona.svg DESTINATION share/icons/hicolor/scalable/apps)
install(FILES data/org.kde.Ikona.appdata.xml DESTINATION share/metainfo)
message(STATUS "")
message(STATUS "if you're developing this, you should use the ${Green}meson.build${ColourReset} instead.")
......
install_data('me.appadeia.ikona.desktop', install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'applications'))
install_data('me.appadeia.ikona.svg', install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'icons/hicolor/scalable/apps'))
install_data('org.kde.Ikona.desktop', install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'applications'))
install_data('org.kde.Ikona.svg', install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'icons/hicolor/scalable/apps'))
......@@ -3,7 +3,7 @@ import QtGraphicalEffects 1.12
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.kirigami 2.0 as Kirigami
import me.appadeia.Ikona 1.0
import org.kde.Ikona 1.0
Item {
id: itemRoot
......
......@@ -3,7 +3,7 @@ import QtQuick.Layouts 1.12
import org.kde.kirigami 2.5 as Kirigami
import QtQuick.Controls 2.5
import QtQuick.Dialogs 1.3
import me.appadeia.Ikona 1.0
import org.kde.Ikona 1.0
Item {
id: screenRoot
......
......@@ -6,7 +6,7 @@ import QtQuick.Layouts 1.12
import org.kde.kirigami 2.5 as Kirigami
import org.kde.plasma.components 2.0 as PlasmaComponents
import QtGraphicalEffects 1.12
import me.appadeia.Ikona 1.0
import org.kde.Ikona 1.0
import Qt.labs.settings 1.1
import Qt.labs.platform 1.1 as QNative
import QtWebEngine 1.1
......
......@@ -11,6 +11,7 @@
#include <QIcon>
#include <QtWebEngine>
#include <KLocalizedContext>
#include <KLocalizedString>
#include "iconsetter.h"
#include "iconmanipulator.h"
......@@ -55,9 +56,11 @@ int main(int argc, char *argv[])
QApplication app(argc, argv);
// QQuickStyle::setStyle("Plasma");
app.setOrganizationName("Appadeia");
app.setOrganizationDomain("me.appadeia");
app.setOrganizationDomain("org.kde");
app.setApplicationName("Ikona");
KLocalizedString::setApplicationDomain("ikona");
QtWebEngine::initialize();
if (fileExists(QDir::homePath() + "/.iconPreviewTheme")) {
......@@ -73,8 +76,8 @@ int main(int argc, char *argv[])
dir.mkdir(QDir::homePath() + "/.ikona");
}
qmlRegisterType<IconSetter>("me.appadeia.Ikona", 1, 0, "IconSetter");
qmlRegisterType<IconManipulator>("me.appadeia.Ikona", 1, 0, "IconManipulator");
qmlRegisterType<IconSetter>("org.kde.Ikona", 1, 0, "IconSetter");
qmlRegisterType<IconManipulator>("org.kde.Ikona", 1, 0, "IconManipulator");
QIcon::setFallbackSearchPaths(QIcon::fallbackSearchPaths() << QDir::homePath() + "/.ikona");
qDebug() << QIcon::fallbackSearchPaths();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment