// Qt // Project #include "VServiceMode.h" #include "Logger.h" using namespace View; using namespace Gui; VIEW_DEF_CLASS(VServiceMode) /*! * \brief VDateTime::initConnections * Makes the necessary connections. Called inside VIEW_DEF_CLASS */ void VServiceMode::initConnections() {} /*! * \brief VServiceMode::doLogin * Called when user logs in to service mode * \param vPassword - (QString) the provided password */ void VServiceMode::doLogin(const QString &vPassword) { if (vPassword == _password) { isServiceMode(true); } else { emit didLoginFailed(); } }