manager.cpp
bool Manager::compare_usernames()
{
    QString current_user = getenv("USER");
    if(getUsername()!=current_user)
    {
        return false;
    }
    return true;
}
// Compare the entered username with the username that is returned by the Qt
Compare the entered username with the username that is returned by the Qt
Compare the entered username with the username that is returned by the Qt
bool Manager::compare_usernames()
{
    QString current_user = getenv("USER");
    if(getUsername()!=current_user)
    {
        return false;
    }
    return true;
}
bool Manager :: compare_usernames ( ) { QString current_user = getenv ( " " ) ; if ( getUsername ( ) != current_user ) { return false ; } return true ; }
Compare the entered username with the username that is returned by the Qt
Compare the entered username with the username that is returned by the Qt