Changeset View
Changeset View
Standalone View
Standalone View
kcm/kcm.cpp
Context not available. | |||||
46 | 46 | | |||
---|---|---|---|---|---|
47 | static QString createId() { return QStringLiteral("kcm")+QString::number(QCoreApplication::applicationPid()); } | 47 | static QString createId() { return QStringLiteral("kcm")+QString::number(QCoreApplication::applicationPid()); } | ||
48 | 48 | | |||
49 | KdeConnectKcm::KdeConnectKcm(QWidget *parent, const QVariantList&) | 49 | KdeConnectKcm::KdeConnectKcm(QWidget* parent, const QVariantList&) | ||
50 | : KCModule(KAboutData::pluginData(QStringLiteral("kdeconnect-kcm")), parent) | 50 | : KCModule(KAboutData::pluginData(QStringLiteral("kdeconnect-kcm")), parent) | ||
51 | , kcmUi(new Ui::KdeConnectKcmUi()) | 51 | , kcmUi(new Ui::KdeConnectKcmUi()) | ||
52 | , daemon(new DaemonDbusInterface(this)) | 52 | , daemon(new DaemonDbusInterface(this)) | ||
53 | , devicesModel(new DevicesModel(this)) | 53 | , devicesModel(new DevicesModel(this)) | ||
54 | , currentDevice(nullptr) | 54 | , currentDevice(nullptr) | ||
55 | { | 55 | { | ||
56 | KAboutData *about = new KAboutData(QStringLiteral("kdeconnect-kcm"), | 56 | KAboutData* about = new KAboutData(QStringLiteral("kdeconnect-kcm"), | ||
57 | i18n("KDE Connect Settings"), | 57 | i18n("KDE Connect Settings"), | ||
58 | QStringLiteral(KDECONNECT_VERSION_STRING), | 58 | QStringLiteral(KDECONNECT_VERSION_STRING), | ||
59 | i18n("KDE Connect Settings module"), | 59 | i18n("KDE Connect Settings module"), | ||
Context not available. |