From ddbebe64a5c85f0a2a7f6383d3bcd12b373be69d Mon Sep 17 00:00:00 2001 From: Spiros Date: Thu, 13 Jun 2024 19:08:32 +0300 Subject: [PATCH] Move source to src folder --- CMakeLists.txt | 22 +++++++++++----------- custombutton.cpp => src/custombutton.cpp | 0 custombutton.h => src/custombutton.h | 0 icon.svg => src/icon.svg | 0 jsonparser.cpp => src/jsonparser.cpp | 0 jsonparser.h => src/jsonparser.h | 0 main.cpp => src/main.cpp | 0 mainwindow.cpp => src/mainwindow.cpp | 0 mainwindow.h => src/mainwindow.h | 0 mainwindow.ui => src/mainwindow.ui | 0 resources.qrc => src/resources.qrc | 0 statusdot.cpp => src/statusdot.cpp | 0 statusdot.h => src/statusdot.h | 0 kdiskinfo.ts => translations/kdiskinfo.ts | 0 14 files changed, 11 insertions(+), 11 deletions(-) rename custombutton.cpp => src/custombutton.cpp (100%) rename custombutton.h => src/custombutton.h (100%) rename icon.svg => src/icon.svg (100%) rename jsonparser.cpp => src/jsonparser.cpp (100%) rename jsonparser.h => src/jsonparser.h (100%) rename main.cpp => src/main.cpp (100%) rename mainwindow.cpp => src/mainwindow.cpp (100%) rename mainwindow.h => src/mainwindow.h (100%) rename mainwindow.ui => src/mainwindow.ui (100%) rename resources.qrc => src/resources.qrc (100%) rename statusdot.cpp => src/statusdot.cpp (100%) rename statusdot.h => src/statusdot.h (100%) rename kdiskinfo.ts => translations/kdiskinfo.ts (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 151cfde..4e620fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,17 +14,17 @@ set(QT_VERSION_MAJOR 6) find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets) set(PROJECT_SOURCES - main.cpp - mainwindow.cpp - mainwindow.h - mainwindow.ui - custombutton.h - custombutton.cpp - statusdot.h - statusdot.cpp - jsonparser.h - jsonparser.cpp - resources.qrc + src/main.cpp + src/mainwindow.cpp + src/mainwindow.h + src/mainwindow.ui + src/custombutton.h + src/custombutton.cpp + src/statusdot.h + src/statusdot.cpp + src/jsonparser.h + src/jsonparser.cpp + src/resources.qrc ) qt_add_executable(KDiskInfo diff --git a/custombutton.cpp b/src/custombutton.cpp similarity index 100% rename from custombutton.cpp rename to src/custombutton.cpp diff --git a/custombutton.h b/src/custombutton.h similarity index 100% rename from custombutton.h rename to src/custombutton.h diff --git a/icon.svg b/src/icon.svg similarity index 100% rename from icon.svg rename to src/icon.svg diff --git a/jsonparser.cpp b/src/jsonparser.cpp similarity index 100% rename from jsonparser.cpp rename to src/jsonparser.cpp diff --git a/jsonparser.h b/src/jsonparser.h similarity index 100% rename from jsonparser.h rename to src/jsonparser.h diff --git a/main.cpp b/src/main.cpp similarity index 100% rename from main.cpp rename to src/main.cpp diff --git a/mainwindow.cpp b/src/mainwindow.cpp similarity index 100% rename from mainwindow.cpp rename to src/mainwindow.cpp diff --git a/mainwindow.h b/src/mainwindow.h similarity index 100% rename from mainwindow.h rename to src/mainwindow.h diff --git a/mainwindow.ui b/src/mainwindow.ui similarity index 100% rename from mainwindow.ui rename to src/mainwindow.ui diff --git a/resources.qrc b/src/resources.qrc similarity index 100% rename from resources.qrc rename to src/resources.qrc diff --git a/statusdot.cpp b/src/statusdot.cpp similarity index 100% rename from statusdot.cpp rename to src/statusdot.cpp diff --git a/statusdot.h b/src/statusdot.h similarity index 100% rename from statusdot.h rename to src/statusdot.h diff --git a/kdiskinfo.ts b/translations/kdiskinfo.ts similarity index 100% rename from kdiskinfo.ts rename to translations/kdiskinfo.ts