source/MainGUI.cpp
/**
 * Returns true if the name is the name of an GhostGraz admin.
 *
 * @param name Possible admin name.
 * @return True if the name is the name of an admin.
 */
Returns true if the name is the name of an GhostGraz admin.
@param name Possible admin name.
@return True if the name is the name of an admin.
Returns true if the name is the name of an GhostGraz admin . @param name Possible admin name . @return True if the name is the name of an admin .
bool MainGUI::isAdmin (const QString& username)
{
    if (admins.contains(username, Qt::CaseInsensitive))
    {
        return true;
    }
    else
    {
        return false;
    }
}
bool MainGUI :: isAdmin ( const QString & username ) { if ( admins . contains ( username , Qt :: CaseInsensitive ) ) { return true ; } else { return false ; } }
Returns true if the name is the name of an GhostGraz admin.
Returns true if the name is the name of an GhostGraz admin .