17 #include "SystemImage.h"
18 #include <QDBusConnection>
19 #include <QDBusPendingCall>
21 SystemImage::SystemImage(QObject *parent)
26 void SystemImage::factoryReset()
28 const QDBusMessage msg = QDBusMessage::createMethodCall(QStringLiteral(
"com.canonical.SystemImage"),
29 QStringLiteral(
"/Service"),
30 QStringLiteral(
"com.canonical.SystemImage"),
31 QStringLiteral(
"FactoryReset"));
32 QDBusConnection::systemBus().asyncCall(msg);