40 #include <QtCore/QDebug>
41 #include <QtCore/QtPlugin>
44 #include <QPushButton>
46 using namespace Welcome::Internal;
48 WelcomePlugin::WelcomePlugin()
49 : m_welcomeMode(nullptr)
53 WelcomePlugin::~WelcomePlugin()
56 removeObject(m_welcomeMode);
57 m_welcomeMode->deleteLater();
67 bool WelcomePlugin::initialize(
const QStringList &arguments, QString *error_message)
70 Q_UNUSED(error_message)
72 QSettings *qSettings = Core::ICore::instance()->settings();
78 m_welcomeMode = new WelcomeMode(instUUID);
79 addObject(m_welcomeMode);
static ModeManager * instance()
void activateMode(const QString &id)