Skip to content

Commit

Permalink
docs(exec): update will go later on
Browse files Browse the repository at this point in the history
  • Loading branch information
eshanized committed May 9, 2024
1 parent 43f74f3 commit e9f96fe
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions qt/snigdhaosassistant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,16 @@
#include <QtNetwork/QNetworkReply>
#include <unistd.h>

/*
* a constant variable INTERNET_CHECK_URL which stores the URL to check for internet connectivity.
*/
const char* INTERNET_CHECK_URL = "https://snigdhaos.org";

/*
* constructor for the SnigdhaOSAssistant class.
* it sets up the window icon, initializes the user interface, modifies window flags,
* retrieves the last modified date of the application executable, and updates the application state.
*/
SnigdhaOSAssistant::SnigdhaOSAssistant(QWidget *parent, QString state)
: QMainWindow(parent)
, ui(new Ui::SnigdhaOSAssistant)
Expand All @@ -29,6 +37,9 @@ SnigdhaOSAssistant::SnigdhaOSAssistant(QWidget *parent, QString state)
updateState(state);
}

/*
* destructor for the SnigdhaOSAssistant class, responsible for cleaning up the user interface object.
*/
SnigdhaOSAssistant::~SnigdhaOSAssistant()
{
delete ui;
Expand Down

0 comments on commit e9f96fe

Please sign in to comment.