diff --git a/qt/snigdhaosblackbox.cpp b/qt/snigdhaosblackbox.cpp index cd99047..417c3e6 100644 --- a/qt/snigdhaosblackbox.cpp +++ b/qt/snigdhaosblackbox.cpp @@ -1,19 +1,17 @@ -#include "snigdhaosblackbox.h" -#include "./ui_snigdhaosblackbox.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -const char* INTERNET_CHECK_URL = "https://snigdha-os.github.io/"; - - +#include "snigdhaosblackbox.h" // Includes the header file for the SnigdhaOSBlackbox class to use its declarations and functionality. +#include "./ui_snigdhaosblackbox.h" // Includes the auto-generated header file for the UI created using Qt Designer. + +#include // Used to manage checkbox UI components. +#include // Provides tools for debugging, logging information, and printing messages to the console. +#include // Allows access to file metadata, such as checking file modification times. +#include // Used to manage and interact with external processes (such as running commands in the terminal). +#include // Provides a scrollable area in the UI to allow navigation through large widgets. +#include // Creates temporary files that are automatically deleted after use. +#include // Provides functionality for scheduling tasks with delays or intervals. +#include // Handles responses from network requests (used to check internet connectivity). +#include // Provides POSIX functions, used here for process management (e.g., restarting the application). + +const char* INTERNET_CHECK_URL = "https://snigdha-os.github.io/"; // URL used to verify internet connectivity by sending a network request. SnigdhaOSBlackbox::SnigdhaOSBlackbox(QWidget *parent, QString state) : QMainWindow(parent)