diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e60ff2..5207860 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,7 @@ if(CMAKE_BUILD_TYPE STREQUAL "Release") add_definitions(-DSUPPRESS_QRC_LOG) endif() -configure_file(src/version.h.in ${CMAKE_BINARY_DIR}/generated/version.h) +configure_file(WallReel/version.h.in ${CMAKE_BINARY_DIR}/generated/version.h) find_package(Qt6 REQUIRED COMPONENTS Quick Widgets QuickControls2 Concurrent) @@ -29,11 +29,11 @@ qt_standard_project_setup(REQUIRES 6.5) qt_policy(SET QTP0004 NEW) -add_subdirectory(src/core) -add_subdirectory(src/ui) +add_subdirectory(WallReel/Core) +add_subdirectory(WallReel/UI) add_executable(${EXECUTABLE_NAME} - src/main.cpp + WallReel/main.cpp ) # Qt for iOS sets MACOSX_BUNDLE_GUI_IDENTIFIER automatically since Qt 6.1. diff --git a/LICENSE b/LICENSE index 608e505..e97cd05 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright 2026 Uyanide pywang0608@foxmail.com +Copyright 2026 Uyanide me@uyani.de Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/src/core/CMakeLists.txt b/WallReel/Core/CMakeLists.txt similarity index 100% rename from src/core/CMakeLists.txt rename to WallReel/Core/CMakeLists.txt diff --git a/src/core/configmgr.cpp b/WallReel/Core/configmgr.cpp similarity index 100% rename from src/core/configmgr.cpp rename to WallReel/Core/configmgr.cpp diff --git a/src/core/configmgr.hpp b/WallReel/Core/configmgr.hpp similarity index 100% rename from src/core/configmgr.hpp rename to WallReel/Core/configmgr.hpp diff --git a/src/core/imagedata.cpp b/WallReel/Core/imagedata.cpp similarity index 100% rename from src/core/imagedata.cpp rename to WallReel/Core/imagedata.cpp diff --git a/src/core/imagedata.hpp b/WallReel/Core/imagedata.hpp similarity index 100% rename from src/core/imagedata.hpp rename to WallReel/Core/imagedata.hpp diff --git a/src/core/imagemodel.cpp b/WallReel/Core/imagemodel.cpp similarity index 100% rename from src/core/imagemodel.cpp rename to WallReel/Core/imagemodel.cpp diff --git a/src/core/imagemodel.hpp b/WallReel/Core/imagemodel.hpp similarity index 100% rename from src/core/imagemodel.hpp rename to WallReel/Core/imagemodel.hpp diff --git a/src/core/imageprovider.cpp b/WallReel/Core/imageprovider.cpp similarity index 100% rename from src/core/imageprovider.cpp rename to WallReel/Core/imageprovider.cpp diff --git a/src/core/imageprovider.hpp b/WallReel/Core/imageprovider.hpp similarity index 100% rename from src/core/imageprovider.hpp rename to WallReel/Core/imageprovider.hpp diff --git a/src/core/utils/logger.cpp b/WallReel/Core/utils/logger.cpp similarity index 100% rename from src/core/utils/logger.cpp rename to WallReel/Core/utils/logger.cpp diff --git a/src/core/utils/logger.hpp b/WallReel/Core/utils/logger.hpp similarity index 100% rename from src/core/utils/logger.hpp rename to WallReel/Core/utils/logger.hpp diff --git a/src/core/utils/misc.hpp b/WallReel/Core/utils/misc.hpp similarity index 100% rename from src/core/utils/misc.hpp rename to WallReel/Core/utils/misc.hpp diff --git a/src/ui/CMakeLists.txt b/WallReel/UI/CMakeLists.txt similarity index 100% rename from src/ui/CMakeLists.txt rename to WallReel/UI/CMakeLists.txt diff --git a/src/ui/Main.qml b/WallReel/UI/Main.qml similarity index 100% rename from src/ui/Main.qml rename to WallReel/UI/Main.qml diff --git a/src/ui/Modules/Carousel.qml b/WallReel/UI/Modules/Carousel.qml similarity index 100% rename from src/ui/Modules/Carousel.qml rename to WallReel/UI/Modules/Carousel.qml diff --git a/src/ui/Pages/CarouselScreen.qml b/WallReel/UI/Pages/CarouselScreen.qml similarity index 100% rename from src/ui/Pages/CarouselScreen.qml rename to WallReel/UI/Pages/CarouselScreen.qml diff --git a/src/ui/Pages/LoadingScreen.qml b/WallReel/UI/Pages/LoadingScreen.qml similarity index 100% rename from src/ui/Pages/LoadingScreen.qml rename to WallReel/UI/Pages/LoadingScreen.qml diff --git a/src/main.cpp b/WallReel/main.cpp similarity index 97% rename from src/main.cpp rename to WallReel/main.cpp index 093292c..331a804 100644 --- a/src/main.cpp +++ b/WallReel/main.cpp @@ -7,11 +7,11 @@ #include #include -#include "core/configmgr.hpp" -#include "core/imagemodel.hpp" -#include "core/imageprovider.hpp" -#include "core/utils/logger.hpp" -#include "core/utils/misc.hpp" +#include "Core/configmgr.hpp" +#include "Core/imagemodel.hpp" +#include "Core/imageprovider.hpp" +#include "Core/utils/logger.hpp" +#include "Core/utils/misc.hpp" #include "version.h" /** diff --git a/src/version.h.in b/WallReel/version.h.in similarity index 100% rename from src/version.h.in rename to WallReel/version.h.in